/* ==============================================
   MASTERPLAST — INNER PAGES SHARED STYLES
   Extends style.css without overriding homepage
   ============================================== */

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, #00215E 0%, #111827 55%, #1f0000 100%);
  padding: 130px 0 90px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  right: -220px;
  top: -220px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(208, 0, 0, 0.12);
  left: -120px;
  bottom: -220px;
  pointer-events: none;
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.18;
}

.page-hero p.hero-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.page-hero .hero-image-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero .hero-image-col img {
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
}

.breadcrumb-nav a:hover {
  color: #fff;
}

.breadcrumb-nav .sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

.breadcrumb-nav .current {
  color: var(--tx-primary-color);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Page Label Tag ---------- */
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(208, 0, 0, 0.15);
  border: 1px solid rgba(208, 0, 0, 0.3);
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

/* ---------- Value / Feature Cards ---------- */
.value-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid #eaeaea;
  box-shadow: var(--tx-box-shadow);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.value-card::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: var(--tx-primary-color);
  filter: blur(90px);
  opacity: 0.06;
  z-index: 0;
}

.value-card .card-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tx-primary-color);
  border-radius: 50%;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.value-card .card-icon svg,
.value-card .card-icon i {
  color: #fff;
  fill: #fff;
  font-size: 28px;
}

.value-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* ---------- Split Sections ---------- */
.split-section {
  padding: 80px 0;
}

.split-section .split-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  position: relative;
}

.split-section .split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  display: block;
}

.split-section .split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

@media (max-width: 991px) {
  .split-section .split-image img {
    min-height: 280px;
  }
}

/* ---------- Section Label ---------- */
.section-label {
  display: inline-flex;
  color: var(--tx-primary-color);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  position: relative;
}

.section-label::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--tx-primary-color);
}


.manufacturing .section-label::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 26%;
  height: 2px;
  background: var(--tx-primary-color);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--tx-navy-blue) 0%, #0d0d3b 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(208, 0, 0, 0.12);
  right: -150px;
  top: -150px;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-banner .position-relative {
  z-index: 1;
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--tx-navy-blue);
  border-color: #fff;
}

/* ---------- Product Tab Sections ---------- */
.product-application-tabs {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.product-application-tabs .nav-link {
  border: 2px solid #e0e0e0 !important;
  border-radius: 50px !important;
  color: var(--tx-htag-color);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 22px;
  transition: all 0.3s ease;
  background: transparent;
}

.product-application-tabs .nav-link:hover,
.product-application-tabs .nav-link.active {
  background: var(--tx-primary-color) !important;
  border-color: var(--tx-primary-color) !important;
  color: #fff !important;
}

/* ---------- Product Cards ---------- */
.product-item-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ececec;
  padding: 28px 24px;
  box-shadow: var(--tx-box-shadow);
  height: 100%;
  transition: all 0.3s ease;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.product-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--tx-primary-color);
}

.product-item-card .product-tag {
  display: inline-block;
  background: #fff0f0;
  color: var(--tx-primary-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.product-item-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--tx-htag-color);
}

.product-item-card p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
  color: var(--tx-body-font);
}

/* ---------- Stat Strip ---------- */
.stat-strip {
  background: var(--tx-primary-color);
  padding: 50px 0;
}

.stat-strip .stat-item {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-strip .stat-item:last-child {
  border-right: none;
}

.stat-strip .stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-strip .stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .stat-strip .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .stat-strip .stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}

/* ---------- Application Grid Cards ---------- */
.application-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--tx-box-shadow);
  transition: all 0.3s ease;
  margin-top: 24px;
  cursor: default;
}

.application-card:hover {
  border-color: var(--tx-primary-color);
  box-shadow: 0 15px 40px rgba(208, 0, 0, 0.1);
}

.application-card .app-icon {
  font-size: 2rem;
  color: var(--tx-primary-color);
  margin-bottom: 14px;
  display: block;
}

.application-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* ---------- Inner Page Contact Form ---------- */
.contact-info-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  padding: 32px 28px;
  box-shadow: var(--tx-box-shadow);
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--tx-primary-color);
  box-shadow: 0 15px 50px rgba(208, 0, 0, 0.08);
}

