/* =====================================================================
   MAGNARC – Complete Theme Stylesheet
   Color Palette:
     Primary Red:   #c8102e
     Gold/Accent:   #c8a84b
     Dark BG:       #0d0d0d  /  #111111
     Mid Dark:      #1a1a1a  /  #222222
     Text Light:    #e8e8e8
     Text Muted:    #a0a0a0
   ===================================================================== */

/* ------------------- RESET & BASE ------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Barlow', sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color .25s; }
img { display: block; width: 100%; height: auto; }
ul { list-style: none; }

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------- UTILITY ------------------- */
.section-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 6px;
  text-align: center;
}
.section-label.light { color: #c8a84b; }

.section-title {
  font-family: 'Barlow', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111111;
  text-align: center;
  line-height: 1.2;
}
.section-title.light { color: #fff; }

.section-divider {
  width: 50px;
  height: 3px;
  background: #c8102e;
  margin: 10px auto 35px;
  border-radius: 2px;
}

/* ------------------- BUTTONS ------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
}

.btn-primary {
  background: #e51837;
  color: #ffffff;
}
.btn-primary:hover {
  background: #c8102e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229,24,55,0.4);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  border: 1.5px solid #c8102e;
  color: #c8102e;
  border-radius: 3px;
  transition: all .25s;
}
.btn-outline-sm:hover {
  background: #c8102e;
  color: #fff;
  transform: translateY(-2px);
}

.btn-arrow { font-size: 15px; }
.full-width { width: 100%; justify-content: center; }

/* ------------------- TOPBAR ------------------- */
.topbar {
  background: #0d0d0d;
  color: #ffffff;
  padding: 8px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1002;
  width: 100%;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 11.5px;
  color: #ffffff;
  text-transform: uppercase;
}
.topbar-gold-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: #c8a84b;
}
.topbar-tag {
  color: #ffffff;
}
.topbar-since {
  color: #c8a84b;
  font-weight: 800;
  margin-left: 4px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.85);
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s;
}
.topbar-link svg {
  flex-shrink: 0;
  fill: #c8a84b;
}
.topbar-link:hover {
  color: #c8a84b;
}

/* ------------------- HEADER ------------------- */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
}
body.admin-bar .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  min-height: 74px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon img,
.magnarc-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #c8102e;
  letter-spacing: 0.5px;
  line-height: 0.95;
}
.logo-company {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.4px;
  line-height: 1.2;
  margin-top: 3px;
}
.logo-tagline {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #555555;
  margin-top: 2px;
}
.logo-since {
  color: #c8102e;
  font-weight: 800;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}
.nav-mobile-cta {
  display: none;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li {
  position: relative;
  list-style: none;
}
.nav-list li a,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-list li a::after,
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #c8102e;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-list li a:hover,
.nav-list li.current-menu-item > a,
.nav-link:hover,
.nav-link.active {
  color: #c8102e;
}
.nav-list li a:hover::after,
.nav-list li.current-menu-item > a::after,
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.has-dropdown,
.menu-item-has-children {
  position: relative;
}
.nav-arrow { margin-left: 2px; }
.dropdown,
.nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-top: 3px solid #c8102e;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 220px;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .25s ease;
  z-index: 100;
  list-style: none;
  padding: 6px 0;
  margin: 0;
}
.has-dropdown:hover .dropdown,
.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a,
.nav-list .sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  border-bottom: 1px solid #f2f2f2;
  transition: all .2s;
  text-transform: none;
}
.dropdown li a::after,
.nav-list .sub-menu li a::after {
  display: none;
}
.dropdown li:last-child a,
.nav-list .sub-menu li:last-child a {
  border-bottom: none;
}
.dropdown li a:hover,
.nav-list .sub-menu li a:hover {
  background: #fff5f6;
  color: #c8102e;
  padding-left: 22px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #111111;
  border-radius: 2px;
  transition: all .3s;
}

/* ===============================================================
   HERO SECTION SLIDER
   =============================================================== */
.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #0d0d0d;
}
.hero-slides {
  position: relative;
  width: 100%;
  min-height: 520px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
  display: flex;
  align-items: center;
  z-index: 1;
}
.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide.active .hero-title {
  animation: heroSlideTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.active .hero-desc {
  animation: heroSlideTextIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.hero-slide.active .hero-actions {
  animation: heroSlideTextIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}
@keyframes heroSlideTextIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg video.hero-video,
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.65);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, transparent 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.85) 100%),
              linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 45px;
  padding-bottom: 50px;
  width: 100%;
}
.hero-left { flex: 1; max-width: 660px; }
.hero-right {
  position: relative;
  flex-shrink: 0;
  width: 330px;
  display: flex;
  justify-content: flex-end;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-red {
  color: #e51837;
  text-shadow: 0 0 30px rgba(229,24,55,0.4);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.88);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Slider Controls */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15,15,15,0.55);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.hero-slider-prev {
  left: 24px;
}
.hero-slider-next {
  right: 24px;
}
.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: #c8102e;
  border-color: #c8102e;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(200,16,46,0.6);
}

/* Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 25;
}
.slider-dot {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-dot.active {
  background: #c8102e;
  width: 44px;
  box-shadow: 0 0 12px rgba(200,16,46,0.7);
}
.slider-dot:hover:not(.active) {
  background: rgba(255,255,255,0.7);
}

/* Hero Badges */
.hero-badges {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hb-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #dfc26a;
  background: rgba(223,194,106,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hb-icon svg { width: 17px; height: 17px; fill: #dfc26a; }
.hero-badge strong {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.hero-badge small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  display: block;
}

/* Hero Right: Curved Crimson Crest */
.hero-crest {
  position: relative;
  width: 300px;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top-left-radius: 180px;
  border-bottom-left-radius: 180px;
  background: radial-gradient(circle at 75% 35%, #a80e22 0%, #760714 65%, #42020a 100%);
  box-shadow: -10px 0 35px rgba(0,0,0,0.65), inset 2px 0 0 rgba(223,194,106,0.85);
  border-left: 2.5px solid rgba(223,194,106,0.85);
  padding-left: 20px;
}
.crest-badge {
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}
.crest-tagline strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.35;
}
.crest-tagline span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #dfc26a;
  letter-spacing: 2px;
  line-height: 1.35;
  display: block;
}


/* ===============================================================
   OUR PRODUCTS SECTION (5 COLUMNS)
   =============================================================== */
.products-section {
  padding: 55px 0 45px;
  background: #ffffff;
}
.products-header {
  text-align: center;
  margin-bottom: 36px;
}
.title-underline {
  position: relative;
  display: inline-block;
}
.title-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: #c8102e;
  border-radius: 2px;
}

.products-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: #ffffff;
  border: 1px solid #e2e4e8;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: rgba(200,16,46,0.3);
}
.product-img-wrap {
  position: relative;
  height: 140px;
  overflow: visible;
  background: #f4f5f7;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-icon-badge {
  position: absolute;
  bottom: -15px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(200,16,46,0.4);
  z-index: 2;
}
.product-info {
  padding: 22px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.2;
}
.product-info p {
  font-size: 11.5px;
  color: #555555;
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}
.product-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #c8102e;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap .2s;
}
.product-link:hover { gap: 8px; }

/* ===============================================================
   SERVING INDUSTRIES & STATS SECTION (FULL DARK)
   =============================================================== */
.industries-stats-section {
  background: #0d0d0d;
  padding: 36px 0 40px;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
.industries-stats-container {
  display: flex;
  align-items: center;
  gap: 32px;
}
.industries-stats-left {
  flex: 0 0 34%;
}
.stats-dark-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 10px;
}
.stat-dark-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: calc(33.333% - 7px);
  min-width: 90px;
  padding: 8px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease;
  opacity: 0;
  transform: translateY(18px);
}
.stat-dark-item.stat-animated {
  opacity: 1;
  transform: translateY(0);
}
.stat-dark-item:hover {
  background: rgba(200,168,75,0.08);
  border-color: rgba(200,168,75,0.28);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
#stat-presence, #stat-quality {
  width: calc(50% - 6px);
}
.stat-dark-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200,168,75,0.08);
  border: 1px solid rgba(200,168,75,0.2);
  transition: all 0.3s ease;
}
.stat-dark-item:hover .stat-dark-icon {
  background: rgba(200,168,75,0.22);
  border-color: #c8a84b;
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(200,168,75,0.5);
}
.stat-dark-icon svg {
  width: 20px;
  height: 20px;
  stroke: #c8a84b;
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.3s ease;
}
.stat-icon-pulse {
  animation: statGoldBreath 3.5s ease-in-out infinite;
}
@keyframes statGoldBreath {
  0%, 100% { box-shadow: 0 0 0 rgba(200,168,75,0); }
  50% { box-shadow: 0 0 12px rgba(200,168,75,0.4); }
}
.stat-icon-pin:hover svg {
  animation: pinBounce 0.6s ease;
}
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.stat-icon-globe:hover svg {
  animation: globeRotate 1s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes globeRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.stat-dark-text strong {
  display: flex;
  align-items: baseline;
  font-family: 'Barlow', sans-serif;
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.5px;
}
.stat-dark-text .stat-plus {
  color: #c8a84b;
  font-weight: 900;
  margin-left: 2px;
}
.stat-dark-text span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.1;
}

