/* ==========================================================================
   McPak Website - Modern Industrial Design System (Updated)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette matching McPak Brand */
  --bg-dark: #0b1320;
  --bg-dark-secondary: #111d33;
  --primary-blue: #0284c7;
  --primary-blue-hover: #0369a1;
  --primary-blue-light: rgba(2, 132, 199, 0.12);
  --safety-orange: #f97316;
  --safety-orange-hover: #ea580c;
  --brand-green: #047025;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-border-hover: #cbd5e1;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  
  /* Layout & Spacing */
  --max-width: 1280px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-dark: 0 20px 40px rgba(0,0,0,0.4);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Top Info Bar & Header
   ========================================================================== */

.top-bar {
  background-color: #081a2e;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner,
.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-contacts,
.top-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.top-bar-contacts a,
.top-bar-left a,
.top-info-item {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.85rem;
}

.top-bar-contacts a:hover,
.top-bar-left a:hover,
.top-info-item:hover {
  color: var(--safety-orange);
}

.header {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  height: 68px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img {
  height: 36px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0;
  white-space: nowrap;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  z-index: 1050;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  white-space: normal;
}

.dropdown-item a:hover {
  background-color: var(--light-bg);
  color: var(--primary-blue);
}

/* Mobile-only CTA item in navigation menu */
.mobile-menu-cta {
  display: none !important;
}

.header-actions {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--safety-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background-color: var(--safety-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-blue:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-dark);
}

.btn-outline-dark:hover {
  background: var(--light-bg);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 85vh;
  padding-top: 4rem;
  padding-bottom: 5rem;
  background-color: var(--bg-dark);
  color: var(--text-light);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(1.1) brightness(0.8);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 30%, rgba(2, 132, 199, 0.2) 0%, rgba(11, 19, 32, 0.85) 70%, rgba(11, 19, 32, 0.98) 100%);
  z-index: 2;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(2, 132, 199, 0.8) 50%, transparent 100%);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.8);
  opacity: 0.6;
  z-index: 4;
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

@keyframes scanline {
  0% { transform: translateY(0); opacity: 0; }
  5% { opacity: 0.6; }
  95% { opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.hero-content-wrapper {
  position: relative;
  z-index: 5;
  max-width: 880px;
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: #38bdf8;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-light-muted);
  margin-bottom: 2.25rem;
  max-width: 720px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ==========================================================================
   Trust Ribbon Section
   ========================================================================== */

.trust-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--card-border);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--light-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.trust-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.2;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--light-bg);
}

.section-white {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
}

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-blue);
}

.service-link:hover {
  color: var(--primary-blue-hover);
  gap: 0.6rem;
}

/* ==========================================================================
   Industries Carousel (STRICT 9:16 ASPECT RATIO & 4 CARDS VISIBLE PER VIEW)
   ========================================================================== */

.industry-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 3rem 0;
}

.industry-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  scroll-snap-type: x mandatory;
}

/* 9:16 Ratio Cards: 4 visible first on desktop */
.industry-slide-card {
  flex: 0 0 calc(25% - 1.125rem); /* Exactly 4 cards visible first */
  min-width: 250px;
  aspect-ratio: 9 / 16; /* STRICT 9:16 RESOLUTION */
  background: #0b1320;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.industry-slide-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.industry-slide-image-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.industry-slide-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-slide-card:hover .industry-slide-image-box img {
  transform: scale(1.08);
}

.industry-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 32, 0.95) 0%, rgba(11, 19, 32, 0.4) 50%, transparent 100%);
}

.industry-slide-content {
  padding: 1.75rem 1.5rem;
  position: relative;
  z-index: 2;
}

.industry-slide-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.industry-slide-tag {
  font-size: 0.85rem;
  color: #38bdf8;
  font-weight: 600;
  display: block;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary-blue);
  width: 24px;
  border-radius: 10px;
}

/* Responsive adjustments for 9:16 carousel */
@media (max-width: 1200px) {
  .industry-slide-card {
    flex: 0 0 calc(33.333% - 1rem); /* 3 visible on tablet landscape */
  }
}

@media (max-width: 768px) {
  .industry-slide-card {
    flex: 0 0 calc(50% - 0.75rem); /* 2 visible on mobile landscape */
  }
}