.contact-info-card .ci-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--tx-primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card .ci-icon i {
  color: #fff;
  font-size: 22px;
}

.contact-info-card .ci-body h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card .ci-body p,
.contact-info-card .ci-body a {
  font-size: 15px;
  color: var(--tx-body-font);
  margin-bottom: 0;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-card .ci-body a:hover {
  color: var(--tx-primary-color);
}

/* ---------- Careers Form / Openings ---------- */
.openings-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  box-shadow: var(--tx-box-shadow);
  padding: 40px;
  text-align: center;
}

.openings-card .oc-icon {
  font-size: 3rem;
  color: var(--tx-primary-color);
  margin-bottom: 20px;
}

.openings-card h4 {
  margin-bottom: 14px;
}

.openings-card p {
  max-width: 500px;
  margin: 0 auto 24px;
}

/* ---------- Culture Cards ---------- */
.culture-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  box-shadow: var(--tx-box-shadow);
  padding: 32px 26px;
  height: 100%;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.culture-card:hover {
  border-color: var(--tx-primary-color);
  transform: translateY(-4px);
}

.culture-card .cc-icon {
  width: 56px;
  height: 56px;
  background: #fff0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.culture-card .cc-icon i {
  color: var(--tx-primary-color);
  font-size: 22px;
}

.culture-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.65;
}

/* ---------- Benefit Tags ---------- */
.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tx-htag-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.benefit-tag:hover {
  border-color: var(--tx-primary-color);
  background: #fff0f0;
  color: var(--tx-primary-color);
}

.benefit-tag i {
  color: var(--tx-primary-color);
}

/* ---------- Dark Feature Section ---------- */
.dark-feature-section {
  background: #111827;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.dark-feature-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(208, 0, 0, 0.06);
  right: -150px;
  bottom: -150px;
}

.dark-feature-section .section-title h4 {
  color: #ff6b6b;
}

.dark-feature-section .section-title h3 {
  color: #fff;
}

.dark-feature-section .section-title p {
  color: rgba(255, 255, 255, 0.6);
}

.dark-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 36px 28px;
  height: 100%;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.dark-feature-card:hover {
  background: rgba(208, 0, 0, 0.1);
  border-color: rgba(208, 0, 0, 0.3);
  transform: translateY(-5px);
}

.dark-feature-card .df-icon {
  font-size: 2.2rem;
  color: var(--tx-primary-color);
  margin-bottom: 20px;
  display: block;
}

.dark-feature-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.dark-feature-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ---------- Image overlay card ---------- */
.img-overlay-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.img-overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
  display: block;
  transition: transform 0.5s ease;
}

.img-overlay-card:hover img {
  transform: scale(1.04);
}

.img-overlay-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  padding: 30px 28px;
}

.img-overlay-card .overlay h4 {
  color: #fff;
  margin-bottom: 6px;
}

.img-overlay-card .overlay p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- Upload Field ---------- */
.file-upload-field {
  position: relative;
}

.file-upload-field input[type="file"] {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid var(--tx-htag-color);
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  color: var(--tx-body-font);
  transition: border-color 0.3s;
}

.file-upload-field input[type="file"]:focus {
  border-color: var(--tx-primary-color);
  outline: none;
}

/* ---------- Product header section (Masterbatches) ---------- */
.app-section-header {
  padding: 48px 0 20px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 36px;
}

.app-section-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.app-section-header h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: var(--tx-primary-color);
  border-radius: 2px;
}

/* ---------- Responsive helpers ---------- */
@media (max-width: 767px) {
  .page-hero {
    padding: 100px 0 60px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .split-section {
    padding: 50px 0;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .stat-strip .stat-item {
    padding: 10px;
  }

  .section-pd {
    padding: 60px 0;
  }

  .product-application-tabs {
    justify-content: flex-start;
  }

  .value-card,
  .dark-feature-card,
  .culture-card,
  .product-item-card {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .contact-info-card {
    flex-direction: column;
    align-items: flex-start;
  }
}