/**
 * Polarix Ergotech – Brand theme
 * Colors: Gold #c6a66b | Dark Green #214333 | Charcoal Blue #303a43
 * Premium, industrial, corporate manufacturing.
 */

:root {
  --polarix-gold: #c6a66b;
  --polarix-gold-light: #d4b87d;
  --polarix-gold-dark: #a88b52;
  --polarix-gold-soft: rgba(198, 166, 107, 0.12);
  --polarix-dark-green: #214333;
  --polarix-dark-green-light: #2d5a47;
  --polarix-charcoal: #303a43;
  --polarix-charcoal-light: #3d4a55;
  --polarix-header-bg: #1e262e;
  --polarix-text: #1a1d21;
  --polarix-text-muted: #5c6166;
  --polarix-bg: #f8f7f4;
  --polarix-bg-warm: #faf9f6;
  --polarix-white: #ffffff;
  --polarix-border: #e8e6e2;
  --polarix-shadow: 0 4px 24px rgba(33, 67, 51, 0.06);
  --polarix-shadow-md: 0 8px 32px rgba(33, 67, 51, 0.08);
  --polarix-shadow-lg: 0 16px 48px rgba(33, 67, 51, 0.12);
  --polarix-radius: 12px;
  --polarix-radius-lg: 20px;
  --polarix-radius-xl: 24px;
  --transition: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --polarix-gradient-hero: linear-gradient(145deg, #252d36 0%, var(--polarix-charcoal) 35%, var(--polarix-dark-green) 100%);
  --polarix-gradient-cta: linear-gradient(145deg, var(--polarix-charcoal) 0%, var(--polarix-dark-green) 55%, #1a3528 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--polarix-text);
  background: var(--polarix-bg);
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(198, 166, 107, 0.08), transparent 45%),
    radial-gradient(ellipse 80% 50% at 100% 80%, rgba(33, 67, 51, 0.03), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.polarix-main {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(198, 166, 107, 0.25);
  color: var(--polarix-charcoal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--polarix-charcoal);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--polarix-dark-green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--polarix-gold);
}

/* Header – dark, refined; overlaps slider */
.polarix-header {
  background: var(--polarix-header-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow var(--transition);
}

.polarix-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, var(--polarix-gold) 50%, transparent 90%);
  opacity: 0.7;
}

.polarix-header .navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.polarix-header .navbar-toggler-icon {
  filter: invert(1);
}

.polarix-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: #fff !important;
  transition: opacity var(--transition);
}

.polarix-logo:hover {
  opacity: 0.95;
  color: #fff !important;
}

.polarix-logo-text {
  color: #fff;
}

.polarix-logo-text span {
  color: var(--polarix-gold);
  font-weight: 700;
}

.polarix-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

@media (min-width: 576px) {
  .polarix-logo-img {
    width: 52px;
    height: 52px;
  }
}