@media (max-width: 480px) {
  .industry-slide-card {
    flex: 0 0 100%; /* 1 visible on small mobile */
  }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.why-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  transition: var(--transition);
}

.why-card:hover .why-icon-box {
  background: var(--primary-blue);
  color: #ffffff;
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.why-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.why-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Overview Component Grid
   ========================================================================== */

.overview-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .overview-section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.overview-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.overview-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.overview-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.overview-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.overview-right-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .overview-right-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.process-card-prompt {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.process-card-prompt:hover {
  border-color: rgba(2, 132, 199, 0.6);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.process-card-line {
  position: absolute;
  left: -1px;
  top: 50%;
  height: 50%;
  width: 2px;
  transform: translateY(-50%);
  background-color: var(--card-border);
  transition: background-color 0.3s ease;
  display: none;
}

@media (min-width: 768px) {
  .process-card-line {
    display: block;
  }
}

.process-card-prompt:hover .process-card-line {
  background-color: var(--primary-blue);
}

.process-card-icon-container {
  margin-bottom: 1rem;
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background-color: var(--light-bg);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.process-card-prompt:hover .process-card-icon-container {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

.process-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.process-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Trust & Compliance 50:50 Carousel Section
   ========================================================================== */

.trust-carousel-container {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-cards-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.trust-card-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.trust-card-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  border-color: var(--primary-blue);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.15);
}

.trust-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.trust-card-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
}

.trust-card-body {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.trust-card-badge {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.35rem 0.85rem;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
}

.trust-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.trust-carousel-arrows {
  display: flex;
  gap: 0.75rem;
}

.trust-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.trust-arrow-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

.trust-carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  transition: var(--transition);
}

.trust-dot.active {
  background: var(--primary-blue);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================================================
   Machinery Showcase Section
   ========================================================================== */

.machinery-showcase-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.machinery-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: nowrap;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
}

.machinery-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--card-border);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

.machinery-tab-btn:hover {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.machinery-tab-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.machinery-product-card {
  display: none;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .machinery-product-card {
    grid-template-columns: 1.15fr 1fr;
  }
}

.machinery-product-card.active {
  display: grid;
  animation: cardSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.machinery-card-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.machinery-card-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.machinery-card-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.machinery-card-description {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.machinery-feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px dashed var(--card-border);
  width: 100%;
}

.machinery-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: var(--light-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  min-width: 95px;
  transition: var(--transition);
}

.machinery-feature-item:hover {
  border-color: var(--primary-blue);
  background: var(--primary-blue-light);
  transform: translateY(-2px);
}

.feature-bracket-icon {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.feature-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.machinery-model-code {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

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

.machinery-card-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.machinery-podium-frame {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.machinery-podium-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 132, 199, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}

.machinery-podium-pedestal {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 60px;
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.2) 0%, rgba(2, 132, 199, 0.05) 100%);
  border-top: 2px solid rgba(2, 132, 199, 0.5);
  border-radius: 50% 50% 0 0;
  filter: blur(4px);
}

.machinery-podium-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 32px rgba(0,0,0,0.5);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.machinery-product-card:hover .machinery-podium-image {
  transform: translateY(-6px) scale(1.02);
}

/* ==========================================================================
   Trusted By Companies Carousel
   ========================================================================== */

.trusted-section {
  padding: 4rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}

.trusted-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.trusted-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 3rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 3.5rem;
  min-width: 100%;
  animation: marquee 25s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.brand-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #64748b;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
  cursor: pointer;
}

.brand-logo-item:hover .brand-logo-text {
  filter: grayscale(0%);
  opacity: 1;
  color: var(--primary-blue);
  transform: scale(1.08);
}

/* ==========================================================================
   Modals & Footer
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 19, 32, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-dark);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  background: none;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.footer {
  background-color: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

@media (max-width: 1200px) {
  .nav-menu { gap: 0.75rem; }
  .nav-link { font-size: 0.82rem; }
}

@media (max-width: 992px) {
  .nav-menu { display: none; }
  .machinery-tabs-nav { flex-wrap: wrap; }
  .machinery-product-card { grid-template-columns: 1fr; padding: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

/* ==========================================================================
   Our Company Specific Page Styles (Reference Layout System)
   ========================================================================== */

/* 1. Experience 50:50 Layout & 2x2 USP Grid */
.experience-header-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
}

.experience-header-center .section-subtitle {
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.5rem;
}

.experience-header-center .section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.25;
}

.experience-5050-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.experience-left-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 520px;
}

