/* Modern Header & Hero Redesign [START] */

/* --- Mobile fix: .section-title h2 line-height collapse --- */
@media (max-width: 575px) {
  .section-title h2 {
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 1px;
  }
  .section-title h2::after {
    display: none;
  }
  .section-title p {
    font-size: 26px;
  }
}

/* --- RESTORED TIMELINE & FEATURE STYLES --- */
.text-gradient-primary {
  background: linear-gradient(90deg, var(--accent-light-color), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.timeline-vertical {
  position: relative;
  /* margin: 4rem 0; */
  padding: 0;
  list-style: none;
}

.timeline-vertical:before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  width: 2px;
  height: 100%;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
}

.timeline-vertical__entry {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 50px;
}

.timeline-vertical__entry:last-child {
  margin-bottom: 0;
}

.timeline-vertical__marker {
  position: absolute;
  left: 3px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  z-index: 1;
}

.timeline-vertical__entry--active .timeline-vertical__marker {
  border-color: var(--primary);
  border-width: 4px;
  width: 21px;
  height: 21px;
}

.timeline-vertical__year {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-vertical__heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0px !important;
  font-family: var(--heading-font);
}

.timeline-vertical__text {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
}

/* Restored Feature & Quality styles */
.feature-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.4s ease;
}
.feature-card:hover {
  transform: translateX(10px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}
.feature-card:hover:before {
  height: 100%;
}
.feature-icon-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--primary), transparent 90%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  transform: scale(1.1);
}
.feature-icon-wrapper i {
  font-size: 28px;
  color: var(--primary);
  transition: color 0.4s ease;
}
.feature-card:hover .feature-icon-wrapper i {
  color: var(--surface-color);
}
.feature-content {
  flex: 1;
}
.feature-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-family: var(--heading-font);
  transition: color 0.3s ease;
}
.feature-card:hover .feature-content h4 {
  color: var(--primary);
}
.features-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.features-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.features-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Quality Styles */
.quality-section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.quality-section-header i {
  font-size: 36px;
  color: var(--primary);
}
.quality-section-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}
.testing-section {
  background: color-mix(in srgb, var(--primary), transparent 98%);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 40px;
}
.testing-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}
.testing-item:hover {
  transform: translateX(5px);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}
.testing-item > i {
  font-size: 32px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}
.testing-item h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}
.compliance-section {
  background: color-mix(in srgb, var(--primary), transparent 97%);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
}
.compliance-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}
.compliance-item:hover {
  transform: translateX(5px);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}
.compliance-item > i {
  font-size: 32px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}
.compliance-item h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

/* End Restored Styles */

/* --- Header Override --- */
.header {
  background-color: var(--bg-white) !important;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

/* Logo text — no background, white wordmark */
.logo-bg-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: none;
  padding: 4px 0;
  line-height: 1;
  text-decoration: none;
}