.nav-link-polarix {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-link-polarix:hover,
.nav-link-polarix:focus {
  color: var(--polarix-gold) !important;
  background: rgba(255, 255, 255, 0.06);
}

/* Mega menu */
.polarix-header .dropdown.position-static .mega-menu-panel {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  margin: 0;
  width: 100%;
  z-index: 1020;
}
@media (min-width: 768px) {
  .polarix-header .dropdown.position-static .mega-menu-panel {
    top: 76px;
  }
}
[x-cloak] { display: none !important; }
.mega-menu-wrapper {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-top: 2px solid rgba(198, 166, 107, 0.6);
  min-height: 280px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
/* Rounded bottom corners for a softer, modern dropdown */
.mega-menu-rounded-bottom {
  border-radius: 0 0 var(--polarix-radius-lg) var(--polarix-radius-lg);
  overflow: hidden;
}

.mega-menu-left {
  padding: 1.5rem 2rem;
}

.mega-menu-item {
  display: block;
  padding: 0.6rem 0;
  color: var(--polarix-charcoal);
  font-weight: 600;
  border-bottom: 1px solid rgba(48, 58, 67, 0.12);
  transition: color var(--transition), padding-left var(--transition);
}

.mega-menu-item:last-child {
  border-bottom: none;
}

.mega-menu-item:hover,
.mega-menu-item:focus {
  color: var(--polarix-dark-green);
  padding-left: 8px;
}

.mega-menu-preview {
  background: var(--polarix-charcoal);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.mega-menu-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.mega-menu-preview .mega-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.mega-menu-preview .mega-img.active {
  opacity: 1;
  z-index: 1;
}

/* Buttons */
.btn-polarix-primary {
  background: linear-gradient(135deg, var(--polarix-dark-green) 0%, var(--polarix-dark-green-light) 100%);
  color: var(--polarix-white) !important;
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(33, 67, 51, 0.25);
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
}

.btn-polarix-primary:hover {
  color: var(--polarix-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33, 67, 51, 0.35);
}

.btn-polarix-gold {
  background: linear-gradient(135deg, var(--polarix-gold) 0%, var(--polarix-gold-light) 100%);
  color: var(--polarix-charcoal) !important;
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(198, 166, 107, 0.35);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-polarix-gold:hover {
  color: var(--polarix-charcoal) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(198, 166, 107, 0.45);
}

/* Hero (inner pages) */
.polarix-hero {
  background: var(--polarix-gradient-hero);
  color: var(--polarix-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.polarix-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c6a66b' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.polarix-hero h1 {
  color: var(--polarix-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.polarix-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Products index – hero */
.polarix-products-hero {
  background: var(--polarix-gradient-cta);
  color: var(--polarix-white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.polarix-products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c6a66b' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.polarix-products-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.polarix-products-hero .polarix-section-label { color: var(--polarix-gold); }
.polarix-products-hero .polarix-section-label::after { background: linear-gradient(90deg, transparent, var(--polarix-gold), transparent); }
.polarix-products-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--polarix-white);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.polarix-products-hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Products index – category cards */
.polarix-category-card {
  border-radius: var(--polarix-radius-lg);
  overflow: hidden;
  background: var(--polarix-white);
  border: 1px solid var(--polarix-border);
  box-shadow: var(--polarix-shadow);
  transition: box-shadow var(--transition-smooth), border-color 0.3s ease, transform 0.35s ease;
}
.polarix-category-card:hover {
  box-shadow: var(--polarix-shadow-lg), 0 20px 48px -12px rgba(33, 67, 51, 0.15);
  border-color: rgba(198, 166, 107, 0.25);
  transform: translateY(-4px);
}
.polarix-category-card-img-wrap {
  position: relative;
  height: 100%;
  min-height: 240px;
}
.polarix-category-card-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.polarix-category-card:hover .polarix-category-card-img {
  transform: scale(1.06);
}
.polarix-category-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--polarix-charcoal) 0%, var(--polarix-dark-green) 100%);
}
.polarix-category-placeholder-icon {
  font-size: 4rem;
  color: var(--polarix-gold);
  opacity: 0.4;
}
.polarix-category-placeholder-1 { background: linear-gradient(145deg, #2d3a44 0%, var(--polarix-dark-green) 100%); }
.polarix-category-placeholder-2 { background: linear-gradient(145deg, var(--polarix-charcoal) 0%, #1e3528 100%); }
.polarix-category-placeholder-3 { background: linear-gradient(145deg, #252d36 0%, var(--polarix-charcoal) 100%); }
.polarix-category-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(33, 67, 51, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.polarix-category-card-body {
  padding: 2rem 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 992px) {
  .polarix-category-card-body { padding: 2.5rem 2.5rem 2.5rem 3rem; }
}
.polarix-category-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--polarix-charcoal);
  margin: 0 0 0.75rem;
  transition: color 0.3s ease;
}
.polarix-category-card:hover .polarix-category-card-title {
  color: var(--polarix-dark-green);
}
.polarix-category-card-desc {
  color: var(--polarix-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.polarix-subcategory-list {
  margin-top: auto;
}
.polarix-subcategory-list-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--polarix-gold);
  margin-bottom: 0.5rem;
}
.polarix-subcategory-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.polarix-subcategory-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--polarix-charcoal);
  background: var(--polarix-gold-soft);
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.polarix-subcategory-link:hover {
  background: var(--polarix-gold);
  color: var(--polarix-charcoal);
  border-color: var(--polarix-gold);
}
.polarix-subcategory-link-disabled {
  opacity: 0.7;
  cursor: default;
}

/* Products – e-commerce layout with left sidebar */
.polarix-products-with-sidebar {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, var(--polarix-bg) 0%, var(--polarix-bg-warm) 50%, var(--polarix-bg) 100%);
}
.polarix-products-sidebar-col {
  order: 1;
}
@media (min-width: 768px) {
  .polarix-products-sidebar-col {
    order: 0;
  }
}
.polarix-products-sidebar {
  position: sticky;
  top: 1.25rem;
}
.polarix-products-sidebar-inner {
  background: var(--polarix-white);
  border: 1px solid var(--polarix-border);
  border-radius: var(--polarix-radius-lg);
  padding: 0;
  box-shadow: 0 10px 40px rgba(33, 67, 51, 0.1), 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.polarix-products-sidebar-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(135deg, var(--polarix-dark-green) 0%, #1a2d22 50%, var(--polarix-charcoal) 100%);
  color: var(--polarix-white);
}
.polarix-products-sidebar-header > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.polarix-products-sidebar-icon {
  font-size: 1.35rem;
  color: var(--polarix-gold);
  opacity: 0.95;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.polarix-products-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.03em;
  color: var(--polarix-white);
}
.polarix-products-sidebar-subtitle {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.88;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
}
.polarix-products-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.1rem 1rem 1.35rem;
}
.polarix-products-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: var(--polarix-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 2px;
}
.polarix-products-sidebar-link:hover {
  background: var(--polarix-gold-soft);
  color: var(--polarix-charcoal);
}
.polarix-products-sidebar-link.active {
  background: linear-gradient(90deg, var(--polarix-gold-soft) 0%, rgba(198, 166, 107, 0.06) 100%);
  color: var(--polarix-dark-green);
  font-weight: 600;
  border-left: 3px solid var(--polarix-gold);
  padding-left: calc(1rem - 3px);
  margin-left: 3px;
  box-shadow: inset 0 0 0 1px rgba(198, 166, 107, 0.15);
}
.polarix-products-sidebar-link-icon {
  font-size: 0.9rem;
  color: var(--polarix-gold);
  opacity: 0.8;
  flex-shrink: 0;
}
.polarix-products-sidebar-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--polarix-gold);
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.polarix-products-sidebar-link:hover .polarix-products-sidebar-link-dot,
.polarix-products-sidebar-link.active .polarix-products-sidebar-link-dot {
  opacity: 1;
}
.polarix-products-sidebar-link-text {
  flex: 1;
}
.polarix-products-sidebar-link-all {
  font-weight: 600;
  color: var(--polarix-charcoal);
  margin-bottom: 0.35rem;
  padding: 0.75rem 1rem;
}
.polarix-products-sidebar-link-all.active {
  color: var(--polarix-dark-green);
}
.polarix-products-sidebar-link.disabled {
  color: var(--polarix-text-muted);
  cursor: default;
}
.polarix-products-sidebar-category {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--polarix-border);
}
.polarix-products-sidebar-cat-name {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--polarix-gold);
  padding: 0 1rem 0.45rem;
  margin-bottom: 0.2rem;
}
.polarix-products-sidebar-sub {
  list-style: none;
  padding: 0;
  margin: 0;
}
.polarix-products-sidebar-sub li {
  margin: 0;
}
.polarix-products-sidebar-sub .polarix-products-sidebar-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.polarix-products-sidebar-sub .polarix-products-sidebar-link.active {
  margin-left: 0;
  padding-left: calc(1rem - 3px);
  border-left: 3px solid var(--polarix-gold);
}

/* Products main area header */
.polarix-products-main-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--polarix-charcoal);
}
.polarix-products-count {
  font-size: 0.9rem;
}

/* Products grid (e-commerce cards) – 3 columns per row */
.polarix-products-grid {
  display: grid;
  gap: 1.5rem;
}
.polarix-products-grid-three {
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .polarix-products-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .polarix-products-grid-three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.polarix-product-card-ecom {
  background: var(--polarix-white);
  border: 1px solid var(--polarix-border);
  border-radius: var(--polarix-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(33, 67, 51, 0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.polarix-product-card-ecom:hover {
  box-shadow: 0 12px 32px rgba(33, 67, 51, 0.12), 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-5px);
  border-color: rgba(198, 166, 107, 0.35);
}
.polarix-product-card-ecom-img-wrap {
  display: block;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--polarix-charcoal) 0%, #1a2520 100%);
}
.polarix-product-card-ecom-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.polarix-product-card-ecom:hover .polarix-product-card-ecom-img-wrap img {
  transform: scale(1.06);
}
.polarix-product-card-ecom-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--polarix-charcoal) 0%, var(--polarix-dark-green) 100%);
}
.polarix-product-card-ecom-placeholder-icon {
  font-size: 3rem;
  color: var(--polarix-gold);
  opacity: 0.4;
}
.polarix-product-card-ecom-body {
  padding: 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  transition: border-top-color 0.3s ease;
}
.polarix-product-card-ecom:hover .polarix-product-card-ecom-body {
  border-top-color: rgba(198, 166, 107, 0.4);
}
.polarix-product-card-ecom-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--polarix-gold);
  margin-bottom: 0.4rem;
}
.polarix-product-card-ecom-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  color: var(--polarix-charcoal);
}
.polarix-product-card-ecom-title a {
  color: var(--polarix-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
}
.polarix-product-card-ecom-title a:hover {
  color: var(--polarix-gold);
}
.polarix-product-card-ecom-desc {
  font-size: 0.9rem;
  color: var(--polarix-text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
  flex: 1;
}
.polarix-product-card-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}
.polarix-product-card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
/* View details button – attractive outline style */
.btn-polarix-view {
  background: var(--polarix-white);
  color: var(--polarix-dark-green);
  border: 2px solid var(--polarix-gold);
  font-weight: 600;
  border-radius: var(--polarix-radius);
  padding: 0.5rem 1rem;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.btn-polarix-view:hover {
  background: var(--polarix-gold-soft);
  color: var(--polarix-charcoal);
  border-color: var(--polarix-gold-dark);
  box-shadow: 0 4px 12px rgba(198, 166, 107, 0.25);
  transform: translateY(-1px);
}
.polarix-product-card-ecom .btn-polarix-primary {
  background: var(--polarix-dark-green);
  border-color: var(--polarix-dark-green);
  color: #fff;
}
.polarix-product-card-ecom .btn-polarix-primary:hover {
  background: var(--polarix-dark-green-light);
  border-color: var(--polarix-dark-green-light);
  color: #fff;
}

/* Product detail (single product page with sidebar) */
.polarix-product-detail-card {
  background: var(--polarix-white);
  border: 1px solid var(--polarix-border);
  border-radius: var(--polarix-radius-lg);
  padding: 2rem;
  box-shadow: var(--polarix-shadow);
}
.polarix-product-detail-img-wrap {
  min-height: 280px;
  background: var(--polarix-charcoal);
}
.polarix-product-detail-img-wrap img {
  min-height: 280px;
  object-fit: cover;
}
.polarix-product-detail-placeholder {
  min-height: 280px;
  background: linear-gradient(145deg, var(--polarix-charcoal) 0%, var(--polarix-dark-green) 100%);
}
.polarix-product-detail-placeholder-icon {
  font-size: 4rem;
  color: var(--polarix-gold);
  opacity: 0.4;
}
.polarix-product-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--polarix-charcoal);
}
.polarix-product-detail-content p {
  margin-bottom: 0.75rem;
  color: var(--polarix-text);
}
.polarix-product-detail-content p:last-child {
  margin-bottom: 0;
}