.experience-left-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.experience-stat-floating {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(11, 19, 32, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-dark);
}

.floating-stat-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.floating-stat-info {
  display: flex;
  flex-direction: column;
}

.floating-stat-info strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.floating-stat-info span {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.experience-right-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience-para-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.usp-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.usp-card-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow-sm);
}

.usp-card-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.usp-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.usp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.usp-card-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Light Scroll Animations */
.fade-up-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


.check-item-icon {
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

/* 2. Large Dynamic Watermark Banner */
.watermark-banner {
  background: linear-gradient(135deg, #091526 0%, #06101e 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.watermark-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.watermark-text-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.watermark-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #ffffff;
  font-weight: 800;
  max-width: 750px;
  line-height: 1.2;
}

.watermark-heading span {
  color: var(--primary-blue);
}

.watermark-circle-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.4);
  transition: transform 0.4s ease, background-color 0.3s ease;
  flex-shrink: 0;
}

.watermark-circle-btn:hover {
  transform: scale(1.12) rotate(45deg);
  background: #38bdf8;
}

/* 3. Circular Orbit System - Our Five Pillars of Operational Excellence */
.pillars-orbit-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.pillars-grid-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at center, rgba(2, 132, 199, 0.09) 0%, transparent 70%),
    linear-gradient(to right, rgba(203, 213, 225, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(203, 213, 225, 0.5) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
  z-index: 1;
}

.pillars-orbit-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.pillars-orbit-subtitle {
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.5rem;
}

.pillars-orbit-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.pillars-orbit-wrapper {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Concentric Orbit Paths SVG */
.orbit-svg-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  pointer-events: none;
  z-index: 1;
}

.orbit-path-circle {
  fill: none;
  stroke: rgba(2, 132, 199, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}

.orbit-path-solid {
  fill: none;
  stroke: rgba(2, 132, 199, 0.28);
  stroke-width: 1.5;
}

.orbit-glow-line {
  fill: none;
  stroke: url(#orbit-gradient);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.6));
  animation: rotateOrbit 25s linear infinite;
  transform-origin: center;
}

@keyframes rotateOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Central Glowing Core Badge (Reference Image Center) */
.orbit-center-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 0 50px rgba(2, 132, 199, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 10;
  text-align: center;
  border: 4px solid rgba(255, 255, 255, 0.85);
  animation: pulseCore 3s ease-in-out infinite alternate;
}

@keyframes pulseCore {
  0% { box-shadow: 0 0 35px rgba(2, 132, 199, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2); }
  100% { box-shadow: 0 0 65px rgba(2, 132, 199, 0.7), inset 0 0 25px rgba(255, 255, 255, 0.4); }
}

.orbit-core-icon {
  margin-bottom: 0.25rem;
}

.orbit-core-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  max-width: 90px;
}

/* Orbit Node Cards Positioned Symmetrically */
.orbit-node-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  width: 280px;
  box-shadow: 0 10px 25px rgba(11, 19, 32, 0.06);
  z-index: 12;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.orbit-node-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary-blue);
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.2);
}

.orbit-node-card.expanded {
  border-color: var(--primary-blue);
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.28);
  background: #ffffff;
  width: 320px;
  z-index: 20;
}

/* Specific Positions for 5 Nodes */
.node-pos-1 { top: 40px; left: 60px; }       /* Top-Left */
.node-pos-2 { top: 40px; right: 60px; }      /* Top-Right */
.node-pos-3 { top: 280px; left: 10px; }      /* Center-Left */
.node-pos-4 { top: 280px; right: 10px; }     /* Center-Right */
.node-pos-5 { bottom: 20px; left: 50%; transform: translateX(-50%); } /* Bottom-Center */

.node-pos-5:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

.node-pos-5.expanded {
  transform: translateX(-50%) scale(1.03);
}

.orbit-node-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.orbit-node-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.orbit-node-card:hover .orbit-node-icon {
  transform: scale(1.1);
}

.orbit-node-meta {
  display: flex;
  flex-direction: column;
}

