/* ==========================================================================
   CUSTOM MANUFACTURING SOLUTIONS PAGE STYLES - PROVERT SYSTEMS & SOLUTIONS
   Scoped styles to prevent merge conflicts & fully responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --custom-primary: #116E4A;
  --custom-primary-dark: #116e4a;
  --custom-primary-light: #ecfdf5;
  --custom-primary-glow: rgba(22, 163, 74, 0.15);
  --custom-dark-text: #111827;
  --custom-body-text: #4b5563;
  --custom-muted-text: #6b7280;
  --custom-card-bg: #ffffff;
  --custom-border-color: #e5e7eb;
  --custom-section-alt: #f8fafc;
  --custom-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --custom-radius-sm: 8px;
  --custom-radius-md: 14px;
  --custom-radius-lg: 20px;
}

body.custom-page {
  font-family: var(--custom-font);
  background-color: #ffffff;
  color: var(--custom-body-text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── BANNER SECTION ─────────────────────────────────────────── */
.banner {
  position: relative;
  width: 100%;
  height: 520px;
  background-image: url('../Assets/custom-banner-new.jpg');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.88) 30%,
    rgba(0, 0, 0, 0.65) 58%,
    rgba(0, 0, 0, 0.30) 80%,
    rgba(0, 0, 0, 0.15) 100%
  ),
  linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.20) 40%,
    rgba(0, 0, 0, 0.10) 100%
  );
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 130px 140px 0 140px;
}

.banner-content h1 {
  color: #ffffff;
  font-weight: 300;
  font-size: clamp(38px, 4.8vw, 66px);
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.banner-content span.highlight {
  font-weight: 700;
  color: #ffffff;
}

.breadcrumb {
  color: #ffffff;
  font-weight: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--custom-primary);
}

.breadcrumb .crumb-separator {
  color: var(--custom-primary);
  font-size: 16px;
  line-height: 1;
}

.breadcrumb .active-crumb {
  color: var(--custom-primary);
  font-weight: 500;
}

/* ─── COMMON SECTION CONTAINERS & TYPOGRAPHY ──────────────────── */
.custom-section {
  width: 100%;
  padding: 90px 0;
  position: relative;
  box-sizing: border-box;
}

.custom-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section-tag {
  display: inline-block;
  color: var(--custom-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--custom-font);
}

.custom-main-heading {
  color: var(--custom-dark-text);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-bottom: 24px;
}

.accent-green {
  color: var(--custom-primary);
}

/* ─── SECTION 1: CUSTOM TEST CHAMBERS INTRO ───────────────────── */
.custom-intro-section {
  background-color: #ffffff;
  padding-top: 85px;
  padding-bottom: 70px;
}

.custom-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

.custom-intro-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.custom-intro-p {
  color: var(--custom-body-text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 580px;
}

.custom-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-custom-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--custom-primary-dark);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(17, 110, 74, 0.25);
}

