/* SECTION */
.factory-hero {
  position: relative;
  padding: 120px 40px;
  background: #071327;
  overflow: hidden;
  font-family: Inter, system-ui;
}

/* BACKGROUND IMAGE + GRADIENT */
.factory-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(90deg, rgba(7,19,39,0.95) 20%, rgba(7,19,39,0.7) 50%, rgba(7,19,39,0.3)),
    url("../images/manufacturing/herosecbg.jpg");

  background-size: cover;
  background-position: center right;
  opacity: 0.9;
  z-index: 0;
}

/* CONTAINER */
.factory-container {
  position: relative;
  z-index: 2;

  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */
.factory-content {
  max-width: 600px;
}

/* BADGE */
.factory-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 18px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;

  color: #6ea8ff;
  background: rgba(30, 60, 110, 0.4);
  border: 1px solid rgba(80,140,255,.25);

  margin-bottom: 26px;
}

/* TITLE */
.factory-title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.factory-title span {
  color: #ff6b1b;
}

/* DESC */
.factory-desc {
  font-size: 18px;
  line-height: 1.6;
  color: #9fb1c7;
  margin-bottom: 34px;
}

/* BUTTONS */
.factory-actions {
  display: flex;
  gap: 18px;
}

/* PRIMARY */
.btn-primary {
  background: #ff6b1b;
  color: white;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(255,107,27,.3);
  transition: all .3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(255,107,27,.5);
}

/* SECONDARY */
.btn-secondary {
  padding: 16px 28px;
  border-radius: 10px;

  color: #d3dbe7;
  border: 1px solid rgba(255,255,255,.2);
  text-decoration: none;

  background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px);

  transition: all .3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.1);
}

/* IMAGE */
.factory-media {
  display: flex;
  justify-content: center;
}

.factory-image {
  position: relative;
  max-width: 540px;
  border-radius: 20px;
  overflow: hidden;

  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 50px rgba(255,107,27,.2);
}

/* IMAGE */
.factory-image img {
  width: 100%;
  display: block;
}

/* GLOW EFFECT */
.factory-image::after {
  content: "";
  position: absolute;
  inset: -20px;

  background: radial-gradient(
    circle,
    rgba(255,107,27,.25),
    transparent 60%
  );

  z-index: -1;
}

/* ======================
   ANIMATION
====================== */
.factory-content > * {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .9s ease forwards;
}

.factory-content > *:nth-child(1){ animation-delay:.1s }
.factory-content > *:nth-child(2){ animation-delay:.2s }
.factory-content > *:nth-child(3){ animation-delay:.3s }
.factory-content > *:nth-child(4){ animation-delay:.4s }

.factory-image {
  opacity: 0;
  transform: translateY(40px) scale(.95);
  animation: fadeUp .9s .4s ease forwards;
}

/* KEYFRAME */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 1000px) {

  .factory-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .factory-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .factory-title {
    font-size: 42px;
  }

  .factory-media {
    margin-top: 40px;
  }
}
/* shift-section  */

/* SECTION */
.shift-section {
  padding: 120px 20px;
  background: #f3f4f6;
  font-family: Inter, system-ui;
}

/* CONTAINER */
.shift-container {
  max-width: 820px;
  margin: auto;
  text-align: center;
}

/* TITLE */
.shift-title {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

/* ORANGE LINE */
.shift-line {
  display: block;
  width: 70px;
  height: 4px;
  background: #f25c0d;
  margin: 0 auto 28px;
  border-radius: 2px;

  transform: scaleX(0);
  transform-origin: center;
  animation: lineGrow .6s ease forwards .4s;
}

/* DESCRIPTION */
.shift-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #64748b;
  max-width: 720px;
  margin: auto;
}

/* ======================
   ANIMATION
====================== */
.shift-title,
.shift-desc {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s ease forwards;
}

.shift-title { animation-delay: .1s; }
.shift-desc { animation-delay: .3s; }

/* KEYFRAMES */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {

  .shift-title {
    font-size: 28px;
  }

  .shift-desc {
    font-size: 16px;
  }

  .shift-section {
    padding: 80px 20px;
  }
}

/* capabilities */

/* SECTION */
.capabilities {
  background: linear-gradient(180deg,#071327,#081a34);
  padding: 120px 40px;
  font-family: Inter, system-ui;
}

/* CONTAINER */
.cap-container {
  max-width: 1300px;
  margin: auto;
}

/* HEADER */
.cap-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 40px;
}