.orbit-node-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.orbit-node-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: #047025;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #047025;
  display: inline-block;
}

/* Expandable Drawer Content */
.orbit-node-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.35s ease;
}

.orbit-node-card.expanded .orbit-node-drawer {
  max-height: 160px;
  opacity: 1;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--card-border);
}

.orbit-drawer-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.orbit-drawer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: var(--primary-blue-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* Orbit Pulsing Connection Nodes */
.orbit-dot-anchor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-blue);
  border: 3px solid #ffffff;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.8);
  z-index: 5;
  animation: dotPulse 2s infinite alternate;
}

@keyframes dotPulse {
  0% { transform: scale(1); box-shadow: 0 0 8px rgba(2, 132, 199, 0.6); }
  100% { transform: scale(1.25); box-shadow: 0 0 16px rgba(2, 132, 199, 0.9); }
}

@media (max-width: 992px) {
  .pillars-orbit-wrapper {
    height: auto;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 0;
  }
  .orbit-svg-container, .orbit-center-core, .orbit-dot-anchor { display: none; }
  .orbit-node-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 550px;
  }
}


/* 4. Vision & Mission Cards */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.vm-quote-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vm-quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.vm-quote-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.vm-quote-mark {
  font-size: 4rem;
  color: rgba(2, 132, 199, 0.15);
  font-family: serif;
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .experience-3card-grid { grid-template-columns: 1fr; }
  .pillars-dark-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pillars-dark-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service Detail Blog-Style Layout System (Matching Reference Image)
   ========================================================================== */

/* Hero Breadcrumb Header */
.service-hero {
  background: linear-gradient(135deg, #0b1320 0%, #111d33 100%);
  padding: 5rem 0 3.5rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.service-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.service-breadcrumb a:hover {
  color: var(--primary-blue);
}

.service-breadcrumb span.current {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Service Detail 2-Column Layout */
.service-detail-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Left Sidebar Navigation & CTA Cards */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 100px;
}

.sidebar-menu-card {
  background: var(--light-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.sidebar-menu-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-blue);
}

.sidebar-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sidebar-service-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-service-btn:hover {
  background: var(--primary-blue-light);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateX(4px);
}

.sidebar-service-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.sidebar-service-btn.active svg {
  stroke: #ffffff;
}

/* Sidebar Contact Advice CTA Card (Matching Reference Orange/Blue CTA) */
.sidebar-contact-card {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
  position: relative;
  overflow: hidden;
}

.sidebar-contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.sidebar-contact-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sidebar-contact-sub {
  font-size: 0.88rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.sidebar-phone-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.sidebar-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
}

.sidebar-pdf-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
}

/* Right Main Content Panel */
.service-main-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-feature-box {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-feature-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-overview-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-section-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-text-para {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Why McPak is Best Provider (2-Column Feature Cards) */
.service-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.benefit-card-box {
  background: var(--light-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
}

.benefit-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion Component (Matching Reference Image FAQ Layout) */
.faq-section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item:hover {
  border-color: rgba(14, 116, 144, 0.4);
  box-shadow: 0 8px 25px rgba(14, 116, 144, 0.08);
  transform: translateY(-2px);
}

.faq-accordion-item.active {
  border-color: var(--primary-blue);
  box-shadow: 0 10px 30px rgba(14, 116, 144, 0.14);
}

.faq-question-btn {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.faq-question-btn:hover {
  color: var(--primary-blue);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background-color 0.3s ease, 
              color 0.3s ease;
  flex-shrink: 0;
  pointer-events: none;
}

.faq-question-btn:hover .faq-toggle-icon {
  background: rgba(14, 116, 144, 0.15);
  transform: scale(1.1);
}

.faq-accordion-item.active .faq-toggle-icon {
  background: var(--primary-blue);
  color: #ffffff;
  transform: rotate(135deg) scale(1.05);
}

.faq-answer-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-accordion-item.active .faq-answer-panel {
  opacity: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .service-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Machinery Detail Pages Design (Bedrock Angled Split Reference Theme)
   ========================================================================== */
.machinery-page-hero {
  position: relative;
  background: linear-gradient(135deg, #061523 0%, #0a2540 60%, #081a2e 100%);
  padding: 5rem 0 6rem 0;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  overflow: hidden;
  color: #ffffff;
}

.machinery-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.machinery-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.4);
  color: var(--safety-orange);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.machinery-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.machinery-hero-title span {
  color: var(--safety-orange);
}

.machinery-hero-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.machinery-hero-img-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.machinery-hero-img-box:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.machinery-hero-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Machinery Detail Content Layout */
.machinery-detail-section {
  position: relative;
  padding: 5rem 0;
  background: #ffffff;
  overflow: hidden;
}

.machinery-backdrop-watermark {
  position: absolute;
  right: -5%;
  top: 15%;
  font-size: 11rem;
  font-weight: 900;
  color: rgba(14, 116, 144, 0.03);
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
  text-transform: uppercase;
}

.machinery-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.machinery-spec-image-card {
  position: sticky;
  top: 100px;
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.machinery-spec-image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.machinery-spec-image-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}

.machinery-accent-heading {
  position: relative;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.machinery-accent-line {
  width: 60px;
  height: 4px;
  background: var(--safety-orange);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.machinery-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.machinery-spec-item {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.machinery-spec-item:hover {
  border-left-color: var(--safety-orange);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.machinery-spec-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.machinery-spec-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.machinery-list-box {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px dashed var(--card-border);
}

.machinery-list-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.machinery-check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.machinery-check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}

@media (max-width: 992px) {
  .machinery-hero-grid,
  .machinery-detail-grid {
    grid-template-columns: 1fr;
  }
  .machinery-spec-image-card {
    position: static;
  }
  .machinery-check-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Full HD Machine Image Display & Enhancement Cards
   ========================================================================== */
.machine-hd-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 3rem;
}

.machine-hd-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px -12px rgba(14, 116, 144, 0.2);
  border-color: rgba(234, 88, 12, 0.4);
}

.machine-hd-card-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: stretch;
}

.machine-hd-img-wrapper {
  background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-right: 1px solid var(--card-border);
  min-height: 320px;
}

.machine-hd-img-wrapper img {
  max-height: 280px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15)) contrast(1.06) brightness(1.02);
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.4s ease;
}

.machine-hd-card:hover .machine-hd-img-wrapper img {
  transform: scale(1.07);
}

.machine-hd-content {
  padding: 2.5rem;
}

/* ==========================================================================
   Bedrock Attachments Design Reference Layout Rules
   ========================================================================== */
.bedrock-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.bedrock-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.35rem;
}

.bedrock-title {
  font-size: 2.65rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.bedrock-accent-line {
  width: 80px;
  height: 5px;
  background: #f59e0b;
  margin: 0 auto;
  border-radius: 3px;
}

.bedrock-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.bedrock-img-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bedrock-img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.18);
}

.bedrock-img-card img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)) contrast(1.05);
}

.bedrock-watermark-graphic {
  position: absolute;
  right: -5%;
  top: 10%;
  width: 500px;
  opacity: 0.05;
  pointer-events: none;
  filter: grayscale(100%);
  user-select: none;
}

@media (max-width: 992px) {
  .machine-hd-card-grid,
  .bedrock-detail-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .machine-hd-img-wrapper {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
}

/* ==========================================================================
   Contact Us Page Design (Saazy Theme Reference & Live Estimator Form)
   ========================================================================== */
.contact-hero-banner {
  background: linear-gradient(135deg, #051325 0%, #0a2540 60%, #081a2e 100%);
  border-radius: 0 0 2.5rem 2.5rem;
  padding: 5rem 0 10rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.7;
}

.contact-card-floating {
  background: #ffffff;
  border-radius: 1.75rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.12);
  margin-top: -7rem;
  position: relative;
  z-index: 10;
  padding: 3rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-box {
  background: var(--light-bg);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--card-border);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(2, 132, 199, 0.25);
  transition: transform 0.3s ease;
}

.contact-info-item:hover .contact-icon-badge {
  transform: scale(1.1) rotate(-4deg);
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  display: block;
}

.contact-info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.contact-info-value:hover {
  color: var(--primary-blue);
}

.social-links-row {
  display: flex;
  gap: 0.75rem;

  margin-top: 1rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(2, 132, 199, 0.3);
}

/* Quote Estimator Box (Image 2 exact style) */
.quote-estimator-card {
  background: #f0fdf4;
  border: 1.5px dashed #0284c7;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.estimator-price-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0284c7;
  margin-top: 0.2rem;
}

.estimator-time-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.2rem;
}

/* Map Section */
.contact-map-card {
  background: #ffffff;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--card-border);
  margin: 4rem 0;
}

.contact-map-card iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* Bottom Dark CTA Banner */
.contact-bottom-cta {
  background: linear-gradient(135deg, #051325 0%, #0f172a 100%);
  border-radius: 2rem;
  color: #ffffff;
  padding: 3.5rem 4rem;
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .contact-hero-grid,
  .contact-card-grid,
  .contact-bottom-cta {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }
  .contact-card-floating {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   Legal Pages Styling (Privacy Policy & Terms & Conditions)
   ========================================================================== */
.legal-hero-banner {
  background: linear-gradient(135deg, #051325 0%, #0a2540 60%, #081a2e 100%);
  padding: 4.5rem 0 5.5rem 0;
  color: #ffffff;
  text-align: center;
}

.legal-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.legal-hero-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto;
}

.legal-section-wrapper {
  padding: 4rem 0 6rem 0;
  background: var(--light-bg);
}

.legal-content-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.06);
  padding: 3.5rem;
  color: #334155;
  line-height: 1.8;
}

.legal-article h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-blue-light);
}