/* Product detail – gallery */
.polarix-product-gallery-main {
  background: var(--polarix-charcoal);
  min-height: 280px;
}
.polarix-product-gallery-main img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.polarix-product-gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  background: none;
  cursor: pointer;
  border: 2px solid var(--polarix-border) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.polarix-product-gallery-thumb:hover,
.polarix-product-gallery-thumb.active {
  border-color: var(--polarix-gold) !important;
  box-shadow: 0 0 0 2px var(--polarix-gold-soft);
}
.polarix-product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product detail – spec table (Key attributes / Packaging and delivery) */
.polarix-product-spec {
  margin-top: 1.5rem;
}
.polarix-spec-table {
  font-size: 0.9rem;
  border: 1px solid var(--polarix-border);
  border-radius: var(--polarix-radius);
  overflow: hidden;
}
.polarix-spec-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--polarix-border);
  vertical-align: top;
}
.polarix-spec-table tr:last-child td {
  border-bottom: 0;
}
.polarix-spec-key {
  width: 40%;
  font-weight: 600;
  color: var(--polarix-charcoal);
  background: var(--polarix-bg);
}
.polarix-spec-value {
  color: var(--polarix-text);
}

/* Product detail – Dimensions & Layouts (optional section) */
.polarix-dimensions-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--polarix-charcoal);
  letter-spacing: 0.02em;
}
.polarix-dimensions-intro {
  font-size: 0.95rem;
  line-height: 1.55;
}
.polarix-dimensions-figure img {
  max-width: 100%;
  height: auto;
}
.polarix-dimensions-table {
  margin-bottom: 0;
}