.cap-badge {
  color: #f25c0d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cap-header h2 {
  font-size: 42px;
  color: #ffffff;
  margin-top: 10px;
}

.cap-header p {
  color: #8ea2bd;
  max-width: 420px;
  line-height: 1.6;
}

/* GRID */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* CARD */
.cap-card {
  background: #162b49;
  border-radius: 18px;
  padding: 28px;

  border: 1px solid rgba(80,140,255,.15);

  transition: all .35s ease;
  position: relative;
  overflow: hidden;

  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .7s ease forwards;
}

/* stagger */
.cap-card:nth-child(1){ animation-delay:.2s }
.cap-card:nth-child(2){ animation-delay:.4s }
.cap-card:nth-child(3){ animation-delay:.6s }
.cap-card:nth-child(4){ animation-delay:.8s }

/* hover glow */
.cap-card:hover {
  transform: translateY(-8px);
  border-color: rgba(80,140,255,.4);

  box-shadow:
    0 20px 50px rgba(0,0,0,.4),
    0 0 30px rgba(80,140,255,.2);
}

/* ICON */
.cap-icon {
  font-size: 24px;
  margin-bottom: 18px;
  color: #5c8fff;
}

/* TITLE */
.cap-card h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 12px;
}

/* TEXT */
.cap-card p {
  color: #8ea2bd;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* LINK */
.cap-card a {
  color: #f25c0d;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  position: relative;
}

/* underline anim */
.cap-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #f25c0d;
  transition: .3s;
}

.cap-card a:hover::after {
  width: 100%;
}

/* subtle shine */
.cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 200%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.15),
    transparent
  );

  transition: .7s;
}

.cap-card:hover::before {
  left: 120%;
}

/* ANIMATION */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-header {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cap-header h2 {
    font-size: 30px;
  }
}
/*  */


/* ARCHITECTURE  */
/* SECTION */
.edge-section {
  padding: 120px 40px;
  background: #f3f4f6;
  font-family: Inter, system-ui;
}

/* CONTAINER */
.edge-container {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* IMAGE */
.edge-image {
  position: relative;
  border-radius: 24px;
  overflow: visible; /* important for floating card */
  max-width: 560px;
}

/* 🔥 PERFECT IMAGE FIT */
.edge-image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
}

/* FLOATING CARD */
.edge-card {
  position: absolute;
  bottom: -30px;
  left: 40px;

  background: #1f3658;
  color: white;

  padding: 20px 24px;
  border-radius: 16px;

  display: flex;
  gap: 14px;
  align-items: flex-start;

  max-width: 320px;

  box-shadow:
    0 25px 60px rgba(0,0,0,.25);

  animation: floatCard 5s ease-in-out infinite;
}

.edge-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.edge-card p {
  font-size: 13px;
  opacity: .85;
}

/* ICON */
.edge-card-icon {
  font-size: 18px;
}

/* CONTENT */
.edge-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.edge-desc {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* ITEM */
.edge-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.edge-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0f172a;
}

.edge-item p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* ICON BOX */
.edge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
}

.edge-icon.blue {
  background: #e3ecff;
  color: #4f7cff;
}

/* FLOAT ANIMATION */
@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ======================
   ANIMATION
====================== */
.edge-media,
.edge-content > * {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .9s ease forwards;
}

.edge-content > *:nth-child(1){ animation-delay:.2s }
.edge-content > *:nth-child(2){ animation-delay:.3s }
.edge-content > *:nth-child(3){ animation-delay:.4s }
.edge-content > *:nth-child(4){ animation-delay:.5s }

/* KEYFRAME */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 1000px) {

  .edge-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .edge-item {
    justify-content: center;
    text-align: left;
  }

  .edge-image {
    margin: auto;
  }

  .edge-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }
}

/* TRANSFORMATION  */