.header .logo h1 {
  color: var(--primary);
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Main wordmark */
.logo-text-mark {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

/* Accent half of the wordmark */
.logo-text-accent {
  color: #f5a623;
}

/* "Industries" sub-label */
.logo-text-sub {
  font-family: var(--font-default, sans-serif);
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 2px;
}

@media (max-width: 576px) {
  .logo-text-mark {
    font-size: 18px;
  }
  .logo-text-sub {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
}

/* Header: white bg → use dark text */
.header .logo-text-mark {
  color: var(--primary-dark);
}
.header .logo-text-accent {
  color: var(--primary);
}
.header .logo-text-sub {
  color: rgba(0, 0, 0, 0.45);
}

/* Footer: dark bg → keep white text */
.footer .logo-text-mark {
  color: #ffffff;
}
.footer .logo-text-accent {
  color: #f5a623;
}
.footer .logo-text-sub {
  color: rgba(255, 255, 255, 0.6);
}

/* Nav Menu Styling */
.navmenu a {
  color: var(--primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover & Active Styling */
.navmenu a:hover,
.navmenu .active {
  color: var(--primary-accent);
}

.navmenu a:hover:after,
.navmenu .active:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-dark);
  transform: scaleX(1);
  transform-origin: bottom left;
}

.navmenu a:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

/* CTA Button Styling */
.header .btn-getstarted,
.header .btn-getstarted:focus {
  background-color: var(--primary);
  border: none;
  border-radius: 50px; /* Pill shape */
  padding: 10px 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff !important;
  margin-left: 40px;
  transition: all 0.3s ease;
}

.header .btn-getstarted:hover {
  background-color: var(--primary-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 32, 65, 0.3);
}

/* Dropdown Menu Styling */
.navmenu .dropdown ul {
  background: var(--bg-white) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
}

.navmenu .dropdown ul a {
  color: var(--primary-dark) !important;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  transition: all 0.2s ease;
}

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover > a {
  background-color: var(--bg-light);
  color: var(--primary-accent) !important;
  padding-left: 25px; /* Slight movement on hover */
}

/* Remove hover underline from dropdown items */
.navmenu .dropdown ul a:after {
  display: none;
}

/* --- Modern Hero Section --- */
.hero-modern {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(101deg, #fff 70%, var(--primary-light) 30%);
  padding-top: 120px; /* Space for fixed header */
}

/* Mobile responsive split background fix */
@media (max-width: 991px) {
  .hero-modern {
    background: #fff;
    flex-direction: column;
    padding-bottom: 50px;
  }
}

.hero-content-left {
  padding-right: 40px;
}

.eyebrow-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(
    --primary-dark
  ); /* Using primary dark but slightly transparent usually looks better, but solid is fine */
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 45px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 90%;
}

/* Buttons */
.btn-hero-primary {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 15px 35px;
  font-weight: 500;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background-color: var(--primary-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background-color: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
  padding: 15px 35px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

/* Right Side Image */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  min-height: 450px;
  object-fit: fill;
  display: block;
}

@media (max-width: 991px) {
  .hero-image-wrapper img {
    min-height: 320px;
    object-fit: cover;
  }
}

/* Floating Card */
.floating-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  min-width: 250px;
}

.icon-box-green {
  width: 50px;
  height: 50px;
  background-color: var(--eco-green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eco-green-text);
  font-size: 20px;
}

.card-text h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
}

.card-text span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-modern {
    padding-top: 120px;
  }

  .floating-card {
    left: 20px;
    bottom: 20px;
  }
}
/* Modern Header & Hero Redesign [END] */

/* --- Key Solutions Cards --- */
.solution-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.solution-card.wood {
  background: url("../img/wood-card-bg.jpg") no-repeat center center/cover;
}

.solution-card.wood .solution-overlay {
  background: linear-gradient(
    to top,
    rgba(160, 82, 45, 0.95) 0%,
    rgba(160, 82, 45, 0.4) 60%,
    rgba(160, 82, 45, 0.1) 100%
  );
}

.solution-card.textile {
  background: url("../img/textile-card-bg.png") no-repeat center center/cover;
}

.solution-card.textile .solution-overlay {
  background: linear-gradient(
    to top,
    rgba(25, 118, 210, 0.9) 0%,
    rgba(25, 118, 210, 0.4) 60%,
    rgba(25, 118, 210, 0.1) 100%
  );
}

.solution-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.solution-content {
  position: relative;
  z-index: 2;
}

/* Brand logo badge — sits above the overlay in the top-right corner */
.solution-brand-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  max-width: 130px;
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.solution-tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.solution-card.wood .solution-tag {
  background-color: #e67e22;
}
.solution-card.textile .solution-tag {
  background-color: #4b0082;
}

.solution-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.2;
}

.solution-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9);
  max-width: 90%;
}

.solution-link {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.solution-link i {
  transition: transform 0.3s;
  font-size: 14px;
}

.solution-card:hover .solution-link i {
  transform: translateX(5px);
}

/* --- Horizontal Timeline Styles --- */
.timeline-horizontal-wrapper {
  position: relative;
  overflow-x: auto;
  padding: 40px 0;
  margin-bottom: 60px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  /* border-bottom: 1px solid rgba(0,0,0,0.05); */
}

.timeline-horizontal-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0 20px;
  margin: 0;
  min-width: 900px; /* Ensure content doesn't squash on small screens */
  position: relative;
}

/* Horizontal Line */
.timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 9px; /* Align with center of marker (height 20px / 2 = 10px approx) */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: color-mix(in srgb, var(--primary), transparent 90%);
  z-index: 0;
}

.timeline-horizontal .timeline-item {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 0 15px;
  z-index: 1;
}