/* Sections */
.polarix-section {
  padding: 5rem 0;
}

.polarix-section-alt {
  background: var(--polarix-white);
  box-shadow: 0 -1px 0 var(--polarix-border);
}

/* Section label – small accent line below */
.polarix-section-label {
  display: inline-block;
  letter-spacing: 0.12em;
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.polarix-section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--polarix-gold), transparent);
  border-radius: 2px;
}

.polarix-section-dark {
  background: var(--polarix-gradient-hero);
  color: var(--polarix-white);
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
}

.polarix-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c6a66b' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 20V40H20L40 20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.polarix-section-dark h2,
.polarix-section-dark .polarix-section-title {
  color: var(--polarix-white);
}

.polarix-section-dark .polarix-section-label::after {
  background: linear-gradient(90deg, transparent, var(--polarix-gold), transparent);
  opacity: 0.9;
}

.polarix-card {
  background: var(--polarix-white);
  border-radius: var(--polarix-radius);
  box-shadow: var(--polarix-shadow);
  overflow: hidden;
  transition: box-shadow var(--transition-smooth), transform 0.35s ease, border-color 0.3s ease;
  border: 1px solid var(--polarix-border);
}

.polarix-card:hover {
  box-shadow: var(--polarix-shadow-lg), 0 24px 56px -16px rgba(33, 67, 51, 0.18);
  transform: translateY(-4px);
  border-color: rgba(198, 166, 107, 0.25);
}

