.kb-page {
  margin: 0;
  background: rgb(245, 245, 245);
  font-family: "IBM Plex Sans", sans-serif;
  color: rgb(45, 55, 72);
  transition: background 0.4s, color 0.4s;
  padding-top: 64px;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 20px;
    background: rgba(245, 245, 245, 0.91);;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(245, 245, 245, 0.91);;
    transition: all 0.4s ease;
}

/* Optional: shrink on scroll */
.main-header.scrolled {
    background: rgba(245, 245, 245, 0.91);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(216, 221, 229, 0.5);
}



/* Optional: logo inside header */
.main-header .logo {
    height: 48px; /* adjust as needed */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav .nav-item {
    color: rgb(90, 101, 119);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    padding-bottom: 2px;
}

.main-header[data-theme="dark"] .main-nav .nav-item {
  color: rgb(90, 101, 119);
}

.main-header.scrolled .main-nav .nav-item {
  color: rgb(90, 101, 119);
}

/* Optional: hover effect */
.main-header.scrolled .main-nav .nav-item:hover {
    color: #000; /* change color on hover */
    border-bottom-color: #000; /* underline on hover */
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-buttons .kb-btn {
    padding: 8px 20px !important;
    border-radius: 6px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    line-height: normal;
}

/* Login button style */
.header-buttons .login-kb-btn {
    border: 1px solid rgb(216, 221, 229) !important;
    background: transparent;
    color: rgb(45, 55, 72) !important;
}

.main-header[data-theme="dark"] .header-buttons .login-kb-btn {
  color: rgb(90, 101, 119) !important;
}


.main-header.scrolled .header-buttons .login-kb-btn {
  color: rgb(45, 55, 72) !important;
}
/* Register button style */
.header-buttons .register-kb-btn {
    border: none;
    background: rgb(0, 69, 126);
    color: rgb(255, 255, 255);
}

/* Optional hover effects */
.header-buttons .login-kb-btn:hover {
    background: rgb(230, 230, 230) !important;
    color: #595d6e  !important;
}

.header-buttons .register-kb-btn:hover {
    background: rgb(0, 90, 160)  !important;
}

/* Close button inside mobile nav */
.nav-close {
  display: none; /* only show in mobile menu */
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: 700;
  color: rgb(45,55,72);
  margin-bottom: 16px;
  cursor: pointer;
}

/* Mobile nav active state */
.main-nav.mobile-active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(245,245,245,0.95);
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(216,221,229,0.5);
  z-index: 999;
  height: 90vh;
}
.main-nav.mobile-active .nav-item {
  color: rgb(90, 101, 119);
}


.main-nav.mobile-active .nav-close {
  display: block;
  position: absolute;
  right: 5px;
  top: 0;
}

/* Hamburger styles */
.hamburger {
  display: none; /* hidden by default, visible on mobile */
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgb(255, 255, 255);
   transition: 0.3s !important;
}

.main-header.scrolled .hamburger span {
  background: rgb(45,55,72);
}
/* Mobile nav active state */
.main-nav.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(245,245,245,0.95);
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(216,221,229,0.5);
  z-index: 999;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .main-header {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }

  .main-nav {
    display: none; /* hidden by default on mobile */
    gap: 16px;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .header-buttons {
    justify-content: flex-start;
    gap: 8px;
    order: 3;
  }

  .breadcrumbs {
    padding: 12px 16px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

#hero-bg {
  position: absolute; inset: 0px; 
  background-size: cover; 
  background-position: center center; 
  background-repeat: no-repeat;
  filter: brightness(0.35) contrast(1.1); 
  transition: opacity 1s !important; 
  opacity: 1;
}

/* Gradient overlays */
.hero-overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(26, 40, 64, 0.933) 0%, rgba(26, 40, 64, 0.533) 35%, rgba(26, 40, 64, 0.533) 65%, rgba(26, 40, 64, 0.933) 100%);
}

.hero-overlay-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 40, 64, 0.8) 0%, transparent 60%);
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(0, 155, 77), rgb(0, 69, 126), transparent);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* animation when slide changes */
.hero-text.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Tagline */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tagline-bar {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: rgb(0, 69, 126);
}

.hero-tagline span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(139, 163, 189);
}

/* Heading & paragraph */
.hero-text h1 {
  font-size: 48px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: rgb(240, 244, 248);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 600px;
}

.hero-text p {
  font-size: 16px;
  color: rgb(139, 163, 189);
  margin: 0 0 32px;
  max-width: 500px;
  line-height: 1.55;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 12px;
}

.kb-btn-primary {
  padding: 12px 28px;
  border-radius: 7px;
  border: none;
  background: rgb(0, 69, 126);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: rgba(0, 69, 126, 0.314) 0px 4px 20px;
  transition: 0.25s;
}