.timeline-horizontal .timeline-marker {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 4px solid #b0b0c0; /* Muted purple/grey from image */
  border-radius: 50%;
  margin: 0 auto 15px auto;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-horizontal .timeline-item.active .timeline-marker,
.timeline-horizontal .timeline-item:hover .timeline-marker {
  transform: scale(1.2);
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.timeline-horizontal .timeline-year {
  display: block;
  font-family: var(
    --font-sans
  ); /* Based on image, looks simpler sans-serif for year */
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.timeline-horizontal .timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.timeline-horizontal .timeline-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* Navigation Controls for Timeline (Layout) */
.timeline-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
  padding-right: 20px;
}

.timeline-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.timeline-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Read More Content Styles --- */
.about-content-full {
  display: none;
  margin-top: 1rem;
}

.about-content-full.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.read-more-trigger {
  background: transparent;
  border: none;
  color: var(--primary-accent);
  font-weight: 700;
  padding: 0;
  margin-top: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.read-more-trigger:hover {
  color: var(--contrast-color);
  /* border-bottom-color: var(--primary-accent); */
}

.read-more-trigger i {
  transition: transform 0.3s;
}

.read-more-trigger.active i {
  transform: rotate(180deg);
}

/* --- Mission Section Styles --- */
.mission-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.mission-statement-wrapper {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  position: relative;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.mission-quote-icon {
  background: var(--primary-light);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #fff;
}

.mission-text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Mission Values Grid */
.mission-values-grid {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

.mission-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 280px;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.mission-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.mission-card:hover::after {
  transform: scaleX(1);
}

.mission-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--primary);
  font-size: 30px;
  transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
  background: var(--primary);
  color: #fff;
  transform: rotateY(180deg);
}

.mission-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

.mission-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Background Patterns --- */

/* Subtle Dot Pattern (Precision/Tech) */
.bg-pattern-dots {
  background-color: #ffffff;
  background-image: radial-gradient(
    var(--primary-light) 2.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
}

/* Diagonal Lines Pattern (Industrial/Structure) */
.bg-pattern-lines {
  background-color: var(--bg-light);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.02) 0px,
    rgba(0, 0, 0, 0.02) 2px,
    transparent 2px,
    transparent 12px
  );
}

/* Soft Gradient Flow (Chemical/Fluid) */
.bg-gradient-soft {
  background:
    radial-gradient(circle at 0% 0%, var(--primary-light) 0%, transparent 40%),
    radial-gradient(
      circle at 100% 100%,
      rgba(230, 126, 34, 0.05) 0%,
      transparent 40%
    ),
    #ffffff;
}

/* Hero Image Transition */
/* .hero-image-wrapper img {
  transition: all 0.5s ease-in-out;
  transform-origin: center;
} */

/* Abstract Shape Decoration (Re-adding as likely deleted by mistake or needed for sections) */
/* .decorative-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(120deg, var(--primary-light), rgba(255,255,255,0));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.blob-left { bottom: -100px; left: -100px; }
.blob-right { top: -100px; right: -100px; } */

/* --- Textile Solutions Theme (POC) --- */
.theme-textile {
  /* Blue/Teal Palette for Textile */
  --primary-dark: #05417d; /* Deep Blue */
  --primary: #1976d2; /* Primary Blue */
  --primary-accent: #2196f3; /* Lighter Blue */
  --primary-light: #e3f2fd; /* Very Light Blue */

  --heading-color: #01579b; /* Dark Blue Text */
  --accent-color: #00bcd4; /* Cyan Accent */

  --background-color: #f0f8ff; /* AliceBlue Tint */
}

/* Textile Header Override */
/* .theme-textile .header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid var(--primary-accent);
} */

.theme-textile .navmenu a {
  color: var(--primary-dark);
}

.theme-textile .navmenu a:hover,
.theme-textile .navmenu a.active {
  color: var(--primary-dark);
}

.theme-textile .navmenu a:hover:after,
.theme-textile .navmenu .active:after {
  background: var(--primary-dark);
}

/* Textile Footer Override */
.theme-textile .footer {
  background-color: var(--primary-dark);
  color: #fff;
}

.theme-textile .footer p,
.theme-textile .footer strong,
.theme-textile .footer span {
  color: #e3f2fd;
}
/* --- Benefit Card Layout --- */
.benefit-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.benefit-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Product Card Layout (Image Left + Content Right) --- */
.product-card-horizontal {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 280px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-horizontal:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-content-wrapper {
  padding: 30px;
}

.product-content-wrapper h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  font-family: var(--heading-font);
}

.product-content-wrapper .product-intro {
  font-size: 16px;
  color: var(--default-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-specs-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-specs-list li:last-child {
  border-bottom: none;
}

.product-specs-list strong {
  color: var(--heading-color);
  font-weight: 600;
  display: inline-block;
  min-width: 140px;
}

.product-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-image-wrapper {
    min-height: 200px;
  }

  .product-content-wrapper {
    padding: 20px;
  }

  .product-content-wrapper h3 {
    font-size: 20px;
  }
}

/* --- Product Detail Grid (Specs + Application two-column layout) --- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

@media (max-width: 991px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.product-block-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid color-mix(in srgb, var(--primary), transparent 80%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-block-title i {
  font-size: 14px;
}

/* Feature badge pills (wood product cards) */
.product-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.product-feature-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: color-mix(in srgb, var(--primary), transparent 88%);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--primary), transparent 70%);
  white-space: nowrap;
}