/* Home: Product category cards (premium look) */
.polarix-product-card {
  border-radius: var(--polarix-radius-lg);
  overflow: hidden;
  height: 100%;
  position: relative;
  border: 1px solid var(--polarix-border);
  box-shadow: var(--polarix-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color 0.3s ease;
}

.polarix-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--polarix-shadow-lg), 0 24px 52px -12px rgba(33, 67, 51, 0.18);
  border-color: rgba(198, 166, 107, 0.2);
}

.polarix-product-card .polarix-product-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.polarix-product-card .polarix-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.polarix-product-card:hover .polarix-product-img img {
  transform: scale(1.1);
}

.polarix-product-card .polarix-product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33, 67, 51, 0.5) 0%, transparent 45%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.polarix-product-card:hover .polarix-product-img::after {
  background: linear-gradient(to top, rgba(33, 67, 51, 0.35) 0%, transparent 50%);
}

.polarix-product-card .card-body {
  padding: 1.75rem 1.5rem 2rem;
  position: relative;
}

.polarix-product-card .card-body::after {
  content: 'Explore →';
  position: absolute;
  right: 1.5rem;
  bottom: 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--polarix-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.polarix-product-card:hover .card-body::after {
  opacity: 1;
  transform: translateX(0);
}

.polarix-product-card .card-title {
  font-size: 1.25rem;
  color: var(--polarix-charcoal);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.polarix-product-card:hover .card-title {
  color: var(--polarix-dark-green);
}

/* Why Choose Us – icon boxes */
.polarix-why-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.polarix-why-box:hover .polarix-why-icon {
  transform: scale(1.08);
  box-shadow: 0 14px 32px -8px rgba(198, 166, 107, 0.45);
}

.polarix-why-box {
  padding: 2rem 1.75rem;
  border-radius: 18px;
  background: var(--polarix-white);
  border: 1px solid var(--polarix-border);
  border-left: 3px solid transparent;
  height: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.polarix-why-box:hover {
  border-color: rgba(198, 166, 107, 0.35);
  border-left-color: var(--polarix-gold);
  box-shadow: 0 20px 48px -12px rgba(33, 67, 51, 0.12);
}

/* Timeline (About – Our Journey) */
.polarix-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.polarix-timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.polarix-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 3.5rem;
  top: 2.25rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--polarix-gold), var(--polarix-border));
  border-radius: 2px;
}
.polarix-timeline-marker {
  flex-shrink: 0;
  width: 4rem;
  min-height: 2rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.polarix-timeline-content {
  flex: 1;
  padding: 0.5rem 0 0;
}
.polarix-timeline-content .h6 { color: var(--polarix-charcoal); }

/* Process steps (Manufacturing) */
.polarix-process-step {
  padding: 1.75rem 1.5rem;
  border-radius: var(--polarix-radius);
  background: var(--polarix-white);
  border: 1px solid var(--polarix-border);
  border-left: 3px solid var(--polarix-gold);
  height: 100%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.polarix-process-step:hover {
  box-shadow: var(--polarix-shadow-md);
  border-color: rgba(198, 166, 107, 0.3);
}
.polarix-process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--polarix-gold-soft);
  color: var(--polarix-gold);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* Stats / Numbers section */
.polarix-stat-card {
  text-align: center;
  padding: 2rem 1.25rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.polarix-section-dark .polarix-stat-card:hover {
  transform: scale(1.05);
}

.polarix-stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.polarix-stat-card:last-child::after {
  display: none;
}

@media (max-width: 767px) {
  .polarix-stat-card::after {
    display: none;
  }
}

.polarix-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, var(--polarix-gold) 0%, var(--polarix-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--polarix-gold);
  letter-spacing: -0.02em;
}

.polarix-stat-label {
  font-size: 0.9rem;
  opacity: 0.92;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
}

/* Where We Excel – sector cards */
.polarix-sector-card {
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  background: var(--polarix-white);
  border: 1px solid var(--polarix-border);
  box-shadow: 0 4px 20px rgba(33, 67, 51, 0.04);
  transition: transform var(--transition-smooth), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
}

.polarix-sector-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--polarix-gold), var(--polarix-gold-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.polarix-sector-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px -12px rgba(33, 67, 51, 0.15);
  border-color: rgba(198, 166, 107, 0.4);
}