.kb-btn-secondary {
  padding: 12px 28px;
  border-radius: 7px;
  border: 1px solid rgba(42, 63, 88, 0.5);
  background: transparent;
  color: rgb(208, 216, 226);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

/* Slider indicators */
.hero-slider {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-slider button {
  width: 10px;
  height: 4px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  background: rgb(24, 36, 53);
  transition: 0.4s;
  padding: 0;
}

.hero-slider button.active {
  width: 32px;
  background: rgb(0, 69, 126);
}

.workshop-programme {
  position: relative;
  padding: 64px 0 80px;
  scroll-margin-top: 80px;
  z-index: 1;
}

.workshop-programme .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.workshop-programme .header {
  text-align: center;
  margin-bottom: 40px;
}

.workshop-programme .header .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6577;
  margin-bottom: 10px;
}

.workshop-programme .header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 8px;
}

.workshop-programme .header h2 span {
  color: #0055a0;
}

.workshop-programme .header p {
  font-size: 16px;
  color: #5a6577;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Card section only */
.kb-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.kb-cards-grid .kb-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(0, 69, 126, 0.25);
  border-radius: 12px;
  padding: 28px 24px;
   transition: 0.3s !important;
  transform: none;
  /* box-shadow: rgba(0, 0, 0, 0.06) 0px 8px 24px; */
}

#products.kb-cards-grid .kb-card {
  padding: 0;
}

.kb-cards-grid .kb-card.QuailifyingCategories2 {
  cursor: pointer;
}

body[data-theme="dark"] .kb-cards-grid .kb-card {
  background: rgb(12, 18, 25);
  border: 1px solid rgb(24, 36, 53);
  box-shadow: rgba(0,0,0,0.35) 0px 1px 3px;
}

.kb-cards-grid .kb-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: rgba(0,0,0,0.06) 0 8px 24px;
  border-color: rgba(0,69,126,0.25);
}

.progress-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00457E, transparent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.kb-card:hover .progress-bar {
  opacity: 1;
}

.kb-card-header {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,69,126,0.133), rgba(216,221,229,0.376));
  border-radius: 11px 11px 0 0;
  position: relative;
}

.kb-card-img {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  filter: brightness(0.82) contrast(1.08);
}

.kb-card-body {
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}


.kb-card-tag {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.kb-card-tag .kb-card-icon {
  background: rgba(216, 221, 229, 0.314);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    margin-top: -28px;
    position: relative;
    z-index: 3;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 8px;
}

.kb-card:hover .kb-card-tag .kb-card-icon {
  background: rgba(0, 69, 126, 0.063);
}

.kb-card:hover .kb-card-tag .kb-card-icon svg circle, 
.kb-card:hover .kb-card-tag .kb-card-icon svg path, 
.kb-card:hover .kb-card-tag .kb-card-icon svg line, 
.kb-card:hover .kb-card-tag .kb-card-icon svg rect, 
.kb-card:hover .kb-card-tag .kb-card-icon svg polyline {
  stroke: rgb(0, 85, 160)
}
.kb-card-tag .kb-card-badge {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8B95A5;
  background: rgba(216,221,229,0.314);
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.kb-card-title {
  font-size: 17.5px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #1A202C;
  margin: 0 0 4px;
}

body[data-theme="dark"] .kb-card-title {
  color: rgb(240, 244, 248);
}

.kb-card-desc {
  font-size: 13.5px;
  color: #5A6577;
  margin: 0 0 auto;
  line-height: 1.42;
  padding-bottom: 14px;
}

body[data-theme="dark"] .kb-card-desc {
  color: rgb(107, 127, 150);
}

.kb-card-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(216,221,229,0.376);
  padding-top: 12px;
}

.kb-card-footer .kb-card-count {
  font-size: 17px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #5A6577;
  transition: color 0.3s;
}

.kb-card:hover .kb-card-footer .kb-card-count {
  color: #0055A0; /* change to blue on hover */
}

.kb-card-footer .kb-card-label {
  font-size: 10.5px;
  color: #8B95A5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider {
  width: 1px;
  height: 14px;
  background: rgba(216,221,229,0.376);
}

.kb-card-arrow {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #D8DDE5;
  display: flex;
  align-items: center;
  justify-content: center;
   transition: 0.3s !important;
  color: #8B95A5;
  font-weight: 700;
  font-size: 12px;
}

.kb-card:hover .kb-card-arrow {
  background: #00457E;
  color: #fff;
}

/* workshop-rewards section only */
.workshop-rewards {
  background: linear-gradient(135deg, rgb(0, 69, 126) 0%, rgb(0, 50, 96) 100%);
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
}

.workshop-rewards .stripe-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  display: flex;
}
.workshop-rewards .stripe {
  flex: 1 1 0%;
}
.workshop-rewards .stripe.gold { background: rgb(229, 168, 0); }
.workshop-rewards .stripe.white { background: rgb(255, 255, 255); }
.workshop-rewards .stripe.red { background: rgb(196, 50, 10); }