.product-feature-badges span i {
  font-size: 12px;
}

/* Specs list — key/value rows */
.product-specs-block .product-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-specs-block .product-specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.4;
}

.product-specs-block .product-specs-list li:last-child {
  border-bottom: none;
}

.product-specs-block .product-specs-list li strong {
  flex-shrink: 0;
  color: var(--heading-color);
  font-weight: 600;
  min-width: 100px;
}

.product-specs-block .product-specs-list li span {
  color: var(--text-muted);
  text-align: right;
}

/* Application block */
.product-application-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-application-block p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.product-suitable-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 14px;
  background: color-mix(in srgb, var(--primary), transparent 90%);
  border-radius: 6px;
  font-size: 13px;
  color: var(--primary-dark);
  border: 1px solid color-mix(in srgb, var(--primary), transparent 75%);
}

.product-suitable-tag i {
  color: var(--primary);
  font-size: 15px;
}

.product-suitable-tag strong {
  color: var(--primary-dark);
}

/* ============================================================
   Our Speciality Section
   ============================================================ */
.speciality-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* Feature cards (left column) */
.speciality-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.speciality-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  border-radius: 10px 0 0 10px;
  transition: height 0.35s ease;
}

.speciality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  border-color: color-mix(in srgb, var(--primary), transparent 70%);
}

.speciality-card:hover::before {
  height: 100%;
}

.speciality-card--wide {
  flex-direction: row;
}

.speciality-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary), transparent 88%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.speciality-card:hover .speciality-icon {
  background: var(--primary);
  color: #fff;
}

.speciality-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

.speciality-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Lab Testing Panel (right column) */
.lab-panel {
  background: var(--primary-dark);
  border-radius: 14px;
  padding: 36px 32px;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.lab-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary-accent), transparent 75%);
  pointer-events: none;
}

.lab-panel__header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lab-panel__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: color-mix(in srgb, #fff, transparent 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.lab-panel__header h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  font-family: var(--font-sans);
}

.lab-panel__header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.lab-panel__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lab-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lab-panel__list li > i {
  flex-shrink: 0;
  font-size: 20px;
  color: color-mix(in srgb, var(--primary-accent), white 40%);
  margin-top: 2px;
}

.lab-panel__list li strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.lab-panel__list li span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .lab-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 575px) {
  .speciality-card {
    padding: 18px 16px;
  }

  .speciality-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* --- Wood Solutions Theme --- */
.theme-wood {
  /* Orange/Brown Palette for Wood */
  --primary-dark: #96531c; /* Dark Orange/Rust */
  --primary: #9d5c27; /* Pumpkin/Wood Orange */
  --primary-accent: #e8a269; /* Lighter Orange */
  --primary-light: #fef5e7; /* Very Light Orange */

  --heading-color: #5d4037; /* Dark Brown Text */
  --accent-color: #8d6e63; /* Brown Accent */

  --background-color: #fff8e1; /* Warm Cream Background */
}

.theme-wood .navmenu a {
  color: var(--heading-color);
}

.theme-wood .navmenu a:hover,
.theme-wood .navmenu a.active {
  color: var(--primary);
}

.theme-wood .navmenu a:hover:after,
.theme-wood .navmenu .active:after {
  background: var(--primary);
}

/* Wood Footer Override */
.theme-wood .footer {
  background-color: #4e342e; /* Dark Wood Brown */
  color: #fff;
}

.theme-wood .footer p,
.theme-wood .footer strong,
.theme-wood .footer span {
  color: #efebe9;
}

/* --- Product Packaging Badges --- */
.product-packaging-block .product-block-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.packaging-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.packaging-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark, #d35400);
  letter-spacing: 0.3px;
}

.packaging-badge i {
  font-size: 0.85rem;
}

/* Image-style packaging badge */
.packaging-badge-img {
  flex-direction: column;
  padding: 0;
  gap: 4px;
  height: auto;
  background: none;
  border: none;
  align-items: center;
}

.packaging-badge-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.packaging-badge-img .pkg-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark, #d35400);
  letter-spacing: 0.3px;
  text-align: center;
}