.polarix-sector-card:hover::before {
  transform: scaleX(1);
}

.polarix-sector-card .polarix-sector-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.polarix-sector-card:hover .polarix-sector-icon {
  transform: scale(1.05);
}

.polarix-sector-card .card-body {
  padding: 2.25rem 2rem;
}

/* Section headings */
.polarix-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.polarix-section-subtitle {
  color: var(--polarix-text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA block – premium */
.polarix-cta-block {
  border-radius: var(--polarix-radius-xl);
  overflow: hidden;
  position: relative;
  padding: 5rem 2rem;
  background: var(--polarix-gradient-cta);
  box-shadow: 0 24px 56px -12px rgba(33, 67, 51, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.polarix-cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(198, 166, 107, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.polarix-cta-block .btn-polarix-gold {
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Manufacturing section visual block */
.polarix-manufacturing-visual {
  height: 340px;
  background: var(--polarix-gradient-hero);
  border-radius: var(--polarix-radius-lg);
  box-shadow: var(--polarix-shadow-lg), 0 20px 50px -15px rgba(33, 67, 51, 0.25);
  position: relative;
  overflow: hidden;
}

.polarix-manufacturing-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c6a66b' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='10' cy='10' r='1.5'/%3E%3Ccircle cx='50' cy='50' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Footer – corporate style (dark, multi-column, newsletter, scroll-top) */
.polarix-footer {
  background: var(--polarix-header-bg);
  color: rgba(255, 255, 255, 0.88);
  padding: 0;
  position: relative;
  font-size: 0.95rem;
}

.polarix-footer-top {
  padding: 3rem 0 2.5rem;
}

.polarix-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.polarix-footer-brand:hover {
  color: #fff;
  opacity: 0.95;
}

.polarix-footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.polarix-footer-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.polarix-footer-intro {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
}

.polarix-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0;
  border: 0;
}

.polarix-footer-main {
  padding: 3rem 0;
}

.polarix-footer .polarix-footer-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.polarix-footer a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.polarix-footer a:hover {
  color: var(--polarix-gold);
}

.polarix-footer-contact-item {
  margin-bottom: 1rem;
}

.polarix-footer-contact-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.polarix-footer-contact-value {
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.polarix-footer-contact-link {
  text-decoration: underline;
  font-size: 0.9rem;
}

.polarix-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.polarix-footer-links li {
  margin-bottom: 0.6rem;
}

.polarix-footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.polarix-footer-newsletter {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--polarix-radius);
  padding: 2rem;
}

.polarix-footer-newsletter-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.polarix-footer-newsletter-input-wrap {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 1rem;
}

.polarix-footer-newsletter-input {
  flex: 1;
  border: none;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  color: var(--polarix-charcoal);
}

.polarix-footer-newsletter-input::placeholder {
  color: #999;
}

.polarix-footer-newsletter-btn {
  width: 52px;
  flex-shrink: 0;
  background: var(--polarix-charcoal);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.polarix-footer-newsletter-btn:hover {
  background: var(--polarix-gold);
  color: var(--polarix-charcoal);
  transform: scale(1.02);
}

.polarix-footer-newsletter-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.polarix-footer-newsletter-check input {
  margin-top: 0.2rem;
}

.polarix-footer-newsletter-success {
  color: #86efac;
  font-size: 0.9rem;
}

.polarix-footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.polarix-footer-copy {
  color: rgba(255, 255, 255, 0.5);
}

.polarix-footer-legal {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  text-decoration: none;
}

.polarix-footer-legal:hover {
  color: var(--polarix-gold);
}

.polarix-footer-legal-sep {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.35);
}

.polarix-footer-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--polarix-gold);
  color: var(--polarix-charcoal);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(198, 166, 107, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.polarix-footer-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.polarix-footer-scroll-top:hover {
  background: var(--polarix-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(198, 166, 107, 0.5);
}

/* Page title bar */
.polarix-page-title {
  background: var(--polarix-gradient-hero);

  color: var(--polarix-white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.polarix-page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c6a66b' fill-opacity='0.04'%3E%3Ccircle cx='16' cy='16' r='1'/%3E%3Ccircle cx='4' cy='4' r='0.5'/%3E%3Ccircle cx='28' cy='28' r='0.5'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.polarix-page-title .container {
  position: relative;
  z-index: 1;
}

.polarix-page-title h1 {
  color: var(--polarix-white);
  margin: 0 0 0.35rem 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.polarix-page-title p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Forms */
.form-control {
  border-radius: 10px;
  border-color: var(--polarix-border);
  padding: 0.65rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--polarix-gold);
  box-shadow: 0 0 0 3px rgba(198, 166, 107, 0.2);
}

.form-label {
  font-weight: 500;
  color: var(--polarix-charcoal);
  margin-bottom: 0.4rem;
}

/* Mobile drawer (mega menu) */
.mega-drawer {
  background: var(--polarix-white);
  max-height: 80vh;
  overflow-y: auto;
}

.mega-drawer .mega-menu-item {
  padding: 0.75rem 1rem;
}

/* Slider section: pull up so header overlaps it */
.polarix-slider-under-header {
  margin-top: -72px;
  padding-top: 0;
}

@media (min-width: 768px) {
  .polarix-slider-under-header {
    margin-top: -76px;
  }
}

/* --- Hero Slider --- */
.polarix-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 620px;
  border-radius: 0;
  overflow: hidden;
  background: var(--polarix-charcoal);
  box-shadow: 0 20px 60px -16px rgba(0, 0, 0, 0.3);
}

.polarix-slides-container {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.polarix-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.polarix-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
  transition: transform 7s ease, filter 0.5s ease;
}

.polarix-slide.active img {
  transform: scale(1.08);
  filter: brightness(1);
}

.polarix-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 38, 46, 0.85) 0%, rgba(33, 67, 51, 0.3) 40%, transparent 60%);
  pointer-events: none;
}

.polarix-slide-content {
  position: absolute;
  bottom: 48px;
  left: 56px;
  right: 56px;
  z-index: 5;
  color: var(--polarix-white);
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  max-width: 600px;
  pointer-events: none;
}

.polarix-slide-content * {
  pointer-events: auto;
}

.polarix-slide.active .polarix-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.polarix-slide-badge {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--polarix-gold), var(--polarix-gold-dark));
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 16px rgba(198, 166, 107, 0.35);
}

.polarix-slide-content h1 {
  font-size: clamp(1.6rem, 3.8vw, 2.85rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--polarix-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.polarix-slide-content p {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-polarix-slider-primary {
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  background: var(--polarix-white);
  color: var(--polarix-charcoal);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-polarix-slider-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  color: var(--polarix-charcoal);
}

.btn-polarix-slider-glass {
  padding: 14px 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--polarix-white);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-polarix-slider-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--polarix-white);
}

.polarix-nav-btn {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: polarixSliderFadeIn 1s ease forwards 0.5s;
}

.polarix-nav-btn svg {
  width: 24px;
  height: 24px;
}

.polarix-nav-btn:hover {
  background: var(--polarix-white);
  color: var(--polarix-gold);
  transform: scale(1.1);
}

@media (min-width: 769px) {
  .polarix-prev-btn {
    left: 20px;
    bottom: 28px;
  }
  .polarix-next-btn {
    right: 20px;
    bottom: 28px;
  }
}

/* Tablet: slightly smaller height for proportion */
@media (max-width: 991px) and (min-width: 769px) {
  .polarix-slider-wrapper {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .polarix-slider-wrapper {
    height: 380px;
    min-height: 320px;
  }
  .polarix-nav-btn {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.4);
  }
  .polarix-nav-btn:hover {
    background: var(--polarix-gold);
    color: white;
  }
  .polarix-prev-btn { left: 10px; }
  .polarix-next-btn { right: 10px; }
  .polarix-slide-content {
    left: 20px;
    right: 20px;
    bottom: 65px;
  }
  .polarix-slide-content h1 {
    font-size: 1.35rem;
  }
  .polarix-slide-content p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  .polarix-slider-indicators {
    bottom: 12px;
  }
}

.polarix-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.polarix-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--polarix-gold), var(--polarix-dark-green));
  width: 0%;
  transition: width 0.03s linear;
}