.industries-cards-right {
  flex: 1;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 28px;
}
.industries-top-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #c8a84b;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-align: center;
}
.industries-photos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ind-photo-card {
  border-radius: 6px;
  overflow: hidden;
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ind-photo-card:hover {
  transform: translateY(-4px);
  border-color: #c8102e;
}
.ind-photo-wrap {
  position: relative;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
}
.ind-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ind-photo-card:hover .ind-photo-wrap img {
  transform: scale(1.08);
}
.ind-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}
.ind-card-bottom {
  padding: 10px 6px 12px;
  background: #181818;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}
.ind-card-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ind-card-bottom span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.25;
  display: block;
  text-align: center;
  word-break: break-word;
}

/* ===============================================================
   ABOUT SECTION
   =============================================================== */
.about-section {
  padding: 55px 0 50px;
  background: #ffffff;
}
.about-container-2col {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 48px;
  align-items: center;
}
.about-factory-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  height: 290px;
}
.about-factory-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-col-content {
  display: flex;
  flex-direction: column;
}
.section-label-left {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #c8102e;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-title-left {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #111111;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 12px;
}
.about-lead-text {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.65;
  margin-bottom: 24px;
}
.about-timeline-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 78px;
}
.tl-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.8px solid #c8102e;
  background: rgba(200,16,46,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  z-index: 2;
}
.tl-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #111111;
  display: block;
  line-height: 1.2;
}
.tl-text span {
  font-size: 9px;
  color: #777777;
  display: block;
  line-height: 1.2;
}
.tl-dash-line {
  flex: 1;
  height: 1px;
  border-top: 1.5px dashed #c8102e;
  margin-top: 15px;
}

/* ===============================================================
   PRODUCT SOLUTIONS HIGHLIGHT SECTION
   =============================================================== */
.solutions-banner-section {
  background: #0e1117;
  padding: 48px 0;
  border-top: 1px solid #1a202c;
  border-bottom: 1px solid #1a202c;
}
.solutions-banner-inner {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 40px;
  align-items: center;
}
.solutions-box-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  height: 270px;
}
.solutions-box-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solutions-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #c8a84b;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.solutions-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 10px;
}
.solutions-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}
.solutions-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
}
.sol-feat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}
.sol-feat-item svg {
  fill: #c8a84b;
}
.solutions-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ===============================================================
   QUALITY ASSURANCE SECTION
   =============================================================== */
.quality-assurance-section {
  background: #f8f9fa;
  padding: 50px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}
.quality-qa-inner {
  display: grid;
  grid-template-columns: 240px 1.1fr 1.3fr;
  gap: 32px;
  align-items: center;
}
.qa-lab-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  height: 190px;
}
.qa-lab-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qa-info-col {
  display: flex;
  flex-direction: column;
}
.qa-lead-text {
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
}
.qa-steps-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.qa-step-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all .25s ease;
}
.qa-step-card:hover {
  border-color: #c8102e;
  box-shadow: 0 4px 14px rgba(200,16,46,0.1);
  transform: translateY(-2px);
}
.qa-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200,16,46,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qa-step-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  line-height: 1.25;
}

/* ===============================================================
   CALL TO ACTION (CTA) BANNER
   =============================================================== */
.cta-banner-section {
  position: relative;
  padding: 44px 0;
  overflow: hidden;
  background: #0d0d0d;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.35;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0d0d 45%, rgba(13,13,13,0.7) 100%);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cta-headset-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(200,16,46,0.5);
}
.cta-banner-text h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.2;
}
.cta-banner-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.cta-banner-right .btn-primary {
  background: #c8102e;
  border: none;
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* ===============================================================
   FEATURES BAR (5 PILLARS STRIP)
   =============================================================== */
.features-bar {
  background: #111111;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
  width: 100%;
}
.features-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.fb-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,168,75,0.08);
  border: 1px solid rgba(200,168,75,0.22);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.fb-item:hover .fb-icon {
  background: rgba(200,168,75,0.18);
  border-color: #c8a84b;
  transform: translateY(-2px);
}
.fb-icon svg {
  width: 22px;
  height: 22px;
  stroke: #c8a84b;
  fill: none;
}
.fb-text {
  display: flex;
  flex-direction: column;
}
.fb-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  display: block;
  line-height: 1.2;
  text-transform: uppercase;
}
.fb-text small {
  font-family: 'Barlow', sans-serif;
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  display: block;
  line-height: 1.3;
  margin-top: 2px;
}

/* ===============================================================
   FOOTER (5 COLUMNS)
   =============================================================== */