.workshop-rewards .content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.workshop-rewards .text-content {
  flex: 1 1 0%;
  min-width: 320px;
}
.workshop-rewards .text-content .label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(184, 203, 224);
  margin-bottom: 14px;
  display: block;
}
.workshop-rewards .text-content h2 {
  font-size: 36px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
}
.workshop-rewards .text-content p {
  font-size: 17px;
  color: rgb(184, 203, 224);
  margin: 0 0 28px;
  line-height: 1.6;
  max-width: 480px;
}
.workshop-rewards .text-content button {
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: rgb(0, 69, 126);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}
.workshop-rewards .text-content button:hover {
  background: #fff;
  transform: translateY(-2px);
}

.workshop-rewards .kb-card {
  width: 280px;
  height: 200px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.094), rgba(255,255,255,0.063));
  border: 1px solid rgba(255,255,255,0.125);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}
.workshop-rewards .kb-card .percentage {
  font-size: 56px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.workshop-rewards .kb-card .kb-description {
  font-size: 16px;
  font-weight: 600;
  color: rgb(184, 203, 224);
  text-align: center;
}

/* Footer */

.kb-footer {
  background: rgb(10, 22, 40);
  border-top: 1px solid rgba(24, 36, 53, 0.5);
  padding: 56px 40px 32px;
  font-family: sans-serif;
}

.kb-footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.kb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.kb-footer-about img {
  display: block;
  margin-bottom: 12px;
}

.kb-footer-text {
  font-size: 16px;
  color: rgb(107, 127, 150);
  line-height: 1.6;
  max-width: 280px;
}

.kb-footer-colors {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.kb-footer-colors .color {
  width: 28px;
  height: 4px;
  border-radius: 2px;
}

.color-yellow { background: rgb(245, 197, 66); }
.color-blue   { background: rgb(0, 69, 126); }
.color-red    { background: rgb(212, 56, 13); }

.kb-footer-section h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(61, 80, 104);
  margin-bottom: 16px;
}

.kb-footer-section a {
  color: rgb(107, 127, 150);
  font-size: 16px;
  text-decoration: none;
  line-height: 2;
  display: block;
  transition: color 0.2s;
  cursor: pointer;
}

.kb-footer-bottom {
  border-top: 1px solid rgba(24, 36, 53, 0.376);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.kb-footer-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kb-footer-copy span {
  font-size: 15px;
  color: rgb(61, 80, 104);
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(24, 36, 53, 0.5);
  background: transparent;
  cursor: pointer;
   transition: 0.3s !important;
}

.theme-toggle span:last-child {
  font-size: 12px;
  color: rgb(107, 127, 150);
  font-weight: 500;
}

.kb-footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.kb-footer-links a {
  font-size: 15px;
  color: rgb(61, 80, 104);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kb-footer-links .separator {
  width: 1px;
  height: 12px;
  background: rgba(24, 36, 53, 0.376);
}

.kb-footer-links span {
  font-weight: 600;
  color: rgb(107, 127, 150);
}

/* General responsive container padding */
@media (max-width: 1080px) {
  .main-header,
  .hero-content,
  .workshop-programme .container,
  .workshop-rewards .content-wrapper,
  .kb-footer-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Tablet layout: 768px and below */
@media (max-width: 768px) {


  /* Hero section */
  .hero {
    height: 420px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-slider {
    bottom: 16px;
  }

  /* Workshop programme */
  .workshop-programme .kb-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Workshop rewards */
  .workshop-rewards .content-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .workshop-rewards .kb-card {
    width: 100%;
    max-width: 320px;
  }

  /* Footer */
  .kb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Mobile layout: 480px and below */
@media (max-width: 480px) {
  .main-header img {
    width: 150px;
  }
  .hero {
    height: 360px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .kb-btn-primary,
  .hero-buttons .kb-btn-secondary {
    width: 100%;
    text-align: center;
  }

  /* Workshop programme cards */
  .workshop-programme .kb-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Workshop rewards */
  .workshop-rewards .content-wrapper {
    gap: 24px;
    align-items: flex-start;
  }

  .workshop-rewards .text-content {
    width: 100%;
  }

  .workshop-rewards .kb-card {
    width: 100%;
  }

  /* Footer */
  .kb-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kb-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .kb-footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ========== General Body ========== */
.kb-body {
  background: rgb(245, 245, 245);
  font-family: "IBM Plex Sans", sans-serif;
  color: rgb(45, 55, 72);
  transition: background 0.4s, color 0.4s;
}

/* ========== Hero Section ========== */
.kb-hero {
  padding: 120px 40px 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(0, 69, 126, 0.082) 0%, transparent 100%);
}

.kb-hero-content {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.35s, transform 0.35s;
}

.kb-hero-title {
  font-size: 40px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  color: rgb(26, 32, 44);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.kb-hero-text {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.6;
}

/* ========== Sections ========== */
.kb-section {
  padding: 60px 40px 80px;
}

.kb-container {
  max-width: 1440px;
  margin: 0 auto;
}

/* ========== Section Header ========== */
.kb-section-header {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.35s, transform 0.35s;
  margin-bottom: 40px;
  text-align: center;
}

.kb-section-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.kb-line {
  width: 32px;
  height: 2px;
  border-radius: 1px;
  background: rgb(0, 69, 126);
}

.kb-section-subtitle span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(90, 101, 119);
}

.kb-section-title {
  font-size: 32px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  color: rgb(26, 32, 44);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.kb-highlight {
  color: rgb(0, 85, 160);
}

.kb-section-text {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.55;
}

/* ========== Grid 3 Column ========== */
.kb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ========== Cards ========== */

.kb-card-title {
  font-size: 16px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  color: rgb(26, 32, 44);
  margin: 0 0 8px;
}

.kb-card-text {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0;
  line-height: 1.55;
}

/* Animation Delays */
.kb-animate {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.35s, transform 0.35s;
}
.kb-delay-60 { transition-delay: 60ms; }
.kb-delay-80 { transition-delay: 80ms; }
.kb-delay-120 { transition-delay: 120ms; }
.kb-delay-160 { transition-delay: 160ms; }
.kb-delay-180 { transition-delay: 180ms; }
.kb-delay-240 { transition-delay: 240ms; }
.kb-delay-300 { transition-delay: 300ms; }

/* ========== How It Works Grid 4 ========== */
.kb-how-it-works-section {
  padding: 60px 40px 80px;
  background: #f0f1f4;
}

.kb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kb-step {
  text-align: center;
  padding: 24px 16px;
}

.kb-step-number {
  font-size: 36px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  color: rgb(0, 69, 126);
  margin-bottom: 12px;
  opacity: 0.4;
}

.kb-step-title {
  font-size: 16px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  color: rgb(26, 32, 44);
  margin: 0 0 8px;
}

.kb-step-text {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0;
  line-height: 1.55;
}

/* ========== CTA Section ========== */
.kb-cta-section {
      padding: 60px 40px 80px;
}
.kb-cta-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 69, 126, 0.094), rgba(0, 138, 68, 0.063));
  border: 1px solid rgba(0, 69, 126, 0.145);
  border-radius: 16px;
  padding: 48px 40px;
}

.kb-cta-title {
  font-size: 28px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  color: rgb(26, 32, 44);
  margin: 0 0 12px;
}

.kb-cta-text {
  font-size: 17px;
  color: rgb(90, 101, 119);
  margin: 0 0 28px;
  line-height: 1.55;
}

.kb-cta-button {
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  background: rgb(0, 69, 126);
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}


/* General Page Styles */
.kb-body {
  min-height: 100vh;
  background: rgb(245, 245, 245);
  font-family: "IBM Plex Sans", sans-serif;
  color: rgb(45, 55, 72);
  transition: background 0.4s, color 0.4s;
}

.kb-section {
  padding: 60px 40px 80px;
  position: relative;
}

.kb-section-hero {
  padding: 120px 40px 60px;
  text-align: center;
  background: linear-gradient(rgba(0, 69, 126, 0.082) 0%, transparent 100%);
}

.kb-hero-title {
  font-size: 40px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  color: rgb(26, 32, 44);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.kb-hero-text {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.6;
}

.kb-subtitle-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.kb-subtitle-bar div {
  width: 32px;
  height: 2px;
  border-radius: 1px;
  background: rgb(0, 69, 126);
}

.kb-subtitle-bar span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(90, 101, 119);
}

.kb-section-title {
  font-size: 32px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  color: rgb(26, 32, 44);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.kb-highlight {
  color: rgb(0, 85, 160);
}

.kb-paragraph {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.55;
}

.kb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kb-grid-3-gap24 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kb-card-icon {
    margin-bottom: 14px;
}

.kb-card h3 {
  font-size: 22px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  color: rgb(26, 32, 44);
  margin: 0 0 8px;
}

.kb-card p {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0;
  line-height: 1.55;
}

.kb-card-type {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(139, 149, 165);
    margin-bottom: 6px;
}
 .kb-support .kb-card-title {
    color: rgb(0, 85, 160);
 }
 .kb-support .kb-card-desc {
  padding-bottom: 0;
 }

.kb-number-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 69, 126, 0.125);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: 800;
  color: rgb(0, 85, 160);
  text-align: center;
}

.kb-eligible-products {
  background: rgb(240, 241, 244);
}

.kb-table {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(216, 221, 229);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 24px;
}

.kb-table-header {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  padding: 12px 24px;
  background: rgb(250, 251, 252);
  border-bottom: 1px solid rgb(216, 221, 229);
}

.kb-table-header span {
  font-size: 12px;
  font-weight: 600;
  color: rgb(139, 149, 165);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kb-table-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(216, 221, 229, 0.145);
}

.kb-table-row:nth-child(even) {
  background: rgb(250, 251, 252);
}

.kb-table-row span:first-child {
  font-weight: 600;
  color: rgb(26, 32, 44);
}

.kb-table-row span:nth-child(2) {
  color: rgb(90, 101, 119);
}

.kb-table-row span:last-child {
  font-weight: 600;
  color: rgb(0, 138, 68);
}

/* Hero / Support Header Section */
.kb-hero {
    padding: 120px 40px 60px;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 69, 126, 0.082) 0%, transparent 100%);
}
.kb-hero h1 {
    font-size: 40px;
    font-family: Outfit, sans-serif;
    font-weight: 800;
    color: rgb(26, 32, 44);
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}
.kb-hero p {
    font-size: 16px;
    color: rgb(90, 101, 119);
    margin: 0 auto;
    max-width: 700px;
    line-height: 1.6;
}

/* Support Cards Section */
.kb-cards-section {
    padding: 60px 40px 80px;
}
.kb-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

/* .kb-card svg {
    stroke: #0055A0;
    stroke-width: 1.8;
}
.kb-card .kb-card-type {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(139, 149, 165);
    margin-bottom: 6px;
}
.kb-cards-grid .kb-card .kb-card-title {
    font-size: 16px;
    font-weight: 700;
    color: rgb(0, 85, 160);
    margin-bottom: 4px;
}
.kb-card .kb-card-desc {
    font-size: 16px;
    color: rgb(90, 101, 119);
} */

/* FAQ Section */
.kb-faq-header {
    margin-bottom: 40px;
    text-align: center;
}
.kb-faq-header .kb-section-title-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.kb-faq-header .kb-section-title-bar div {
    width: 32px;
    height: 2px;
    border-radius: 1px;
    background: rgb(0, 69, 126);
}
.kb-faq-header .kb-section-title-bar span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(90, 101, 119);
}
.kb-faq-header h2 {
    font-size: 32px;
    font-family: Outfit, sans-serif;
    font-weight: 800;
    color: rgb(26, 32, 44);
    margin: 0 0 8px;
    letter-spacing: -0.03em;
}
.kb-faq-header h2 span {
    color: rgb(0, 85, 160);
}

.kb-container-grid {
   max-width: 1000px;
    margin: 0 auto;
}
.kb-faq-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kb-faq-item {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(216, 221, 229);
    border-radius: 10px;
    overflow: hidden;
}
.kb-faq-item .kb-faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kb-faq-item .kb-faq-question span {
    font-size: 16px;
    font-weight: 600;
    color: rgb(26, 32, 44);
}
.kb-faq-item .kb-faq-question .kb-faq-toggle {
    font-size: 16px;
    color: rgb(139, 149, 165);
    transition: transform 0.3s;
}

.kb-faq-question.active .kb-faq-toggle {
    transform: rotate(180deg);
}

.kb-faq-answer {
    padding: 14px 24px 18px;
    font-size: 16px;
    color: rgb(90, 101, 119);
    line-height: 1.6;
    border-top: 1px solid rgba(216, 221, 229, 0.19);
    display: none; /* hidden by default, toggle with JS */
}

/* Resources Section */
.kb-resources-section {
    padding: 60px 40px 80px;
    background: rgb(240, 241, 244);
}
.kb-resources-header {
    margin-bottom: 40px;
    text-align: center;
}
.kb-resources-header .kb-section-title-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.kb-resources-header .kb-section-title-bar div {
    width: 32px;
    height: 2px;
    border-radius: 1px;
    background: rgb(0, 69, 126);
}
.kb-resources-header .kb-section-title-bar span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(90, 101, 119);
}
.kb-resources-header h2 {
    font-size: 32px;
    font-family: Outfit, sans-serif;
    font-weight: 800;
    color: rgb(26, 32, 44);
    margin: 0 0 8px;
    letter-spacing: -0.03em;
}
.kb-resources-header h2 span {
    color: rgb(0, 85, 160);
}
.kb-resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.kb-resource-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(216, 221, 229);
    border-radius: 8px;
}
.kb-resource-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(196, 50, 10, 0.082);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.kb-resource-card-icon span {
    font-size: 15px;
    font-weight: 700;
    color: rgb(196, 50, 10);
}
.kb-resource-card-content {
    flex: 1 1 0%;
}
.kb-resource-card-title {
    font-size: 16px;
    font-weight: 600;
    color: rgb(26, 32, 44);
}
.kb-resource-card-subtitle {
    font-size: 15px;
    color: rgb(139, 149, 165);
}
.kb-resource-card-download {
    font-size: 16px;
    color: rgb(0, 85, 160);
    font-weight: 500;
    cursor: pointer;
}