/* SECTION */
.transform-section {
  background: linear-gradient(180deg,#071327,#0b1f3f);
  padding: 120px 40px;
  font-family: Inter, system-ui;
}

/* CONTAINER */
.transform-container {
  max-width: 1300px;
  margin: auto;
}

/* HEADER */
.transform-header {
  text-align: center;
  margin-bottom: 70px;
}

.transform-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.transform-header p {
  color: #8ea2bd;
  font-size: 16px;
}

/* GRID */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* CARD */
.transform-card {
  transition: all .35s ease;
}

/* IMAGE WRAPPER */
.transform-img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

/* IMAGE */
.transform-img img {
  width: 100%;
  height: 260px;          /* 🔥 EXACT CONTROL */
  object-fit: cover;      /* 🔥 PERFECT FIT */
  display: block;
  transition: transform .6s ease;
}

/* HOVER ZOOM */
.transform-card:hover img {
  transform: scale(1.05);
}

/* TEXT */
.transform-card h3 {
  margin-top: 18px;
  font-size: 20px;
  color: #dbe4f0;
}

.transform-card p {
  font-size: 15px;
  color: #7c8ea8;
  line-height: 1.6;
  margin-top: 6px;
}

/* ACCENT (RIGHT SIDE) */
.accent {
  color: #ff6b1b;
}

/* 🔥 GLOW BORDER EFFECT */
.glow {
  position: relative;
}

.glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;

  background: linear-gradient(
    120deg,
    rgba(255,107,27,.4),
    rgba(80,140,255,.2),
    transparent
  );

  z-index: -1;
  filter: blur(10px);
}

/* CARD HOVER */
.transform-card:hover {
  transform: translateY(-8px);
}

/* ======================
   ANIMATION
====================== */
.transform-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .8s ease forwards;
}

.transform-card:nth-child(1){ animation-delay:.2s }
.transform-card:nth-child(2){ animation-delay:.4s }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 900px) {

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

  .transform-header h2 {
    font-size: 32px;
  }

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

/* impact  */

/* SECTION */
.impact-section {
  background: #f3f4f6;
  padding: 120px 40px;
  font-family: Inter, system-ui;
}

/* CONTAINER */
.impact-container {
  max-width: 1300px;
  margin: auto;
}

/* HEADER */
.impact-header {
  text-align: center;
  margin-bottom: 70px;
}

.impact-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.impact-header p {
  font-size: 16px;
  color: #7b8ba5;
}

/* GRID */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* CARD */
.impact-card {
  background: #2b4469;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;

  color: #fff;

  box-shadow: 0 15px 40px rgba(0,0,0,.15);
  transition: all .35s ease;
}

/* NUMBER */
.impact-card h3 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* TITLE */
.impact-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* DESCRIPTION */
.impact-card p {
  font-size: 14px;
  color: #b8c4d8;
  line-height: 1.6;
}

/* COLORS */
.orange { color: #ff6b1b; }
.blue   { color: #4f7cff; }
.green  { color: #22c55e; }

/* HOVER */
.impact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

/* SUBTLE GLOW ON HOVER */
.impact-card:hover h3 {
  text-shadow: 0 0 20px rgba(255,255,255,.2);
}

/* ANIMATION */
.impact-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .8s ease forwards;
}

.impact-card:nth-child(1){ animation-delay:.2s }
.impact-card:nth-child(2){ animation-delay:.4s }
.impact-card:nth-child(3){ animation-delay:.6s }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-header h2 {
    font-size: 32px;
  }
}


/* CTA  */

/* SECTION */
.cta-section {
  background: linear-gradient(180deg,#071327,#0b1f3f);
  padding: 120px 40px;
  font-family: Inter, system-ui;
}

/* WRAPPER */
.cta-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;

  border-radius: 24px;
  overflow: hidden;

  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* =====================
   LEFT (ORANGE)
===================== */
.cta-left {
  background: #ff7a2f;
  padding: 60px 50px;
  color: #0f172a;
}

.cta-left h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-left p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* LIST */
.cta-left ul {
  list-style: none;
  padding: 0;
}

.cta-left li {
  margin-bottom: 14px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =====================
   RIGHT (FORM)
===================== */
.cta-right {
  background: linear-gradient(180deg,#142c4a,#0e213b);
  padding: 50px;
}

/* FORM */
.cta-right form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ROW */
.row {
  display: flex;
  gap: 16px;
}

/* INPUT */
.cta-right input,
.cta-right textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 10px;

  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);

  color: #fff;
  font-size: 14px;

  outline: none;
  transition: all .3s ease;
}

/* TEXTAREA */
.cta-right textarea {
  height: 120px;
  resize: none;
}

/* PLACEHOLDER */
.cta-right input::placeholder,
.cta-right textarea::placeholder {
  color: #7f93ad;
}

/* FOCUS */
.cta-right input:focus,
.cta-right textarea:focus {
  border-color: #ff7a2f;
  background: rgba(255,255,255,.05);
}

/* BUTTON */
.cta-right button {
  margin-top: 10px;
  padding: 16px;
  border-radius: 12px;
  border: none;

  background: #ff7a2f;
  color: white;
  font-size: 16px;
  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 10px 30px rgba(255,122,47,.3);
  transition: all .3s ease;
}

/* BUTTON HOVER */
.cta-right button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255,122,47,.5);
}

/* =====================
   ANIMATION
===================== */
.cta-left,
.cta-right {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .8s ease forwards;
}

.cta-right { animation-delay: .2s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {

  .cta-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-left {
    text-align: center;
  }

  .row {
    flex-direction: column;
  }

  .cta-left h2 {
    font-size: 32px;
  }
}

/* BUTTONS  */

/* =================================
   MANUFACTURING PAGE BUTTON EFFECTS
   matched to actual button colors
   ================================= */

.btn-primary,
.btn-secondary,
.cta-section form button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    color .45s ease,
    background-color .45s ease,
    background .45s ease,
    border-color .45s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

/* animated layers */
.btn-primary::before,
.btn-secondary::before,
.cta-section form button::before,
.btn-primary::after,
.btn-secondary::after,
.cta-section form button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    opacity .35s ease,
    background .45s ease;
}

/* subtle fill sweep */
.btn-primary::before,
.btn-secondary::before,
.cta-section form button::before {
  transform: translateX(-102%);
}

/* gloss sweep */
.btn-primary::after,
.btn-secondary::after,
.cta-section form button::after {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.07) 35%,
    rgba(255,255,255,.16) 50%,
    rgba(255,255,255,.07) 65%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-20deg);
  opacity: 0;
}

