@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ==========================================================================
   VARIABLES & BASE RESET
   ========================================================================== */
:root {
  --brand-green: #28cf75;
  --brand-green-hover: #21b363;
  --brand-dark: #1a1a1a;
  --brand-gray: #f5f5f5;
  --brand-border: #e5e7eb;
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100%;
  width: 100%;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
p,
span,
li,
a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   CUSTOM UTILITIES (Tailwind Equivalents)
   ========================================================================== */
.color-softcel {
  color: #8CC63F !important;
}

.color-softcot {
  color: #F5A623 !important;
}

.bg-deocell {
  background-color: #1E3A8A !important;
}

.color-deocell {
  color: #1E3A8A !important;
}

.color-zinccel {
  color: #00A651 !important;
}

.color-warmcel {
  color: #F58220 !important;
}

.color-biosliq {
  color: #6B21A8 !important;
}

.color-amgreen {
  color: #059669 !important;
}

.color-mobilon {
  color: #10B981 !important;
}

.bg-decacel {
  background-color: #D97706 !important;
}

.color-decacel {
  color: #D97706 !important;
}

.fs-8px {
  font-size: 8px !important;
}

.fs-9px {
  font-size: 9px !important;
}

.fs-10px {
  font-size: 10px !important;
}

.fs-xs {
  font-size: 0.75rem !important;
}

.tracking-wide {
  letter-spacing: 0.025em !important;
}

.tracking-wider {
  letter-spacing: 0.05em !important;
}

.tracking-widest {
  letter-spacing: 0.1em !important;
}

.py-1-5 {
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
}

.py-0-5 {
  padding-top: 0.125rem !important;
  padding-bottom: 0.125rem !important;
}

.px-2-5 {
  padding-left: 0.625rem !important;
  padding-right: 0.625rem !important;
}

/* ==========================================================================
   PAGE LOADER
   ========================================================================== */
#page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-content {
  text-align: center;
}

.loader-brand-logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.08em;
  display: flex;
  gap: 0.1em;
}

.loader-brand-logo span {
  animation: loaderFadeIn 0.05s ease forwards;
  opacity: 0;
}

.loader-progress-track {
  width: 200px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 99px;
  margin: 1.5rem auto 0.75rem;
  overflow: hidden;
}

.loader-progress-fill {
  height: 100%;
  background: var(--brand-green);
  border-radius: 99px;
  width: 0%;
  transition: width 0.05s linear;
}

.loader-percentage-counter {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  transition: background 0.1s ease, backdrop-filter 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid #f3f4f6;
}

#main-header.glass {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10), 0 1.5px 0 rgba(255, 255, 255, 0.6) inset !important;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 1.5rem;
}

.header-logo {
  width: 150px; height: auto;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
}

.hs-nav-link,
.nav-link {
  font-size: 0.937rem;
  font-weight: 500;
  color: #4b5563 !important;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  background: transparent;
}

.hs-nav-link:hover,
.hs-nav-link.active,
.nav-link:hover,
.nav-link.active {
  color: var(--brand-green) !important;
}

.navbar {
  background-color: transparent !important;
  box-shadow: none !important;
}