/* Global */
.kb-body {
  min-height: 100vh;
  background: #f5f5f5;
  font-family: "IBM Plex Sans", sans-serif;
  color: #2d3748;
  transition: background 0.4s, color 0.4s;
}

/* Hero Section */
.kb-hero-section {
  padding: 120px 40px 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(0,69,126,0.082) 0%, transparent 100%);
}

.kb-hero-title {
  font-size: 40px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.kb-hero-subtitle {
  font-size: 16px;
  color: #5a6577;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Stats Section */

.kb-stats-section {
    padding: 60px 40px 80px;
}

.kb-container {
  max-width: 1440px;
  margin: 0 auto;
}

.kb-container-1200 {
  max-width: 1200px;
  margin: 0 auto;
}

.kb-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.kb-stat-card {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid #d8dde5;
  border-radius: 12px;
}

.kb-stat-number {
  font-size: 32px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: #0055a0;
  margin-bottom: 16px;
}

.kb-stat-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 4px;
}

.kb-stat-desc {
  font-size: 16px;
  color: #5a6577;
}

/* Mission Grid */
.kb-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.kb-mission-block h2 {
  font-size: 24px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 16px;
}

.kb-mission-block p {
  font-size: 16px;
  color: #5a6577;
  line-height: 1.7;
  margin: 0 0 16px;
}

.kb-mission-block p:last-child {
  margin-bottom: 0;
}

/* Values Section */
.kb-values-section {
  padding: 60px 40px 80px;
  background: #f0f1f4;
}

.kb-values-header {
  text-align: center;
  margin-bottom: 40px;
}

.kb-values-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6577;
  margin-bottom: 10px;
}