.polarix-slider-indicators {
  position: absolute;
  bottom: 18px;
  right: 28px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

@media (max-width: 768px) {
  .polarix-slider-indicators {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 20px;
  }
}

.polarix-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.polarix-slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.polarix-slider-dot.active {
  background: var(--polarix-white);
  width: 30px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.2);
}

@keyframes polarixSliderFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Adapts to Your Vision: peek carousel with gaps --- */
.polarix-vision-slider {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
  padding: 0 0.5rem;
}

.polarix-vision-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 0.25rem;
}

.polarix-vision-slide {
  flex: 0 0 76%;
  max-width: 900px;
  height: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  opacity: 0.55;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.polarix-vision-slide.active {
  opacity: 1;
  z-index: 1;
}

.polarix-vision-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polarix-vision-nav {
  position: absolute;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(42, 52, 61, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.polarix-vision-nav svg {
  width: 22px;
  height: 22px;
}

.polarix-vision-nav:hover {
  background: var(--polarix-gold);
  color: var(--polarix-charcoal);
}

.polarix-vision-prev { left: calc(12% + 12px); }
.polarix-vision-next { right: calc(12% + 12px); }

.polarix-vision-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.polarix-vision-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.polarix-vision-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.polarix-vision-dot.active {
  background: var(--polarix-gold);
  width: 26px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .polarix-vision-slider {
    height: 50vh;
    min-height: 300px;
    padding: 0 0.25rem;
  }
  .polarix-vision-track {
    gap: 12px;
  }
  .polarix-vision-slide {
    flex: 0 0 82%;
  }
  .polarix-vision-nav {
    width: 42px;
    height: 42px;
    bottom: 16px;
  }
  .polarix-vision-prev { left: 8px; }
  .polarix-vision-next { right: 8px; }
}

/* Inner page content (About, etc.) */
.polarix-section .lead {
  font-size: 1.15rem;
  color: var(--polarix-text);
  line-height: 1.7;
}

.polarix-section ul:not(.polarix-footer-links):not(.list-unstyled) {
  padding-left: 1.35rem;
}

.polarix-section ul:not(.polarix-footer-links):not(.list-unstyled) li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Utilities */
.text-polarix-gold { color: var(--polarix-gold) !important; }
.text-polarix-green { color: var(--polarix-dark-green) !important; }
.bg-polarix-charcoal { background-color: var(--polarix-charcoal) !important; }
.bg-polarix-green { background-color: var(--polarix-dark-green) !important; }