.navbar-toggler {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem 0.5rem;
    border-top: 1px solid #f3f4f6;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-hs-primary,
.btn-primary {
  background-color: var(--brand-green);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-hs-primary:hover,
.btn-primary:hover {
  background-color: var(--brand-green-hover);
  color: #fff;
}

.btn-hs-primary-lg,
.btn-primary-large {
  background-color: var(--brand-green);
  color: #fff;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-hs-primary-lg:hover,
.btn-primary-large:hover {
  background-color: var(--brand-green-hover);
  color: #fff;
}

/* ==========================================================================
   BRANDS PAGE: HERO
   ========================================================================== */
.brands-hero {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, #111827 0%, var(--brand-dark) 50%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
  overflow: hidden;
  color: white;
}

.brands-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.brands-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.brands-hero p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 3rem;
}

.brands-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.brand-circles {
  display: flex;
}

.brand-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #111827;
  margin-left: -20px;
  object-fit: cover;
}

.brand-circle:first-child {
  margin-left: 0;
}

.brands-stat-text {
  text-align: left;
}

.brands-stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.brands-stat-label {
  font-size: 0.875rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .brands-hero h1 {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   BRANDS PAGE: TABS
   ========================================================================== */
.brands-tabs-section {
  padding: 4.25rem 0 2.75rem;
  background: #ffffff;
  border-bottom: none;
}

.brands-tabs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1080px;
  margin: 0 auto;
}

.brand-tab-btn {
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #ececec;
  background: #f7f7f5;
  color: #b4b4b4;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-tab-btn:hover {
  transform: translateY(-1px);
  background: #f0f0ef;
  border-color: #e4e4e4;
  color: #8e8e8e;
}

.brand-tab-btn.active {
  background: #22d866;
  color: #111827;
  border-color: #22d866;
  box-shadow: 0 10px 24px rgba(34, 216, 102, 0.25);
}

/* ==========================================================================
   BRANDS PAGE: SHOWCASE
   ========================================================================== */
.brand-showcase-section {
  padding: 2rem 0 5.5rem;
  background: #ffffff;
}

.brand-showcase-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 4.5rem;
  align-items: center;
}

#brand-info-panel {
  max-width: 430px;
}

.brand-logo-image {
  width: min(160px, 100%);
  height: auto;
  margin-bottom: 1.35rem;
  display: block;
}

.brand-showcase-title {
  font-size: clamp(2.25rem, 3.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 1.35rem;
  color: #1f2937;
  max-width: 430px;
}

.brand-showcase-desc {
  color: #7f7f7f;
  line-height: 1.78;
  font-size: 0.98rem;
  max-width: 390px;
}

/* -----------------------------------------
   The Grey Box & Peek-out Images
----------------------------------------- */
#brand-showcase-cards {
  background: #f8f9fa;
  /* Light grey background */
  border-radius: 32px;
  padding: 0 40px 40px 40px;
  /* 0 top padding is mandatory */
  margin-top: 70px;
  /* Creates physical space for the pop-out */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* CRITICAL: Forces content to stick to the top edge, preventing it from sinking inside */
  justify-content: flex-start !important;
  /* CRITICAL: Ensures the peek-out images aren't cut off */
  overflow: visible !important;
}

.showcase-items-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  overflow: visible !important;
}

.showcase-grid-layout {
  display: grid;
  justify-content: center;
  align-items: start;
  /* CRITICAL: Anchors both items from the top so labels align horizontally */
  position: relative;
  margin-top: -60px;
  /* Pulls the images out of the box */
  width: 100%;
  z-index: 10;
  /* Ensures images sit above the grey box */
}

/* CRITICAL: Fixed sizes for absolute consistency across 1, 2, or 3 items */
.grid-1 {
  grid-template-columns: 170px;
}

.grid-2 {
  grid-template-columns: repeat(2, 170px);
  gap: 60px;
}

.grid-3 {
  grid-template-columns: repeat(3, 170px);
  gap: 30px;
}

/* Vertical divider for 2-column layouts */
.showcase-grid-layout.has-divider::after {
  content: '';
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 140px;
  background-color: #e5e7eb;
  z-index: -1;
  /* Puts divider behind the text */
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  position: relative;
}

/* Keep text block vertically consistent across all cards */
.showcase-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 0;
}

/* Base Showcase Image Box */
.showcase-img-box {
  width: 100%;
  aspect-ratio: 1/1;
  background: #ffffff00;
  border-radius: 32px;
  padding: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  /* Centers images by default */
  justify-content: center;
  
}

.showcase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Default for objects (yarn, fiber, garments) */
  border-radius: 20px;
  display: block;
  mix-blend-mode: multiply;
  /* Blends white backgrounds away */
}

/* Fabric Overrides (Texture swatches fill the box) */
.showcase-img-box--fabric img {
  object-fit: cover;
}

/* Garment Overrides (Pulls t-shirt to the top for vertical alignment) */
.showcase-img-box--garment {
  align-items: flex-start;
  margin-top: -30px;
}