.kb-values-header h2 {
  font-size: 32px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 8px;
}

.kb-values-header h2 span {
  color: #0055a0;
}

.kb-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kb-value-card {
  background: #fff;
  border: 1px solid #d8dde5;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
   transition: 0.3s !important;
}

.kb-value-icon {
  margin-bottom: 14px;
}

.kb-value-card h3 {
  font-size: 16px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 8px;
}

.kb-value-card p {
  font-size: 16px;
  color: #5a6577;
  line-height: 1.55;
  margin: 0;
}

/* Container */
.kb-level-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Breadcrumb */
.kb-level-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.kb-level-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kb-level-breadcrumb-text {
  cursor: pointer;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: rgb(90, 101, 119);
}

.kb-level-breadcrumb-separator {
  color: rgb(139, 149, 165);
  font-size: 11px;
}

.kb-level-breadcrumb-link {
  cursor: pointer;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: rgb(0, 85, 160);
}

/* Back button */
.kb-level-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  margin-bottom: 6px;
  background: transparent;
  border: 1px solid rgb(216, 221, 229);
  border-radius: 5px;
  cursor: pointer;
  color: rgb(90, 101, 119);
  font-size: 13.5px;
}

/* Header section */
.kb-level-header {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.35s, transform 0.35s;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 9999;
}