.footer {
  background: #0d0d0d;
  padding-top: 50px;
  border-top: 2px solid #c8102e;
}
.footer-grid-5 {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.4fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-logo-txt .fl-name {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
}
.footer-logo-txt .fl-sub {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: #c8a84b;
  letter-spacing: 1px;
  margin-top: 2px;
}
.footer-tagline {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all .25s ease;
}
.social-circle:hover {
  background: #c8102e;
  color: #ffffff;
}
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #c8a84b;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li {
  margin-bottom: 9px;
}
.footer-links-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-links-list a:hover {
  color: #c8a84b;
}
.footer-contact-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.fc-icon-red {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-items a {
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-contact-items a:hover {
  color: #c8a84b;
}
.footer-enquire-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 14px;
}
.btn-enquire-full {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-terms a {
  color: rgba(255,255,255,0.4);
  transition: color .2s;
}
.footer-terms a:hover {
  color: #c8a84b;
}

/* ------------------- SCROLL TO TOP ------------------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c8102e;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(200,16,46,.5);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: #a50d26;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200,16,46,.5);
}

/* ------------------- ANIMATIONS ------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 1200px) {
  .products-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .industries-stats-container {
    flex-direction: column;
    gap: 24px;
  }
  .industries-stats-left {
    width: 100%;
  }
  .industries-cards-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-left: 0;
    padding-top: 20px;
    width: 100%;
  }
  .about-container-2col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .solutions-banner-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .quality-qa-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid-5 {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .features-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .fb-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 200px;
  }
}

/* ===============================================================
   RESPONSIVE DESIGN: TABLET (< 900px)
   =============================================================== */
@media (max-width: 900px) {
  /* Topbar */
  .topbar {
    padding: 6px 0;
  }
  .topbar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    justify-content: center;
  }
  .topbar-left {
    justify-content: center;
    font-size: 10.5px;
    letter-spacing: 0.5px;
  }
  .topbar-right {
    justify-content: center;
    gap: 16px;
    font-size: 11px;
  }

  /* Header */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    min-height: 62px;
    position: relative;
  }

  /* Logo */
  .logo {
    gap: 10px;
    max-width: calc(100% - 56px);
  }
  .logo-icon,
  .logo-icon img,
  .magnarc-logo-img {
    width: 44px !important;
    height: 44px !important;
  }
  .logo-name {
    font-size: 26px;
    line-height: 0.95;
  }
  .logo-company {
    font-size: 11px;
    margin-top: 1px;
  }
  .logo-tagline {
    display: none;
  }

  /* Hamburger Button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    gap: 5px;
    cursor: pointer;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px;
    flex-shrink: 0;
    transition: all 0.25s ease;
    z-index: 1002;
  }
  .hamburger:hover,
  .hamburger.open {
    background: #fff0f2;
    border-color: #c8102e;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2.2px;
    background: #111111;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
  }
  .hamburger.open span {
    background: #c8102e;
  }

  /* Mobile Nav Drawer */
  .nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 2.5px solid #c8102e;
    box-shadow: 0 16px 36px rgba(0,0,0,0.2);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
  }
  .nav.open {
    max-height: 85vh;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    padding: 12px 16px 20px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list li a,
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #111111;
    border-radius: 6px;
    border-bottom: 1px solid #f2f2f2;
    transition: all 0.2s ease;
  }
  .nav-list li a::after,
  .nav-link::after {
    display: none;
  }
  .nav-list li a:hover,
  .nav-list li.current-menu-item > a,
  .nav-link:hover,
  .nav-link.active {
    background: #fff5f6;
    color: #c8102e;
    padding-left: 18px;
  }

  /* Submenu Dropdown Accordion */
  .has-dropdown,
  .menu-item-has-children {
    position: relative;
  }
  .dropdown,
  .nav-list .sub-menu {
    position: static;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: #fbfbfb;
    border: none;
    border-left: 3px solid #c8102e;
    border-radius: 0 0 6px 6px;
    box-shadow: none;
    transform: none;
    margin: 0 0 4px 10px;
    padding: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }
  .has-dropdown.dropdown-open .dropdown,
  .menu-item-has-children.dropdown-open .sub-menu {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    padding: 6px 0;
  }
  .dropdown li a,
  .nav-list .sub-menu li a {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #444444;
    border-bottom: 1px solid #eeeeee;
  }
  .dropdown li:last-child a,
  .nav-list .sub-menu li:last-child a {
    border-bottom: none;
  }
  .dropdown li a:hover,
  .nav-list .sub-menu li a:hover {
    background: #fff0f2;
    color: #c8102e;
    padding-left: 18px;
  }
  .nav-arrow {
    transition: transform 0.25s ease;
  }
  .has-dropdown.dropdown-open .nav-arrow,
  .menu-item-has-children.dropdown-open .nav-arrow {
    transform: rotate(180deg);
  }

  /* Mobile Nav Footer CTA & Quick Contacts */
  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eeeeee;
  }
  .nav-mobile-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 11px 18px;
    font-size: 12.5px;
  }
  .nav-mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .nav-mobile-contact-info .nm-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-mobile-contact-info .nm-item:hover {
    color: #c8102e;
  }

  /* Hero Section on Tablet: Compact & Well-Balanced */
  .hero {
    min-height: auto;
    height: auto;
  }
  .hero-slides {
    min-height: auto;
    height: auto;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-slide.active {
    position: relative;
    height: auto;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 26px 16px 32px;
    gap: 14px;
    min-height: auto;
  }
  .hero-left {
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(26px, 6vw, 38px);
    line-height: 1.1;
    margin-bottom: 10px;
  }
  .hero-desc {
    font-size: 14px;
    margin: 0 auto 16px;
    max-width: 92%;
    line-height: 1.45;
  }
  .hero-actions {
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  .hero-actions .btn {
    padding: 9px 18px;
    font-size: 12px;
  }
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 340px;
    margin: 0 auto;
    text-align: left;
  }
  .hero-right {
    display: none;
  }
  .hero-slider-prev {
    left: 8px;
    width: 36px;
    height: 36px;
  }
  .hero-slider-next {
    right: 8px;
    width: 36px;
    height: 36px;
  }
  .hero-slider-dots {
    bottom: 8px;
  }

  /* Products Grid */
  .products-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Industries & Stats */
  .industries-stats-container {
    flex-direction: column;
    gap: 26px;
  }
  .industries-stats-left {
    width: 100%;
  }
  .stats-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  #stat-presence, #stat-quality {
    grid-column: span 1.5;
  }
  .industries-cards-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-left: 0;
    padding-top: 22px;
    width: 100%;
  }
  .industries-photos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .ind-photo-card {
    height: auto;
  }
  .ind-photo-wrap {
    height: 120px;
  }

  /* About */
  .about-container-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-left img {
    max-height: 260px;
    width: 100%;
    object-fit: cover;
  }
  .about-timeline-h {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tl-dash-line {
    display: none;
  }

  /* Solutions Banner */
  .solutions-banner-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }
  .solutions-banner-left {
    display: flex;
    justify-content: center;
  }
  .solutions-box-img {
    max-width: 240px;
  }
  .solutions-features-2x2 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    max-width: 440px;
    margin: 0 auto 20px;
  }
  .solutions-actions {
    justify-content: center;
    gap: 12px;
  }

  /* Quality Section */
  .quality-qa-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .qa-photo-col img {
    max-height: 220px;
    width: 100%;
    object-fit: cover;
  }
  .qa-steps-col {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* CTA Banner */
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .cta-banner-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .cta-banner-right .btn-primary {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    justify-content: center;
  }

  /* Features Bar */
  .fb-item {
    flex: 0 0 calc(50% - 10px);
  }

  /* Footer */
  .footer-grid-5 {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* ===============================================================
   RESPONSIVE DESIGN: MOBILE PHONES (< 600px)
   =============================================================== */
@media (max-width: 600px) {
  .logo {
    gap: 8px;
  }
  .logo-icon,
  .logo-icon img,
  .magnarc-logo-img {
    width: 38px !important;
    height: 38px !important;
  }
  .logo-name {
    font-size: 22px;
  }
  .logo-company {
    font-size: 10px;
  }

  /* Hero Section on Phone: Medium Height, Zero Vacant Space */
  .hero {
    min-height: auto !important;
    height: auto !important;
  }
  .hero-slides {
    min-height: auto !important;
    height: auto !important;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-slide.active {
    position: relative;
    height: auto;
  }
  .hero-content {
    padding: 20px 14px 26px !important;
    gap: 8px !important;
    min-height: auto !important;
  }
  .hero-title {
    font-size: clamp(21px, 6.2vw, 27px) !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
  }
  .hero-desc {
    font-size: 12.5px !important;
    margin: 0 auto 10px !important;
    line-height: 1.4 !important;
    max-width: 95% !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
  }
  .hero-actions .btn {
    width: auto !important;
    max-width: none !important;
    padding: 7px 14px !important;
    font-size: 11px !important;
    letter-spacing: 0.4px !important;
  }
  .hero-badges {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 8px !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  .hero-badge {
    gap: 6px !important;
    padding: 4px 6px !important;
    background: rgba(0,0,0,0.4) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
  }
  .hero-badge .hb-icon {
    width: 18px !important;
    height: 18px !important;
  }
  .hero-badge .hb-icon svg {
    width: 12px !important;
    height: 12px !important;
  }
  .hero-badge strong {
    font-size: 10.5px !important;
    line-height: 1.1 !important;
  }
  .hero-badge small {
    font-size: 7px !important;
    letter-spacing: 0.3px !important;
  }
  .hero-slider-prev {
    left: 4px !important;
    width: 28px !important;
    height: 28px !important;
  }
  .hero-slider-next {
    right: 4px !important;
    width: 28px !important;
    height: 28px !important;
  }
  .hero-slider-dots {
    bottom: 5px !important;
    gap: 5px !important;
  }
  .slider-dot {
    width: 16px !important;
    height: 3.5px !important;
  }
  .slider-dot.active {
    width: 26px !important;
  }

  /* Products on Phone */
  .products-grid-5 {
    grid-template-columns: 1fr;
    max-width: 330px;
    margin: 0 auto;
    gap: 16px;
  }

  /* Stats on Phone */
  .stats-dark-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  #stat-years, #stat-products, #stat-customers, #stat-presence {
    grid-column: auto;
  }
  #stat-quality {
    grid-column: span 2;
    justify-content: center;
  }
  .stat-dark-item {
    padding: 6px 4px;
    gap: 8px;
  }
  .stat-dark-icon {
    width: 30px;
    height: 30px;
  }
  .stat-dark-icon svg {
    width: 17px;
    height: 17px;
  }
  .stat-dark-text strong {
    font-size: 18px;
  }
  .stat-dark-text span {
    font-size: 8px;
  }

  /* Industries Photos on Phone: Complete Title Visibility */
  .industries-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ind-photo-card {
    height: auto !important;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
  }
  .ind-photo-wrap {
    height: 105px !important;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
  }
  .ind-card-bottom {
    padding: 8px 6px 12px !important;
    gap: 4px !important;
    background: #181818;
    border-radius: 0 0 6px 6px;
  }
  .ind-card-icon {
    width: 20px !important;
    height: 20px !important;
  }
  .ind-card-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .ind-card-bottom span {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    display: block !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
  }

  /* About Timeline on Phone */
  .about-timeline-h {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Solutions on Phone */
  .solutions-box-img {
    max-width: 190px;
  }
  .solutions-features-2x2 {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 280px;
  }
  .solutions-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .solutions-actions .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    justify-content: center;
  }

  /* Quality QA on Phone */
  .qa-steps-col {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Features Bar on Phone */
  .fb-item {
    flex: 0 0 100%;
    justify-content: flex-start;
  }

  /* Footer on Phone */
  .footer-grid-5 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* --- Extra WP-specific styles --- */
:root {
  --clr-primary: #c8102e;
  --clr-accent:  #c8a84b;
}
.blog-main { padding: 60px 0; }
.blog-container { display: flex; gap: 0; }
.blog-grid { display: grid; grid-template-columns: 1fr 280px; gap: 40px; width: 100%; }
.blog-post-card { margin-bottom: 40px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.blog-thumb img { width: 100%; height: 220px; object-fit: cover; }
.blog-content { padding: 28px; }
.blog-meta { font-size: 12px; color: #999; margin-bottom: 10px; }
.blog-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.blog-title a { color: #111; } .blog-title a:hover { color: #c8102e; }
.blog-excerpt { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 18px; }
.blog-sidebar { padding-top: 10px; }
.blog-sidebar .widget { margin-bottom: 30px; }
.blog-sidebar .widget-title { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; color: #111; border-bottom: 2px solid #c8102e; padding-bottom: 8px; margin-bottom: 14px; }
.page-main { padding: 60px 0; }
.page-header { margin-bottom: 30px; }
.page-title { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 900; color: #111; }
.page-thumb img { width: 100%; height: 360px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; }
.entry-content { font-size: 15px; line-height: 1.8; color: #444; }
.entry-content h2,h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: #111; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid #e0e0e0; border-radius: 3px; font-size: 13px; font-weight: 600; color: #555; transition: all .2s; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: #c8102e; color: #fff; border-color: #c8102e; }
.product-single-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-single-img img { border-radius: 8px; }
.product-single-content .btn { margin-top: 24px; }
.form-error { margin-top: 16px; padding: 14px 18px; background: rgba(200,16,46,.08); border: 1px solid rgba(200,16,46,.3); border-radius: 4px; color: #c8102e; font-size: 14px; font-weight: 600; text-align: center; }
.products-archive-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width:900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .product-single-wrap { grid-template-columns: 1fr; }
  .products-archive-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width:600px) {
  .products-archive-grid { grid-template-columns: 1fr !important; }
}

/* ===============================================================
   DEDICATED SUBPAGES STYLES
   =============================================================== */

/* Subpage Hero Banner */
.subpage-hero {
  background: radial-gradient(circle at 80% 20%, #1f0508 0%, #0d0d0d 65%, #050505 100%);
  padding: 55px 0 45px;
  border-bottom: 3px solid #c8102e;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.subpage-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.subpage-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #c8a84b;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: 20px;
}
.subpage-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.subpage-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin: 0 auto 18px;
  line-height: 1.5;
}
.subpage-breadcrumbs {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}
.subpage-breadcrumbs a {
  color: #c8a84b;
  text-decoration: none;
  transition: color 0.2s;
}
.subpage-breadcrumbs a:hover {
  color: #ffffff;
}
.subpage-breadcrumbs span {
  color: #ffffff;
}

/* About Page Overview */
.about-overview-section {
  padding: 60px 0;
  background: #ffffff;
}
.about-overview-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 50px;
  align-items: center;
}
.media-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.experience-floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #c8102e;
  color: #ffffff;
  padding: 16px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(200,16,46,0.45);
  text-align: center;
}
.experience-floating-badge strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}
.experience-floating-badge span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lead-text {
  font-size: 16px;
  font-weight: 600;
  color: #111111;
  line-height: 1.6;
  margin-bottom: 16px;
}
.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.highlight-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fcfcfc;
  border: 1px solid #eeeeee;
  border-radius: 6px;
}
.highlight-box strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #111111;
}
.highlight-box small {
  font-size: 11.5px;
  color: #666666;
}

/* Plant Infrastructure Section */
.plant-infrastructure-section {
  padding: 60px 0;
  background: #0d0d0d;
}
.text-white { color: #ffffff !important; }
.section-subtitle-light {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 10px auto 0;
  text-align: center;
}
.plant-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.plant-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 30px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.plant-card:hover {
  transform: translateY(-5px);
  border-color: #c8102e;
}
.plant-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.plant-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.plant-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* Values Section */
.values-section {
  padding: 60px 0;
  background: #f9f9f9;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px 26px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  border-top: 4px solid #c8102e;
  position: relative;
}
.val-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: rgba(200,16,46,0.15);
  line-height: 1;
  position: absolute;
  top: 18px;
  right: 20px;
}
.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.65;
}

/* Products Catalogue Page */
.catalogue-section {
  padding: 55px 0;
  background: #ffffff;
}
.catalogue-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0 40px;
}
.cat-tab {
  padding: 9px 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #444444;
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-tab:hover,
.cat-tab.active {
  background: #c8102e;
  border-color: #c8102e;
  color: #ffffff;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  border-color: #c8102e;
}
.cat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cat-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #c8102e;
  background: rgba(200,16,46,0.08);
  padding: 3px 8px;
  border-radius: 4px;
}
.aws-badge {
  font-size: 11px;
  font-weight: 700;
  color: #c8a84b;
  background: #111111;
  padding: 3px 8px;
  border-radius: 4px;
}
.cat-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 8px;
}
.cat-desc {
  font-size: 13px;
  color: #555555;
  line-height: 1.55;
  margin-bottom: 14px;
}
.cat-specs {
  list-style: none;
  padding: 10px 12px;
  background: #f9f9f9;
  border-radius: 6px;
  margin: 0 0 16px;
  font-size: 12px;
  color: #444444;
  line-height: 1.7;
}
.cat-specs strong {
  color: #111111;
}
.cat-card-footer {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.custom-formulation-section {
  padding: 45px 0;
  background: #0d0d0d;
}
.cf-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cf-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin: 6px 0 10px;
}
.cf-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
}

/* Industries Detail Page */
.industries-detail-section {
  padding: 60px 0;
  background: #ffffff;
}
.ind-sectors-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 36px;
}
.ind-sector-item {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 36px;
  align-items: center;
  background: #fcfcfc;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}
.ind-sector-item.reverse {
  grid-template-columns: 58% 42%;
}
.ind-sector-item.reverse .ind-sector-media {
  order: 2;
}
.ind-sector-item.reverse .ind-sector-content {
  order: 1;
}
.ind-sector-media {
  height: 100%;
  min-height: 260px;
}
.ind-sector-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ind-sector-content {
  padding: 30px;
}
.sector-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #c8102e;
  margin-bottom: 8px;
}
.ind-sector-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 12px;
}
.ind-sector-content p {
  font-size: 14px;
  color: #555555;
  line-height: 1.65;
  margin-bottom: 18px;
}
.sector-consumables {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #222222;
}
.sector-consumables .pill {
  padding: 3px 10px;
  background: #111111;
  color: #c8a84b;
  font-weight: 700;
  border-radius: 4px;
  font-size: 11px;
}