.legal-article p {
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.legal-article ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.legal-article li {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.legal-last-updated {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine (Centered & Distortion-Free)
   ========================================================================== */

/* Mobile Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.4rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.mobile-nav-toggle:hover {
  background: var(--light-bg) !important;
  color: var(--primary-blue);
}

/* Ensure only ONE icon displays at a time */
.mobile-nav-toggle svg {
  display: none !important;
}

.mobile-nav-toggle svg.hamburger-icon {
  display: block !important;
}

.mobile-nav-toggle.active svg.hamburger-icon {
  display: none !important;
}

.mobile-nav-toggle.active svg.close-icon {
  display: block !important;
}

/* Responsive Media Query Breakpoints */

/* 1. Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .experience-5050-grid,
  .contact-hero-grid,
  .contact-card-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .experience-left-card {
    min-height: 380px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
    top: auto;
  }
}

/* 2. Tablets & Mobile Navigation (<= 992px) */
@media (max-width: 992px) {
  .top-bar {
    text-align: center;
    padding: 0.5rem 0;
  }

  .top-bar-inner,
  .top-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
  }

  .top-bar-contacts,
  .top-bar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    text-align: center;
  }

  .top-bar-contacts a,
  .top-bar-left a,
  .top-info-item {
    justify-content: center;
    font-size: 0.8rem;
  }

  .header {
    height: 68px;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .logo-link {
    max-width: 75%;
    flex-shrink: 1;
  }

  .site-logo-img {
    height: 36px;
    max-height: 38px;
    width: auto;
    object-fit: contain;
  }

  .header-actions {
    display: none !important; /* Hide orange button in header on mobile so header stays distortion-free */
  }

  .mobile-nav-toggle {
    display: flex !important;
    flex-shrink: 0;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    padding: 2rem 1.5rem;
    gap: 1rem;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    box-shadow: var(--shadow-lg);
    text-align: center;
    align-items: center;
  }

  .mobile-menu-cta {
    display: block !important;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--card-border);
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 0;
    display: none;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    width: 100%;
    text-align: center;
  }

  .dropdown-item a {
    text-align: center;
    padding: 0.5rem 1rem;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .machinery-product-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2.5rem;
    text-align: center;
  }

  .machinery-card-left {
    align-items: center;
    text-align: center;
  }

  .machinery-feature-strip {
    justify-content: center;
  }

  .machinery-cta-buttons {
    justify-content: center;
  }

  .watermark-content-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .watermark-heading {
    text-align: center;
  }

  .watermark-circle-btn {
    margin: 0 auto;
  }

  /* Footer Center Alignment on Mobile/Tablet */
  .footer {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .footer-col,
  .footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 1rem auto;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0;
  }

  .footer-links li {
    text-align: center;
    width: 100%;
  }

  .footer-links li a {
    justify-content: center;
    display: inline-flex;
  }

  .social-links-row {
    justify-content: center;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
  }
}

/* 3. Small Tablets & Landscape Phones (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title {
    font-size: 1.85rem;
    text-align: center;
  }

  .section-description {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
    text-align: center;
  }

  .hero-content-wrapper {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge-group {
    justify-content: center;
    width: 100%;
  }

  .hero-title {
    font-size: 2.1rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
    text-align: center;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
  }

  .overview-left,
  .experience-right-content,
  .contact-info-box {
    align-items: center;
    text-align: center;
  }

  .overview-title,
  .overview-description,
  .experience-para-lead {
    text-align: center;
  }

  .trust-ribbon {
    padding: 1.25rem 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .trust-item {
    gap: 0.6rem;
    justify-content: center;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
  }

  .trust-text {
    font-size: 0.82rem;
    text-align: center;
  }

  .service-card,
  .why-card,
  .usp-card-box,
  .benefit-card-box {
    text-align: center;
    align-items: center;
  }

  .service-icon-wrapper,
  .why-icon-box,
  .usp-icon-wrapper,
  .benefit-icon-wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  .service-link {
    justify-content: center;
  }

  .machinery-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .machinery-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .machinery-tab-btn {
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
  }

  .machinery-card-title {
    font-size: 1.75rem;
    text-align: center;
  }

  .machinery-card-right {
    min-height: auto;
  }

  .machinery-podium-frame {
    height: 300px;
  }

  .machinery-podium-image {
    height: 250px;
  }

  .contact-card-floating {
    margin-top: -3rem;
    padding: 1.75rem;
  }

  .contact-bottom-cta {
    padding: 2.25rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .legal-content-card {
    padding: 2rem 1.5rem;
    text-align: left; /* Keep legal articles left-aligned for readable text */
  }
}