.showcase-img-box--garment img {
  object-position: top center;
}
/* Typography */
.showcase-label-main {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.3;
}

.showcase-label-sub {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
  width: 100%;
}

.showcase-bottom-text {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
  padding-top: 25px;
  border-top: 1px solid #e5e7eb;
  width: 100%;
  max-width: 90%;
  margin: 20px auto 0 auto;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
  .brand-showcase-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #brand-info-panel {
    max-width: 100%;
    text-align: center;
  }

  #brand-logo-container {
    justify-content: center !important;
  }

  .brand-showcase-title,
  .brand-showcase-desc {
    margin-left: auto;
    margin-right: auto;
  }

  #brand-showcase-cards {
    margin-top: 80px;
    padding: 0 20px 40px 20px;
  }

  .showcase-grid-layout {
    grid-template-columns: 180px !important;
    /* Stack vertically on mobile */
    gap: 40px;
  }

  .showcase-grid-layout.has-divider::after {
    display: none;
  }
}

/* ==========================================================================
   BRANDS PAGE: FEATURES (Flexbox Aligned & Centered)
   ========================================================================== */
.brand-features-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, rgba(9, 9, 9, 0.96) 0%, rgba(17, 17, 17, 0.95) 55%, rgba(7, 44, 24, 0.95) 100%) !important;
  color: #ffffff;
  position: relative;
  isolation: isolate;
}

.brand-features-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(34, 216, 102, 0.48), transparent 18%),
    radial-gradient(circle at 16% 90%, rgba(34, 216, 102, 0.38), transparent 16%),
    radial-gradient(circle at 78% 10%, rgba(34, 216, 102, 0.25), transparent 18%);
  pointer-events: none;
  z-index: -1;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.features-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  display: block;
}

.features-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.1vw, 2.95rem);
  font-weight: 700;
}

/* Flexbox Row Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start !important;
  /* Forces strict top alignment */
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Unified Item Reset */
.feature-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  text-align: center;
  flex: 0 1 calc(20% - 24px);
  min-width: 180px;
}

/* Unified SVG and Image Box Icons — clean, no circle background */
.brand-features-section .icon-box,
.brand-features-section .feature-icon,
.icon-box,
.feature-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px auto !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  color: var(--brand-green);
}

.icon-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.feature-icon svg {
  width: 32px !important;
  height: 32px !important;
  color: #ffffff;
  stroke: #ffffff;
}

/* Standardized Typography Alignment */
.feature-item h3,
.feature-item h4 {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  width: 100% !important;
}

.feature-item p {
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0 !important;
  text-align: center !important;
}

@media (max-width: 991px) {
  .features-grid {
    gap: 40px 20px;
  }

  .feature-item {
    flex: 0 1 calc(33.333% - 20px);
  }
}

@media (max-width: 767px) {
  .feature-item {
    flex: 0 1 calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .feature-item {
    flex: 0 1 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   BRANDS PAGE: APPLICATIONS
   ========================================================================== */
.applications-section {
  padding: 6rem 0;
  background-color: #ffffff;
  text-align: center;
}

.applications-header {
  margin-bottom: 4rem;
}

.applications-title {
  color: #202124;
  font-size: clamp(2rem, 3vw, 2.95rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.applications-desc {
  color: #90949a;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.applications-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.applications-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.applications-grid::-webkit-scrollbar {
  display: none;
}

.apps-nav-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  z-index: 2;
}

.apps-nav-btn:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  transform: scale(1.08);
}

.apps-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.app-card {
  flex: 0 0 auto;
  width: 188px;
  height: 248px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background: #f4f5f6;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.10);
  transition: transform 0.25s ease;
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  border-radius: 18px;
  display: block;
}

.app-card:hover {
  transform: translateY(-4px);
}

.app-card:hover img {
  transform: scale(1.04);
}

.app-card-label,
.applications-section .app-card-label {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: #202124;
  border-radius: 999px;
  padding: 6px 18px;
  line-height: 1.2;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Specific Application JS Layout IDs */
#apps-grid-centered {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
  overflow-x: visible !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

#apps-grid-centered .app-card {
  flex: 0 0 auto !important;
  width: 190px !important;
}

#apps-grid-layout-6-6 {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  flex-wrap: nowrap !important;
}

#apps-grid-layout-6-6 .app-card {
  flex: 1 1 50% !important;
  max-width: 860px !important;
  width: 100% !important;
}

#apps-grid-layout-8 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

#apps-grid-layout-8 .app-card {
  flex: 0 1 auto !important;
  width: 100% !important;
  max-width: 520px !important;
}

