:root {
  --surface-900: #ffffff;
  --surface-800: #f8fafc;
  --surface-700: #f1f5f9;
  --surface-overlay: rgba(255, 255, 255, 0.72);
  --card-overlay: rgba(255, 255, 255, 0.6);
  --accent: #f59e0b;
  --accent-strong: #ea580c;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --text-primary: #0f172a;
  --text-secondary: #1f2937;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 65px -24px rgba(2, 6, 23, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1 0 auto;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-secondary);
}

section {
  padding: 4.5rem 0;
}

.bg-surface {
  background-color: var(--surface-900);
}

.text-body {
  color: var(--text-primary);
}

.global-nav {
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px -18px rgba(2, 6, 23, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.global-nav.nav-scrolled {
  background: #ffffff;
  border-bottom-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 8px 24px -12px rgba(2, 6, 23, 0.18);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Ensure readable nav on light header even with navbar-dark markup */
.global-nav .navbar-brand,
.global-nav.navbar-dark .navbar-brand { color: var(--text-primary); }
.global-nav .navbar-nav .nav-link,
.global-nav.navbar-dark .navbar-nav .nav-link { color: #475569; }
.global-nav .navbar-nav .nav-link:hover,
.global-nav .navbar-nav .nav-link.active,
.global-nav.navbar-dark .navbar-nav .nav-link:hover,
.global-nav.navbar-dark .navbar-nav .nav-link.active { color: var(--text-primary); }
.global-nav .navbar-toggler { border-color: rgba(15, 23, 42, 0.25); }
.global-nav .navbar-toggler-icon { filter: invert(0) brightness(0) saturate(100%); }

.brand-logo {
  font-size: 1.25rem;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-link {
  color: #475569;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 12px 30px -14px rgba(234, 88, 12, 0.35);
  border: none;
}

.btn-brand:hover {
  color: #ffffff;
  box-shadow: 0 18px 40px -22px rgba(234, 88, 12, 0.35);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -25% -15% auto;
  height: 75%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, rgba(245, 158, 11, 0) 60%);
  transform: translateY(-20%);
  filter: blur(60px);
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 20% -10% -35% auto;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.22) 0%, rgba(234, 88, 12, 0) 70%);
  transform: rotate(18deg);
  filter: blur(55px);
  opacity: 0.7;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(2, 6, 23, 0.05);
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 35rem;
}

.hero-actions {
  gap: 1rem;
}

.hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px -28px rgba(2,6,23,0.12);
}

.hero-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.hero-card .stat-label {
  color: var(--text-muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.stat-tile {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 18px 38px -28px rgba(2, 6, 23, 0.12);
}

.stat-tile span {
  display: block;
}

.stat-tile .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-tile .stat-caption {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}

.section-heading {
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.section-description {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.feature-card,
.service-card,
.portfolio-card,
.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 16px 40px -28px rgba(2, 6, 23, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.portfolio-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 25px 60px -35px rgba(234, 88, 12, 0.25);
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.process-step {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  background: #ffffff;
}

.process-step span {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.cta-section {
  background: linear-gradient(115deg, rgba(245, 158, 11, 0.08), rgba(234, 88, 12, 0.06));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 2rem;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 16px 44px -24px rgba(2, 6, 23, 0.12);
}

.cta-section h3 {
  color: var(--text-secondary);
}

.list-group-item {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: var(--text-muted);
}

.form-control,
.form-select {
  background-color: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.55);
}

.footer-section {
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-text {
  color: var(--text-muted);
  max-width: 28rem;
}

.footer-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.footer-list li {
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.footer-link {
  color: var(--accent);
}

.footer-link:hover {
  color: var(--accent-strong);
}

.card-img-top {
  border-radius: 1.1rem;
}

.portfolio-card img {
  border-radius: 1.2rem;
  margin-bottom: 1.5rem;
}

.badge-outline {
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .global-nav {
    background: #ffffff;
  }

  .hero {
    padding-top: 5.5rem;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .cta-section {
    padding: 2.25rem;
  }
}

@media (max-width: 575.98px) {
  .hero-card {
    margin-top: 2.5rem;
  }

  .stat-grid {
    gap: 1rem;
  }
}
.portfolio-media {
  position: relative;
  padding: 2.75rem 2rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background: #ffffff;
  overflow: hidden;
}

.portfolio-media::after {
  content: '';
  position: absolute;
  inset: 35% -25% -60% 45%;
  background: radial-gradient(circle, rgba(92, 225, 185, 0.4) 0%, rgba(92, 225, 185, 0) 72%);
  filter: blur(55px);
}

.portfolio-media-steel {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(30, 58, 138, 0.85));
}

.portfolio-media-electro {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(8, 47, 73, 0.85));
}

.portfolio-media-export {
  background: linear-gradient(135deg, rgba(92, 225, 185, 0.25), rgba(16, 185, 129, 0.75));
}
.text-muted {
  color: var(--text-muted) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.btn-outline-light {
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  border-width: 1.5px;
  border-color: rgba(15, 23, 42, 0.25);
  color: #1f2937;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(2, 6, 23, 0.06);
  color: #0f172a;
}
.contact-alert {
  background: rgba(92, 225, 185, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}
.advantage-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 18px 44px -28px rgba(2, 6, 23, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 26px 64px -36px rgba(234, 88, 12, 0.22);
}

.icon-stack {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  margin: 0 auto 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 225, 185, 0.1);
  color: var(--accent);
}

.icon-stack svg {
  width: 2.6rem;
  height: 2.6rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.section-soft {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 3.2rem;
  box-shadow: 0 35px 90px -50px rgba(2, 6, 23, 0.12);
}

.section-soft-alt {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(234, 88, 12, 0.04));
}

.split-content h3 {
  color: var(--text-secondary);
}

.split-content p {
  color: var(--text-muted);
}

.split-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.split-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.split-list li::before {
  content: '';
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  top: 0.4rem;
  left: 0.55rem;
  box-shadow: 0 0 0 0.2rem rgba(92, 225, 185, 0.2);
}

.showcase-visual {
  position: relative;
  border-radius: 1.9rem;
  border: 1px solid var(--border);
  min-height: 320px;
  overflow: hidden;
  background: #ffffff;
}

.showcase-visual::before,
.showcase-visual::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.8;
}

.showcase-visual::before {
  width: 320px;
  height: 320px;
  background: rgba(234, 88, 12, 0.12);
  top: -120px;
  right: -60px;
}

.showcase-visual::after {
  width: 280px;
  height: 280px;
  background: rgba(245, 158, 11, 0.12);
  bottom: -120px;
  left: -40px;
}

.showcase-visual-planning {
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.2), rgba(12, 21, 42, 0.9));
}

.showcase-visual-logistics {
  background: linear-gradient(140deg, rgba(16, 185, 129, 0.22), rgba(7, 16, 36, 0.9));
}

@media (max-width: 767.98px) {
  .section-soft {
    padding: 2.4rem;
  }

  .icon-stack {
    margin-bottom: 1rem;
  }
}



/* Construction media icon */
.card-media-icon { width:56px;height:56px;display:inline-block;margin-bottom:1rem;color:var(--accent);}

/* Hero construction illustration */
.hero { background-image: url('/assets/img/hero-bg.svg'); background-repeat: no-repeat; background-position: right -40px bottom -20px; background-size: min(52vw, 620px); }
@media (max-width: 991.98px){ .hero{ background-size: 0; } }
