/* ========== Manufacturing Page Styles ========== */

/* Reset / Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette */
  --primary: #000777;        /* Main hero blue */
  --primary-dark: #000555;   /* Darker hero blue */
  --accent: #ff7a00;         /* Orange accent */
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -220px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.14) 0%, transparent 70%);
  filter: blur(2px);
  animation: mf-float 20s ease-in-out infinite;
}

@keyframes mf-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(160deg); }
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 122, 0, 0.14);
  border: 1px solid rgba(255, 122, 0, 0.45);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.96;
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  display: inline-block;
  cursor: pointer;
  will-change: transform;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.25);
}
.btn-primary:hover {
  background: #e66d00;
  border-color: #e66d00;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 122, 0, 0.32);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.stat { text-align: center; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1.1;
}
.stat-label { font-size: .95rem; opacity: .92; }

/* ========== Section Base Styles ========== */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}
.section-badge {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  margin-bottom: .75rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--primary);
  margin-bottom: .6rem;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ========== What We Do ========== */
.what-we-do { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0 0 0 0;
  background: linear-gradient(180deg, rgba(255,122,0,.06), transparent 40%);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #d7dee9;
  box-shadow: 0 14px 44px rgba(2, 6, 23, 0.10);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #ff7a00, #e66d00);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: .5rem;
  font-weight: 800;
}
.service-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-features { list-style: none; }
.service-features li {
  padding: .45rem 0;
  color: var(--text-dark);
  display: flex; align-items: center;
  gap: .6rem;
}
.service-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}

/* ========== How We Help ========== */
.how-we-help { background: var(--bg-light); }

.help-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: start;
}
.help-content h3 {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 800;
}
.help-content p {
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

.help-benefits {
  display: grid;
  gap: 1rem;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid #e5eaf2;
  transition: box-shadow .2s ease, transform .2s ease;
}
.benefit-item:hover {
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 44px; height: 44px;
  background: rgba(255,122,0,0.12);
  color: var(--accent);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-right: .9rem; flex-shrink: 0;
  font-size: 1.15rem;
}
.benefit-content h4 {
  color: var(--accent);
  margin-bottom: .25rem;
  font-weight: 800;
}
.benefit-content p {
  color: var(--text-light);
  font-size: .95rem;
  margin: 0;
}

/* ========== Standards ========== */
.standards { background: #fff; }

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.standards-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg-light);
  border-radius: 14px;
  border: 1px solid #e7edf6;
  transition: transform .2s ease, box-shadow .2s ease;
}
.standards-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
}
.standards-icon {
  font-size: 2.2rem;
  margin-bottom: .6rem;
}
.standards-item h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: .25rem;
  font-weight: 800;
}
.standards-item p {
  color: var(--text-light);
  font-size: .9rem;
}

/* ========== Why Choose Us ========== */
.why-us {
  background: linear-gradient(135deg, var(--accent), #e66d00);
  color: #fff;
  padding: 5rem 0;
}
.why-us .section-header h2 { color: #fff; }
.why-us .section-header p { color: rgba(255,255,255,0.92); }

.differentiators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.diff-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 1.6rem;
  text-align: center;
  transition: transform .2s ease, background .2s ease;
}
.diff-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.18);
}
.diff-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff; /* keep readable on orange */
  margin-bottom: .6rem;
}
.diff-card h3 {
  font-size: 1.05rem;
  margin-bottom: .35rem;
  font-weight: 800;
}
.diff-card p { opacity: .95; font-size: .95rem; }

/* ========== Process ========== */
.process { background: #fff; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.process-step {
  text-align: center;
  padding: 1.6rem;
}
.step-number {
  width: 60px; height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.35rem; font-weight: 800;
  margin: 0 auto 1rem;
}
.process-step h3 {
  color: var(--primary);
  margin-bottom: .4rem;
  font-weight: 800;
}
.process-step p { color: var(--text-light); }

/* ========== Final CTA ========== */
.final-cta {
  background: var(--bg-light);
  padding: 5rem 0;
  text-align: center;
}
.cta-box {
  background: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 4rem);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.10);
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid #e9eef7;
}
.cta-box h2 {
  color: var(--primary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .6rem;
  letter-spacing: -0.02em;
}
.cta-box p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}
.final-cta .btn-secondary {
  border-color: var(--primary);
  color: var(--primary);
}
.final-cta .btn-secondary:hover {
  background: rgba(0,7,119,0.08);
  border-color: var(--primary);
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent, #ff7a00);
    text-decoration: none;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .help-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 4.5rem 0; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .service-card, .benefit-item, .diff-card { transition: none !important; }
  .hero::before { animation: none !important; }
}