/* 4. Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-badge-group {
    gap: 0.4rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .industry-slide-card {
    flex: 0 0 100%;
    aspect-ratio: 3 / 4;
    max-height: 440px;
  }

  .services-grid,
  .why-grid,
  .usp-2x2-grid,
  .service-benefits-grid,
  .machinery-spec-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .machinery-feature-strip {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 0.75rem;
  }

  .machinery-feature-item {
    min-width: auto;
    width: 100%;
  }

  .machinery-cta-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .machinery-cta-buttons .btn {
    width: 100%;
  }

  .machinery-podium-frame {
    height: 240px;
    padding: 1rem;
  }

  .machinery-podium-image {
    height: 200px;
  }

  .machine-hd-card-grid {
    grid-template-columns: 1fr;
  }

  .machine-hd-img-wrapper {
    padding: 1.5rem;
    min-height: 220px;
  }

  .machine-hd-img-wrapper img {
    max-height: 200px;
  }

  .machine-hd-content {
    padding: 1.5rem;
    text-align: center;
  }

  .quote-estimator-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .estimator-price-val {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   Mobile-Only Custom User Preferences & Center Alignment Overrides
   ========================================================================== */

/* Side navigation arrows for Machinery Tabs on Mobile */
.machinery-nav-arrow {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

.machinery-nav-arrow:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

/* DESKTOP EXPLICIT RESET (min-width: 993px) */
@media (min-width: 993px) {
  .mobile-nav-toggle {
    display: none !important;
  }

  .mobile-menu-cta {
    display: none !important;
  }

  .header-actions {
    display: flex !important;
  }

  .top-bar-address,
  .top-bar-container > div:last-child {
    display: block !important;
  }

  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
  }

  .logo-link {
    margin: 0 !important;
    text-align: left !important;
  }

  .site-logo-img {
    height: 36px !important;
    max-height: 38px !important;
    margin: 0 !important;
    width: auto !important;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
    gap: 1.25rem !important;
  }
}