/* Quality Assurance Page */
.qa-details-section {
  padding: 60px 0;
  background: #ffffff;
}
.qa-details-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: center;
}
.qa-tests-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.qa-test-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #fbfbfb;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
}
.qt-icon {
  margin-top: 2px;
  flex-shrink: 0;
}
.qa-test-item strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 2px;
}
.qa-test-item span {
  font-size: 12.5px;
  color: #555555;
  line-height: 1.45;
}
.certifications-showcase-section {
  padding: 60px 0;
  background: #0d0d0d;
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.cert-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  border-color: #c8a84b;
}
.cert-badge-icon {
  margin-bottom: 14px;
}
.cert-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}
.cert-card p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 14px;
}
.cert-status {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #c8a84b;
  background: rgba(200,168,75,0.12);
  padding: 3px 8px;
  border-radius: 4px;
}
.mtc-banner-section {
  padding: 55px 0;
  background: #f7f7f7;
}
.mtc-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.mtc-badge-pill {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #c8102e;
  background: rgba(200,16,46,0.08);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.mtc-inner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 12px;
}
.mtc-inner p {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 22px;
}
.mtc-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact Us Page */
.contact-main-section {
  padding: 60px 0;
  background: #ffffff;
}
.contact-2col-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 48px;
  align-items: start;
}
.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.contact-card-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}
.ccb-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(200,16,46,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ccb-text h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 4px;
}
.ccb-text p {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.5;
  margin: 0;
}
.ccb-text small {
  display: block;
  font-size: 11.5px;
  color: #888888;
  margin-top: 4px;
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: 4px solid #c8102e;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}
.form-header h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 4px;
}
.form-header p {
  font-size: 13px;
  color: #666666;
  margin-bottom: 22px;
}
.magnarc-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.magnarc-form .form-group {
  margin-bottom: 16px;
}
.magnarc-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 6px;
}
.magnarc-form .form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  border: 1.5px solid #dcdcdc;
  border-radius: 5px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}