.kb-level-header-left {
  flex: 1 1 0%;
  min-width: 220px;
}
.kb-level-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(216, 221, 229);
  border-radius: 7px;
  cursor: pointer;
  color: rgb(45, 55, 72);
  font-size: 14px;
  font-family: "IBM Plex Sans", sans-serif;
  white-space: nowrap;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
}

.kb-level-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.kb-level-title {
  font-size: 23px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: rgb(26, 32, 44);
  margin: 0;
}

.kb-level-badge {
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  color: rgb(0, 69, 126);
  font-weight: 500;
  background: rgba(0, 69, 126, 0.063);
  padding: 2px 9px;
  border-radius: 14px;
}

.kb-level-desc {
  font-size: 15px;
  color: rgb(90, 101, 119);
  margin: 5px 0 0;
  line-height: 1.48;
  max-width: 540px;
}

/* Grid cards */
.kb-second-level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kb-second-level-card {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(216, 221, 229);
  border-radius: 10px;
  
   transition: 0.3s !important;
  transform: none;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.kb-second-level-card.QuailifyingCategories2 {
  cursor: pointer;
}

.kb-second-level-card-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
  border-radius: 2px;
  background: rgb(0, 69, 126);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.kb-second-level-card-img-wrap {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 69, 126, 0.133), rgba(216, 221, 229, 0.376));
  position: relative;
  overflow: hidden;
  border-radius: 9px 9px 0px 0px;
}

.kb-second-level-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) contrast(1.08);
}

.kb-second-level-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.4) 100%);
}

.kb-second-level-card-content {
  padding: 12px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}

.kb-second-level-card-title {
  font-size: 16.5px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: rgb(26, 32, 44);
  margin: 0 0 4px;
}

.kb-second-level-card-text {
  font-size: 16px;
  color: rgb(90, 101, 119);
  margin: 0 0 auto;
  line-height: 1.4;
  padding-bottom: 12px;
  /* display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; */
}

.kb-second-level-card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.kb-second-level-card-tag {
  font-size: 13.5px;
  color: rgb(139, 149, 165);
  background: rgba(216, 221, 229, 0.376);
  padding: 2px 7px;
  border-radius: 3px;
}