/* MOBILE EXPLICIT OVERRIDES (max-width: 992px) */
@media (max-width: 992px) {
  /* 1. Remove address on mobile top bar */
  .top-bar-container > div:last-child,
  .top-bar-address {
    display: none !important;
  }

  .header-actions {
    display: none !important;
  }

  /* 2. Logo center aligned in header & Header Sticky */
  .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    height: 68px !important;
  }

  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
  }

  .logo-link {
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  .site-logo-img {
    height: 34px !important;
    max-height: 36px !important;
    margin: 0 auto !important;
  }

  .mobile-nav-toggle {
    display: flex !important;
    position: absolute !important;
    right: 0.75rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0.4rem !important;
    cursor: pointer !important;
    z-index: 10001 !important;
  }

  .mobile-nav-toggle svg {
    display: none !important;
  }

  .mobile-nav-toggle svg.hamburger-icon {
    display: block !important;
  }

  .mobile-nav-toggle.active svg.hamburger-icon {
    display: none !important;
  }

  .mobile-nav-toggle.active svg.close-icon {
    display: block !important;
  }

  nav {
    display: block !important;
  }

  /* Full Screen Mobile Burger Menu Drawer */
  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 68px) !important;
    height: calc(100dvh - 68px) !important;
    background: #ffffff !important;
    padding: 2.25rem 1.5rem 4rem 1.5rem !important;
    gap: 1.25rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateY(-150%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease !important;
    z-index: 99999 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
    text-align: center !important;
    align-items: center !important;
  }

  .nav-menu.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu-cta {
    display: block !important;
    width: 100% !important;
    margin-top: 1rem !important;
  }

  /* 3. Footer Logo & Footer Content Center Aligned */
  .footer,
  .footer-grid,
  .footer-col,
  .footer-about,
  .footer-links,
  .footer-bottom {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .footer-about {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 1.25rem auto !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-logo-img,
  .footer-about img {
    margin: 0 auto !important;
    display: block !important;
    align-self: center !important;
  }
}

@media (max-width: 768px) {
  /* 4. Trust Ribbon Stack Carousel (Rotating 2s Interval & Icon+Text Next To Each Other Centered) */
  .trust-ribbon {
    padding: 1.5rem 0;
    overflow: hidden;
  }

  .trust-grid {
    position: relative;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .trust-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px) scale(0.92);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    text-align: center !important;
  }

  .trust-item.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.2);
  }

  .trust-item .trust-icon {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .trust-item .trust-text {
    text-align: left !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
  }

  /* 5. How We Do It Process Matrix Cards Centered */
  .process-card-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .process-card-icon-container {
    margin-left: auto;
    margin-right: auto;
  }

  .process-card-title,
  .process-card-desc {
    text-align: center;
  }

  /* 6. Our Promise Compliance Carousel Controls Centered, Dots Hidden, Arrows Kept */
  .trust-carousel-controls {
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }

  .trust-carousel-arrows {
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .trust-carousel-dots {
    display: none !important;
  }

  /* 7. Machinery Section Tab Navigation: 1 Tab Button + Side Arrows */
  .machinery-tabs-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
  }

  .machinery-nav-arrow {
    display: flex !important;
  }

  .machinery-tab-btn {
    display: none !important;
  }

  .machinery-tab-btn.active {
    display: inline-flex !important;
    margin: 0 !important;
  }

  /* 8. Machinery Product Card Mobile Flow: Tag & Title -> Image -> Text & Specs & CTA */
  .machinery-product-card {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem;
  }

  .machinery-product-card.active {
    display: flex;
  }

  .machinery-card-left {
    display: contents; /* Allows reordering children flex elements */
  }

  .machinery-card-tag {
    order: 1;
    text-align: center;
  }

  .machinery-card-title {
    order: 2;
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }

  .machinery-card-right {
    order: 3;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .machinery-card-description {
    order: 4;
    text-align: center;
  }

  .machinery-feature-strip {
    order: 5;
    justify-content: center;
  }

  .machinery-cta-buttons {
    order: 6;
    justify-content: center;
    width: 100%;
  }

  .machinery-cta-buttons .btn {
    width: 100%;
  }

  .machinery-model-code {
    order: 7;
    text-align: center;
  }

  /* 9. The McPak Story Section Centered */
  #about .overview-section-grid,
  #about .overview-left,
  #about .overview-right-grid,
  .timeline-card {
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  #about .overview-title,
  #about .overview-description,
  #about .overview-subtitle {
    text-align: center;
  }

  /* 10. Global Center Alignment Across Website on Mobile */
  h1, h2, h3, h4, h5, h6,
  p, span, .section-header,
  .hero-content-wrapper, .hero-title, .hero-subtitle,
  .why-card, .service-card, .usp-card-box, .benefit-card-box,
  .contact-info-box, .contact-hero-banner {
    text-align: center;
  }
}