.magnarc-form .form-control:focus {
  border-color: #c8102e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}
.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 13px;
  font-size: 14px;
}

/* Downloads Resource Page */
.downloads-main-section {
  padding: 60px 0;
  background: #ffffff;
}
.downloads-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.download-resource-card {
  background: #fcfcfc;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 26px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.download-resource-card:hover {
  transform: translateY(-4px);
  border-color: #c8102e;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.drc-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drc-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #c8102e;
  background: rgba(200,16,46,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.drc-badge.gold {
  color: #c8a84b;
  background: #111111;
}
.drc-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.3;
}
.drc-info p {
  font-size: 12.5px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ===============================================================
   RESPONSIVE STYLES FOR SUBPAGES
   =============================================================== */
@media (max-width: 900px) {
  .about-overview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .plant-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .cf-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .ind-sector-item,
  .ind-sector-item.reverse {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ind-sector-item.reverse .ind-sector-media {
    order: 1;
  }
  .ind-sector-item.reverse .ind-sector-content {
    order: 2;
  }
  .ind-sector-media {
    height: 220px;
    min-height: auto;
  }
  .qa-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .contact-2col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .downloads-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .subpage-hero {
    padding: 36px 0 30px;
  }
  .about-highlights-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .certs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .magnarc-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-card {
    padding: 22px 18px;
  }
  .downloads-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .download-resource-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===============================================================
   DEDICATED PRODUCT & INDUSTRY SEPARATE PAGES
   =============================================================== */
.page-detail-section {
  padding: 60px 0;
  background: #ffffff;
}
.page-detail-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 48px;
  align-items: center;
}
.product-features-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.pfc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333333;
}
.pfc-item svg {
  flex-shrink: 0;
}

/* Grades Table */
.grades-table-section {
  padding: 60px 0;
  background: #f8f9fa;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 13px;
  text-align: left;
}
.specs-table th {
  background: #111111;
  color: #ffffff;
  padding: 14px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
}
.specs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eeeeee;
  color: #444444;
}
.specs-table tbody tr:hover {
  background: #fff5f6;
}
.specs-table strong {
  color: #111111;
}

/* Current / Size Cards */
.currents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.current-card {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-top: 3px solid #c8102e;
  border-radius: 6px;
  padding: 20px 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.current-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}
.current-card p {
  font-size: 13px;
  color: #c8102e;
  margin-bottom: 6px;
}
.current-card small {
  font-size: 11.5px;
  color: #666666;
  line-height: 1.4;
  display: block;
}

@media (max-width: 900px) {
  .page-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .currents-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .currents-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