.kb-second-level-card-tag-soon {
  font-size: 13.5px;
  color: rgb(212, 88, 15);
  background: rgba(212, 88, 15, 0.063);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
}


/* Card Wrapper */
.kb-third-level-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.35s, transform 0.35s;
}

/* Card */
.kb-third-level-card {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(216, 221, 229);
  border-radius: 10px;
   transition: 0.3s !important;
  transform: none;
  display: flex;
  align-items: stretch;
  opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
}

.kb-third-level-card.QuailifyingProductList2 {
  cursor: pointer;
}

/* Card Image Container */
.kb-third-level-card-img-wrap {
  width: 80px;
  min-height: 72px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 9px 0 0 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 69, 126, 0.133), rgba(24, 36, 53, 0.376));
}

/* Image */
.kb-third-level-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) contrast(1.08);
}

/* Image Gradient Overlay */
.kb-third-level-card-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.4) 100%);
}

/* Image Placeholder / KB SVG */
.kb-third-level-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 69, 126, 0.133), rgba(216, 221, 229, 0.376));
  position: relative;
  overflow: hidden;
  border-radius: 9px 0 0 9px;
  min-height: 72px;
}

/* Card Content */
.kb-third-level-card-content {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

/* SKU Badge */
.kb-third-level-card-sku {
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  background: rgba(216, 221, 229, 0.314);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.kb-third-level-card-sku-number {
  font-size: 19px;
  font-weight: 700;
  color: rgb(90, 101, 119);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.kb-third-level-card-sku-label {
  font-size: 12.5px;
  color: rgb(139, 149, 165);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card Text Content */
.kb-third-level-card-text-wrap {
  flex: 1 1 0%;
  height: 100%;
  align-items: center;
  display: flex;
}

.kb-third-level-card-title {
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: rgb(26, 32, 44);
  margin: 0;
}

.kb-third-level-card-desc {
  font-size: 15px;
  color: rgb(90, 101, 119);
  margin: 2px 0 0;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kb-third-level-card-action-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(216, 221, 229);
    border-radius: 7px;
    cursor: pointer;
    color: rgb(45, 55, 72);
    font-size: 14px;
    font-family: "IBM Plex Sans", sans-serif;
    white-space: nowrap;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px;
}

.kb-third-level-card-action-wrap .dropdown-menu {
    height: 500px;
    overflow-y: scroll;
}

/* Arrow Button */
.kb-third-level-card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgb(216, 221, 229);
  display: flex;
  align-items: center;
  justify-content: center;
   transition: 0.3s !important;
}

.kb-third-level-card-arrow-icon {
  color: rgb(139, 149, 165);
  font-size: 13.5px;
}

/* Table container wrapper */
.kb-table-level-wrapper {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.35s 80ms, transform 0.35s;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(216, 221, 229);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 4px;
}

/* Table header row */
.kb-table-level-header {
  display: grid;
  grid-template-columns: 120px 2.5fr 0.75fr 58px 0.5fr 0.65fr 108px 58px;
  padding: 10px 20px;
  background: rgb(240, 241, 244);
  border-bottom: 1px solid rgb(216, 221, 229);
  gap: 8px;
}

.kb-table-level-header span {
  font-size: 11px;
  font-weight: 600;
  color: rgb(139, 149, 165);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Table row */
.kb-table-level-row {
  display: grid;
  grid-template-columns: 120px 2.5fr 0.75fr 58px 0.5fr 0.65fr 108px 58px;
  padding: 16px 20px;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid rgba(216, 221, 229, 0.145);
  background: transparent;
  transition: background 0.12s;
}

.kb-table-level-row.active .kb-table-level-distributors span:last-child {
  transform: rotate(180deg);
  transition: transform 0.2s;
}

.kb-table-level-row.active .kb-table-level-distributors span:first-child {
  color: rgb(0, 85, 160);
}

.kb-table-level-row:hover{
  background: rgb(240, 242, 245);
}

/* Table row cells */
.kb-table-level-sku {
  font-size: 14.5px;
  font-family: "IBM Plex Mono", monospace;
  color: rgb(0, 85, 160);
  font-weight: 500;
}

.kb-table-level-product {
  font-size: 14px;
  color: rgb(26, 32, 44);
  font-weight: 500;
}

.kb-table-level-type,
.kb-table-level-weight,
.kb-table-level-spec,
.kb-table-level-application {
  font-size: 15px;
  color: rgb(90, 101, 119);
}

.kb-table-level-distributors {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kb-table-level-distributors span:first-child {
  font-size: 15px;
  color: rgb(90, 101, 119);
  font-weight: 500;
}

.kb-table-level-distributors span:last-child {
  font-size: 10px;
  color: rgb(139, 149, 165);
  display: inline-block;
  transition: transform 0.2s;
}



/* Status badge */
.kb-table-level-status {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
}

.kb-table-level-status.active {
  color: rgb(0, 138, 68);
  background: rgba(0, 138, 68, 0.07);
  border: 1px solid rgba(0, 138, 68, 0.145);
}

.kb-table-level-status.new {
  color: rgb(212, 88, 15);
  background: rgba(212, 88, 15, 0.063);
  border: 1px solid rgba(212, 88, 15, 0.145);
}

.kb-table-level-sources-container {
  padding: 10px 20px 14px;
  background: rgb(240, 241, 244);
  border-bottom: 1px solid rgba(216, 221, 229, 0.19);
}

.kb-table-level-sources-title {
  font-size: 13.5px;
  font-weight: 600;
  color: rgb(139, 149, 165);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.kb-table-level-sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 8px;
}

.kb-table-level-sources-card {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: rgb(255, 255, 255);
  border-radius: 7px;
  border: 1px solid rgba(216, 221, 229, 0.376);
  min-height: 80px;
}

.kb-table-level-sources-flag {
  font-size: 16px;
  /* margin-top: 6px; */
}

.kb-table-level-sources-content {
  min-width: 0;
}

.kb-table-level-sources-name {
  font-size: 14px;
  font-weight: 500;
  color: rgb(26, 32, 44);
  white-space: unset;
  text-transform: capitalize;
  /* overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize; */
}

.kb-table-level-sources-location {
  font-size: 12.5px;
  color: rgb(90, 101, 119);
  margin-top: 1px;
}

.kb-table-level-sources-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 3px;
  flex-wrap: wrap;
}

.kb-table-level-sources-phone {
  font-size: 12px;
  color: rgb(90, 101, 119);
}

.kb-table-level-sources-email {
  font-size: 12px;
  color: rgb(0, 85, 160);
}

.kb-table-level-loading {
  padding: 12px;
  display: flex;
  justify-content: center;
}

.kb-table-level-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0,0,0,0.1);
  border-top: 3px solid #555;
  border-radius: 50%;
  animation: kb-spin 0.8s linear infinite;
}

@keyframes kb-spin {
  to { transform: rotate(360deg); }
}

.kb-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 10px;
  font-size: 13px;
  color: #5a6577;
}

.kb-page[data-theme="dark"] .kb-spinner {
  color: #a0aec0;
}

.kb-loader {
  width: 32px;
  height: 32px;
  border: 3px solid #d8dde5;
  border-top: 3px solid #0055a0;
  border-radius: 50%;
  animation: kb-spin 0.8s linear infinite;
}

.kb-page[data-theme="dark"] .kb-loader {
  border: 3px solid #2d3748;
  border-top: 3px solid #63b3ed;
}

@keyframes kb-spin {
  to {
    transform: rotate(360deg);
  }
}

.kb-spinner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 10;
  border-radius: 8px;
}