.applications-grid-large {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  overflow: visible;
}

.app-card.large-card,
.applications-grid-large .app-card.large-card {
  width: 320px;
  height: 380px;
}

@media (max-width: 767.98px) {

  .app-card,
  .app-card.large-card {
    width: 148px;
    height: 200px;
  }

  .apps-nav-btn {
    width: 36px;
    height: 36px;
  }

  .applications-section .app-card-label {
    padding: 8px 16px !important;
    font-size: 13px !important;
    bottom: 12px !important;
  }
}

/* ==========================================================================
   OTHER PAGES (Philosophy, Hero Layouts, Pipelines)
   ========================================================================== */
.philosophy-grid-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.philosophy-container-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10rem;
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-desc {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.metrics-row {
  display: flex;
  gap: 3rem;
}

.metric-block {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-green);
}

.metric-lbl {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.philosophy-section-matrix {
  position: relative;
  width: 100%;
  padding: 6rem 0;
}

.philosophy-matrix-pillar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  z-index: 1;
}

.philosophy-backdrop-box {
  position: absolute;
  right: -6rem;
  top: 15%;
  bottom: 15%;
  width: 100%;
  background-color: #0e4f2a;
  border-radius: 20px;
  z-index: 0;
  height: 67%;
}

.card-philosophy,
.card-advantages {
  position: relative;
  z-index: 10;
  background-color: #e5ede3;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.111);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  flex: 2 2 0;
}

.card-philosophy {
  min-height: 260px;
  margin-left: -7rem;
  z-index: 11;
  width: 350px;
}

.card-advantages {
  min-height: 320px;
  margin-top: -4rem;
  width: 250px;
  font-family: "Poppins", Helvetica;
  font-weight: 500;
  color: var(--brand-dark);
  font-size: 20px;
}

.card-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.philosophy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #555555;
}

.phil-bullet {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #15803d;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.phil-keyword {
  color: #15803d;
  font-weight: 700;
}

.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1rem;
}

.adv-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555555;
  align-items: center;
}

.adv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.25rem;
}