.btn-primary:hover,
.btn-secondary:hover,
.cta-section form button:hover {
  transform: translateY(-3px);
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.cta-section form button:hover::before {
  transform: translateX(0);
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.cta-section form button:hover::after {
  transform: translateX(130%) skewX(-20deg);
  opacity: 1;
}

.btn-primary:active,
.btn-secondary:active,
.cta-section form button:active {
  transform: translateY(-1px);
}

/* keep label above layers */
.btn-primary,
.btn-secondary,
.cta-section form button {
  z-index: 1;
}

/* ---------------------------------
   PRIMARY BUTTON
   orange solid -> subtle orange glass
   --------------------------------- */
.btn-primary {
  background: #ff7a32;
  color: #fff !important;
  border: 1px solid #ff7a32;
  box-shadow: 0 12px 32px rgba(255,120,40,.30);
}

.btn-primary::before {
  background: rgba(255,122,50,.05);
}

.btn-primary:hover {
  background: rgba(255,122,50,.02);
  color: #ff7a32 !important;
  border-color: #ff7a32;
  box-shadow:
    0 0 0 1px rgba(255,122,50,.12),
    0 14px 30px rgba(255,120,40,.14);
}

/* ---------------------------------
   SECONDARY BUTTON
   translucent -> slightly brighter
   --------------------------------- */
.btn-secondary {
  background: rgba(255,255,255,.03);
  color: #ecf2fb !important;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.btn-secondary::before {
  background: rgba(255,255,255,.03);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.035);
  color: #ffffff !important;
  border-color: rgba(255,255,255,.20);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 12px 26px rgba(0,0,0,.16);
}

/* ---------------------------------
   FORM CTA BUTTON
   orange solid -> subtle orange glass
   --------------------------------- */
.cta-section form button {
  background: #ff7a32;
  color: #fff !important;
  border: 1px solid #ff7a32;
  box-shadow: 0 10px 25px rgba(255,122,50,.35);
}

.cta-section form button::before {
  background: rgba(255,122,50,.05);
}

.cta-section form button:hover {
  background: rgba(255,122,50,.02);
  color: #ff7a32 !important;
  border-color: #ff7a32;
  box-shadow:
    0 0 0 1px rgba(255,122,50,.12),
    0 16px 32px rgba(255,122,50,.16);
}

/* focus */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.cta-section form button:focus-visible {
  outline: 2px solid rgba(90,150,255,.7);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-secondary,
  .cta-section form button,
  .btn-primary::before,
  .btn-secondary::before,
  .cta-section form button::before,
  .btn-primary::after,
  .btn-secondary::after,
  .cta-section form button::after {
    transition: none !important;
  }
}

/* =========================================
   GLOBAL RESPONSIVE IMPROVEMENTS
========================================= */

/* prevent overflow issues */
html, body {
  overflow-x: hidden;
}

/* better image handling */
img {
  max-width: 100%;
  height: auto;
}

/* smoother scaling typography */
h1, h2, h3 {
  word-break: break-word;
}


/* =========================================
   HERO SECTION (CRITICAL FIXES)
========================================= */

@media (max-width: 1200px) {
  .factory-container {
    gap: 50px;
  }

  .factory-title {
    font-size: 52px;
  }
}

@media (max-width: 1000px) {

  .factory-hero {
    padding: 80px 20px;
  }

  .factory-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .factory-content {
    margin: auto;
  }

  .factory-title {
    font-size: 42px;
  }

  .factory-desc {
    font-size: 16px;
  }

  .factory-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .factory-image {
    max-width: 100%;
  }
}

@media (max-width: 600px) {

  .factory-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .factory-desc {
    font-size: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}


/* =========================================
   SHIFT SECTION
========================================= */

@media (max-width: 600px) {

  .shift-title {
    font-size: 24px;
  }

  .shift-desc {
    font-size: 15px;
    line-height: 1.6;
  }

}


/* =========================================
   CAPABILITIES GRID
========================================= */

@media (max-width: 1200px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cap-card {
    padding: 22px;
  }

  .cap-header h2 {
    font-size: 28px;
  }

  .cap-header p {
    font-size: 14px;
  }
}


/* =========================================
   EDGE SECTION (IMPORTANT FIX)
========================================= */

@media (max-width: 1000px) {

  .edge-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .edge-image {
    margin: auto;
  }

  .edge-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .edge-item {
    justify-content: center;
  }

}

@media (max-width: 600px) {

  .edge-content h2 {
    font-size: 28px;
  }

  .edge-desc {
    font-size: 15px;
  }

  .edge-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

}


/* =========================================
   TRANSFORMATION SECTION
========================================= */

@media (max-width: 1000px) {
  .transform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .transform-header h2 {
    font-size: 26px;
  }

  .transform-img img {
    height: 200px;
  }

  .transform-card h3 {
    font-size: 18px;
  }

  .transform-card p {
    font-size: 14px;
  }
}


/* =========================================
   IMPACT SECTION
========================================= */

@media (max-width: 1000px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {

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

  .impact-card {
    padding: 30px 20px;
  }

  .impact-card h3 {
    font-size: 36px;
  }

  .impact-header h2 {
    font-size: 26px;
  }
}


/* =========================================
   CTA SECTION (IMPORTANT FIX)
========================================= */

@media (max-width: 1000px) {

  .cta-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-left,
  .cta-right {
    padding: 40px 25px;
  }

  .cta-left {
    text-align: center;
  }

}

@media (max-width: 600px) {

  .cta-left h2 {
    font-size: 26px;
  }

  .cta-left p {
    font-size: 14px;
  }

  .cta-right input,
  .cta-right textarea {
    font-size: 13px;
    padding: 14px;
  }

  .cta-right button {
    font-size: 14px;
  }

  .row {
    flex-direction: column;
  }

}


/* =========================================
   EXTRA POLISH (PRO LEVEL)
========================================= */

/* better tap spacing for mobile */
@media (max-width: 600px) {
  a, button {
    min-height: 44px;
  }
}

/* reduce heavy shadows on mobile */
@media (max-width: 600px) {
  .factory-image,
  .cap-card,
  .impact-card {
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
  }
}

/* reduce animation jank on mobile */
@media (max-width: 768px) {
  * {
    animation-duration: 0.6s !important;
  }
}

/* =========================================
   EDGE FLOATING CARD - RESPONSIVE FIX
========================================= */

.edge-card {
  position: absolute;
  bottom: -30px;
  left: 30px;

  background: #1f3658;
  color: white;

  padding: 20px 24px;
  border-radius: 16px;

  display: flex;
  gap: 14px;
  align-items: flex-start;

  max-width: 320px;
  width: calc(100% - 60px); /* 🔥 responsive width */

  box-shadow: 0 25px 60px rgba(0,0,0,.25);

  animation: floatCard 5s ease-in-out infinite;
}


/* ======================
   TABLET FIX
====================== */
@media (max-width: 1000px) {

  .edge-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;

    width: 90%;
    max-width: 340px;
  }

}


/* ======================
   MOBILE FIX
====================== */
@media (max-width: 600px) {

  .edge-card {
    position: relative;   /* 🔥 KEY FIX */
    bottom: auto;
    left: auto;
    transform: none;

    margin: 20px auto 0;
    width: 100%;
    max-width: 100%;

    text-align: left;
  }

  .edge-image {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

}