/* Dark mode */
.kb-page[data-theme="dark"] .kb-spinner-overlay {
  background: rgba(12, 18, 25, 0.6);
}

.kb-loader {
  width: 36px;
  height: 36px;
  border: 3px solid #d8dde5;
  border-top: 3px solid #0055a0;
  border-radius: 50%;
  animation: kb-spin 0.8s linear infinite;
}

.kb-page[data-theme="dark"] .kb-loader {
  border: 3px solid #2d3748;
  border-top: 3px solid #63b3ed;
}

@keyframes kb-spin {
  to {
    transform: rotate(360deg);
  }
}

.category-pagination-wrapper {
    margin-top: 30px;
}

#dropdownFilter {
  background: none;
}

.kb-level-header-right .dropdown-menu.show {
    overflow: scroll;
    height: 350px;
    left: -146% !important;
    top: 10px !important;
}

img.kb-flags {
    width: 16px;
    margin-right: 10px;
}

.kb-table-level-search-wrapper {
  padding: 12px 20px;
  border-bottom: 1px solid rgb(216, 221, 229);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kb-table-level-search {
  position: relative;
  flex: 1 1 0%;
  max-width: 450px;
}

.kb-table-level-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.kb-table-level-input {
  width: 100%;
  padding: 12px 12px 12px 34px;
  border-radius: 7px;
  border: 1px solid rgb(216, 221, 229);
  background: rgb(240, 241, 244);
  color: rgb(26, 32, 44);
  font-size: 12.5px;
  font-family: "IBM Plex Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: none;
  box-sizing: border-box;
}

.kb-table-level-count {
  font-size: 11px;
  color: rgb(139, 149, 165);
  flex-shrink: 0;
}

/* Optional focus effect */
.kb-table-level-input:focus {
  border-color: #5a67d8;
  box-shadow: 0 0 0 1px rgba(90, 103, 216, 0.2);
}

.kb-table-level-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(216, 221, 229);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgb(90, 101, 119);
  font-size: 10px;
  line-height: 1;
  padding: 0;
}

/* Optional hover */
.kb-table-level-clear-btn:hover {
  background: rgb(200, 205, 215);
}

.kb-table-level-body {
    position: relative;
}