.card-img-wrap {
  position: relative;
  z-index: 10;
  width: 155.27px;
  height: 157.46px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-philosophy:hover,
.card-advantages:hover,
.card-img-wrap:hover {
  transform: scale(1.02);
}

@media (max-width: 1024px) {
  .philosophy-container-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy-section-matrix {
    padding: 1.5rem 0;
  }

  .philosophy-matrix-pillar {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .philosophy-section-matrix {
    padding: 1rem 0;
  }

  .philosophy-matrix-pillar {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .card-philosophy,
  .card-advantages {
    margin: 0;
    min-height: auto;
    width: 100%;
    padding: 2rem;
  }

  .card-img-wrap {
    height: 280px;
    width: 100%;
  }

  .philosophy-backdrop-box {
    width: 100%;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 1rem;
  }
}

/* ==========================================================================
   OTHER PAGES: Products, Contact, Downloads, Legal
   ========================================================================== */

/* Products */
.products-hero-section {
  padding: 9rem 0 3rem;
  background: #fff;
}

.products-hero {
  position: relative;
  height: 550px;
  background-color: var(--brand-dark);
  color: white;
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.products-hero-nav {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  color: #9ca3af;
}

.products-hero-nav span.active {
  color: var(--brand-green);
  font-weight: 600;
}

.products-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  max-width: 800px;
  line-height: 1.1;
}

.products-hero p {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 600px;
  margin-bottom: 4rem;
}

.products-hero-stats {
  display: flex;
  gap: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.product-stat {
  text-align: center;
}

.product-stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.product-stat p {
  color: #9ca3af;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.products-layout-section {
  padding: 6rem 0;
  background-color: #f9fafb;
}

.products-main-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
}

.products-sidebar-nav {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 120px;
}

.product-sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.product-sidebar-item:hover,
.product-sidebar-item.active {
  color: var(--brand-green);
  background-color: #f0fdf4;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 430px;
  display: block;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2rem;
}

.product-card-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact */
.contact-hero {
  position: relative;
  height: 400px;
  background-image: url('https://images.unsplash.com/photo-1596541223130-5d31a73fb6c6?q=80&w=2071&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  border-radius: 1.5rem;
  margin-top: 120px;
  margin-bottom: 4rem;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 3rem;
  max-width: 600px;
}

.contact-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-hero-content p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.contact-info-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brand-dark);
}

.contact-info-section>p {
  color: #4b5563;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  background-color: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  color: #4b5563;
  line-height: 1.6;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: #374151;
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-green);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 222, 102, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-map-wrapper {
  width: 100%;
  height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 6rem;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ */
.faq-section {
  max-width: 1100px;
  margin: 0 auto 6rem;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--brand-dark);
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--brand-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 1.5rem;
  color: #4b5563;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Downloads */
.downloads-header-section {
  padding-top: 150px;
  padding-bottom: 3rem;
  background-color: #ffffff;
}

.downloads-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.downloads-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-dark);
  flex-shrink: 0;
}

.downloads-description {
  color: #6b7280;
  line-height: 1.6;
  max-width: 700px;
  font-size: 1rem;
}

.downloads-grid-section {
  padding-bottom: 6rem;
  background-color: #ffffff;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.download-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 320px;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.download-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.download-card:hover img {
  transform: scale(1.05);
}

.download-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  pointer-events: none;
}

.download-card-title {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
}

/* Legal Pages */
.terms-privacy-page-section,
.terms-privacy-hero-section {
  padding-top: 150px;
  padding-bottom: 2rem;
  background-color: #ffffff;
}

.terms-privacy-content-section {
  padding-bottom: 5rem;
  background-color: #ffffff;
}

.terms-privacy-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
}

.privacy-policy-subtitle {
  color: #4b5563;
  line-height: 1.6;
  max-width: 800px;
}

.terms-privacy-content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.terms-privacy-sidebar {
  position: sticky;
  top: 100px;
}

.terms-privacy-sidebar-nav {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1rem;
}

.terms-privacy-sidebar-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  color: #4b5563;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.terms-privacy-sidebar-link:hover,
.terms-privacy-sidebar-link.active {
  color: var(--brand-green);
  background: #ffffff;
  border-radius: 8px;
}

.terms-privacy-content-block {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.terms-privacy-content-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.terms-privacy-content-block p {
  color: #4b5563;
  line-height: 1.75;
  font-size: 0.937rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#main-footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1f2937;
}

.footer-grid-columns {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-corporate-profile .footer-logo {
  height: 45px;
  margin-bottom: 1.5rem;
}

.footer-corporate-profile p {
  font-size: 0.937rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-nav-column h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-nav-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-nav-column a {
  font-size: 0.937rem;
  transition: color 0.2s ease;
}

.footer-nav-column a:hover {
  color: var(--brand-green);
}

.contact-meta-link {
  color: #ffffff;
}

.address-paragraph {
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-copyright-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #1f2937;
  font-size: 0.875rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .footer-grid-columns {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-copyright-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}








#main-header.is-floating .header-logo { display: none; transition: height 0.1s; }


/* GLOBALLY FORCE BUTTON TEXT TO BLACK */
.btn-hs-primary, 
.btn-hs-primary:hover, 
.btn-hs-primary-lg, 
.btn-hs-primary-lg:hover, 
.btn-primary, 
.btn-primary:hover, 
.btn-primary-large, 
.btn-primary-large:hover {
    color: #000 !important;
}