.btn-custom-primary:hover {
  background-color: var(--custom-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

.btn-custom-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: #116E4A;
  border: 1.5px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-custom-outline:hover {
  border-color: var(--custom-primary);
  color: var(--custom-primary);
  background-color: var(--custom-primary-light);
}

.custom-intro-image-col {
  position: relative;
  overflow: visible;
}

.custom-intro-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: var(--custom-radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.custom-badge-floating {
  position: absolute;
  bottom: -36px;
  left: -120px;
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  max-width: 250px;
  z-index: 10;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.custom-badge-floating:hover {
  transform: translateY(-4px);
  border-color: #86efac;
  box-shadow: 0 20px 48px rgba(22, 163, 74, 0.12);
}

.floating-badge-tag {
  color: var(--custom-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.floating-badge-desc {
  color: var(--custom-dark-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

/* Bottom 5-Stats Bar */
.custom-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 50px 0 10px 0;
  margin-top: 30px;
}

.custom-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 8px 16px;
  border-left: 1px solid #eef2f6;
  transition: transform 0.25s ease;
}

.custom-stat-item:hover {
  transform: translateY(-3px);
}

.custom-stat-item:first-child {
  padding-left: 0;
  border-left: none;
}

.custom-stat-number {
  color: #116E4A;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.custom-stat-item:hover .custom-stat-number {
  transform: scale(1.05);
  color: var(--custom-primary);
}

.custom-stat-label {
  color: var(--custom-muted-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ─── SECTION 2: WHY CUSTOM CHAMBERS? ────────────────────────── */
.custom-why-section {
  background-color: var(--custom-section-alt);
  padding: 95px 0;
}

.why-custom-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 32px;
}

.why-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-text-col p {
  color: var(--custom-body-text);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.why-features-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-features-card:hover {
  border-color: #d1fae5;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.06);
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--custom-dark-text);
  border-bottom: 1px solid #eef2f6;
  box-sizing: border-box;
  background-color: #ffffff;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.checklist-item:hover {
  background-color: #f7fbf8;
}

.checklist-item:nth-child(odd) {
  border-right: 1px solid #eef2f6;
}

.checklist-item:nth-last-child(1),
.checklist-item:nth-last-child(2) {
  border-bottom: none;
}

.checklist-item-empty {
  border-bottom: none;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ecfdf5;
  color: var(--custom-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.checklist-item:hover .check-icon {
  background-color: var(--custom-primary);
  color: #ffffff;
  transform: scale(1.08);
}

/* ─── SECTION 3: OUR CUSTOMIZATION PROCESS ────────────────────── */
.custom-process-section {
  background-color: #ffffff;
  padding: 95px 0;
}

.section-split-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 50px;
}

.section-sub-desc {
  color: var(--custom-body-text);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.process-stepper-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  position: relative;
  margin-top: 50px;
}

.process-stepper-row::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: #e2e8f0;
  z-index: 1;
}

.process-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  cursor: default;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--custom-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.step-circle svg {
  width: 19px;
  height: 19px;
  stroke: var(--custom-primary);
  stroke-width: 1.6;
  transition: transform 0.3s ease;
}

.process-step-item:hover .step-circle {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--custom-primary);
  background-color: #f0fdf4;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.22);
}

.process-step-item:hover .step-circle svg {
  transform: scale(1.06);
}

.step-num {
  display: block;
  color: var(--custom-muted-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 14px;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}

.process-step-item:hover .step-num {
  color: var(--custom-primary);
}

.step-label {
  color: var(--custom-dark-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 120px;
  transition: color 0.25s ease;
}

.process-step-item:hover .step-label {
  color: #111827;
  font-weight: 700;
}

/* ─── SECTION 4: WHAT WE OFFER (SERVICES CARDS) ───────────────── */
.custom-services-section {
  background-color: var(--custom-section-alt);
  padding: 95px 0;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-feature-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-feature-card:hover {
  transform: translateY(-6px);
  border-color: #86efac;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.08);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card-icon svg {
  width: 22px;
  height: 22px;
  transition: stroke 0.3s ease;
}

.service-feature-card:hover .service-card-icon {
  background-color: var(--custom-primary);
  transform: scale(1.06);
}

.service-feature-card:hover .service-card-icon svg {
  stroke: #ffffff;
}

.service-card-title {
  color: var(--custom-dark-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.service-card-desc {
  color: var(--custom-body-text);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

/* ─── SECTION 5: FAQ SECTION ──────────────────────────────────── */
.custom-faq-section {
  background-color: #ffffff;
  padding: 95px 0;
}

.faq-top-divider {
  width: 100%;
  height: 1px;
  background-color: #eef2f6;
  margin-top: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-accordion-item {
  border-bottom: 1px solid #eef2f6;
  background: transparent;
  transition: background-color 0.2s ease;
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question-text {
  color: var(--custom-dark-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding-right: 16px;
  transition: color 0.2s ease;
}

.faq-header:hover .faq-question-text {
  color: var(--custom-primary);
}

.faq-icon-toggle {
  font-size: 20px;
  font-weight: 400;
  color: var(--custom-primary);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-header:hover .faq-icon-toggle {
  transform: scale(1.15);
}

.faq-body-content {
  display: none;
  padding: 0 0 20px 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  max-width: 960px;
}

.faq-accordion-item.active .faq-body-content {
  display: block;
}

/* ─── SECTION 6: CTA BANNER ───────────────────────────────────── */
.custom-cta-section {
  background-color: #ffffff;
  padding: 80px 0 100px 0;
}

.cta-banner-wrapper {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 56px;
  align-items: center;
  box-shadow: none;
}

.cta-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-tag-sm {
  color: var(--custom-muted-text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-heading {
  color: var(--custom-dark-text);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}

.cta-desc {
  font-family: var(--custom-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--custom-body-text);
  margin-bottom: 28px;
}

.cta-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--custom-primary-dark);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.cta-contact-btn:hover {
  background-color: var(--custom-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.25);
}

.cta-contact-btn svg {
  transition: transform 0.2s ease;
}

.cta-contact-btn:hover svg {
  transform: translate(2px, -2px);
}

.cta-image-col {
  border-radius: var(--custom-radius-sm);
  overflow: hidden;
}

.cta-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cta-banner-wrapper:hover .cta-img {
  transform: scale(1.02);
}

/* ─── RESPONSIVE BREAKPOINTS ─────────────────────────────────── */

@media (max-width: 1200px) {
  .banner-content {
    padding: 120px 60px 0 60px;
  }

  .custom-stats-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .custom-stat-item:nth-child(4),
  .custom-stat-item:nth-child(5) {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 1024px) {
  .custom-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-custom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-split-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-stepper-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .process-stepper-row::before {
    display: none;
  }

  .cta-banner-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .custom-section {
    padding: 70px 0;
  }

  .banner {
    height: 420px;
  }

  .banner-content {
    padding: 100px 24px 0 24px;
  }

  .custom-stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .custom-badge-floating {
    left: 16px;
    bottom: 16px;
    max-width: 220px;
    padding: 16px 18px;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-item {
    border-right: none !important;
    border-bottom: 1px solid #eef2f6 !important;
  }

  .checklist-item-empty {
    display: none;
  }

  .checklist-item:nth-last-child(2) {
    border-bottom: none !important;
  }

  .process-stepper-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .custom-section {
    padding: 55px 0;
  }

  .banner {
    height: 400px;
    background-position: center 25%;
  }

  .banner-content {
    padding: 90px 20px 0 20px;
  }

  .banner-content h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .custom-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .custom-stat-item {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
  }

  .custom-stat-item:first-child {
    border-top: none;
    padding-top: 0;
  }

  .process-stepper-row {
    grid-template-columns: 1fr;
  }

  .cta-img {
    height: 220px;
  }
}