/* ============================================================
   PYRAMID MACHINERY COMPANY LTD. — MAIN STYLESHEET
   Inspired by XCMG USA design language
   Palette: XCMG Blue #003087 | Gold #F5A800 | White #FFFFFF
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --blue-dark: #001E5A;
  --blue-main: #003087;
  --blue-mid: #0047B3;
  --blue-light: #1565C0;
  /* Replaced original gold with logo red for new palette */
  --gold: #D72631;
  /* logo red (used as accent) */
  --gold-dark: #A11A24;

  /* Updated blues to match logo blue tones */
  --blue-dark: #28318F;
  /* primary logo blue */
  --blue-main: #2E3192;
  --blue-mid: #3B45A8;
  --blue-light: #5C66C9;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --grey-light: #E8ECF2;
  --grey-mid: #9AA3B2;
  --grey-dark: #4A5568;
  --black: #0A0E1A;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --nav-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(0, 48, 135, 0.12);
  --shadow-lift: 0 12px 40px rgba(0, 48, 135, 0.22);
  --radius: 4px;
  --radius-lg: 8px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Utility ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 96px 0;
}

.section-pad-sm {
  padding: 64px 0;
}

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

.text-gold {
  color: var(--gold);
}

.text-blue {
  color: var(--blue-main);
}

.text-white {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue-dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 168, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue-main);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  font-size: 17px;
  color: var(--grey-dark);
  max-width: 600px;
  margin-top: 16px;
  line-height: 1.7;
}

/* ── Top Bar ── */
.top-bar {
  background: var(--blue-dark);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid var(--gold);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-contact {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.top-bar-contact a:hover {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 12px;
  text-transform: uppercase;
}

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--nav-height);
  box-shadow: 0 2px 20px rgba(0, 0, 135, 0.10);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 30, 90, 0.18);
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-box {
  background: var(--blue-main);
  padding: 8px 14px;
  border-bottom: 3px solid var(--gold);
}

.nav-logo-box span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  display: block;
}

.nav-logo-sub {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  letter-spacing: 0.08em !important;
}

/* Logo sizing: increase logo dimensions across site and override inline sizing */
.nav-logo-box img {
  height: 88px !important;
  width: 88px !important;
  max-width: 120px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  display: block;
}

/* Footer and other brand logos (slightly smaller than header) */
.footer-brand-box img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

/* Error page / large logo contexts */
.error-logo img {
  height: 140px;
  width: 140px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 100%;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-dark);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link {
  color: var(--gold);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(0, 30, 90, 0.16);
  border-top: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

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

.dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--grey-light);
  transition: all var(--transition);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background: var(--off-white);
  color: var(--gold);
  padding-left: 28px;
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  transition: var(--transition);
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video,
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(0, 30, 90, 0.88) 0%,
      rgba(0, 30, 90, 0.60) 50%,
      rgba(0, 30, 90, 0.20) 100%);
  z-index: 1;
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 12px;
}

.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.80);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── PRODUCT CATEGORIES BAND ── */
.product-band {
  background: var(--blue-dark);
  padding: 0;
  border-top: 4px solid var(--gold);
}

.product-band-inner {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.product-band-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background var(--transition);
  text-align: center;
  text-decoration: none;
}

.product-band-item:last-child {
  border-right: none;
}

.product-band-item:hover {
  background: rgba(245, 168, 0, 0.12);
}

.product-band-item:hover .band-icon {
  color: var(--gold);
}

.product-band-item:hover .band-label {
  color: var(--gold);
}

.band-icon {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
  line-height: 1;
}

.band-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition);
  line-height: 1.2;
}

/* ── INTRO TEXT SECTION ── */
.intro-section {
  background: var(--white);
  padding: 80px 0 64px;
}

.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-left .section-tag {
  margin-bottom: 16px;
}

.intro-left .section-title {
  margin-bottom: 20px;
}

.intro-left p {
  color: var(--grey-dark);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.intro-left .btn {
  margin-top: 12px;
}

.intro-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.intro-stat-card {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 24px 20px;
}

.intro-stat-card .val {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--blue-main);
  line-height: 1;
}

.intro-stat-card .label {
  font-size: 13px;
  color: var(--grey-dark);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── PRODUCTS GRID SECTION ── */
.products-section {
  background: var(--off-white);
  padding: 96px 0;
}

.products-section .section-header {
  margin-bottom: 56px;
}

.products-section .section-subtitle {
  margin-top: 16px;
}

.product-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--grey-light);
  background: var(--white);
  color: var(--grey-dark);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.product-tab:hover,
.product-tab.active {
  background: var(--blue-main);
  color: var(--white);
  border-color: var(--blue-main);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.product-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.product-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--blue-dark);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

.product-card-body {
  padding: 20px 24px 24px;
  border-top: 3px solid transparent;
  transition: border-color var(--transition);
}

.product-card:hover .product-card-body {
  border-color: var(--gold);
}

.product-card-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--blue-mid);
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-card-desc {
  font-size: 14px;
  color: var(--grey-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-main);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap var(--transition);
}

.product-card:hover .product-card-link {
  gap: 12px;
  color: var(--gold);
}

/* ── WHY CHOOSE US ── */
.why-section {
  background: var(--blue-dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: 'XCMG';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  text-transform: uppercase;
  pointer-events: none;
  line-height: 1;
}

.why-section .section-title {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 36px 28px;
  transition: all var(--transition);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-top-color: var(--gold);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 168, 0, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
  transition: background var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gold);
}

/* If an icon element is empty (icons removed), hide the square to avoid empty boxes */
.why-icon:empty {
  display: none;
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.why-card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.7;
}

/* ── SERVICES SECTION ── */
.services-section {
  padding: 96px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 320px;
  cursor: pointer;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.06);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 30, 90, 0.20) 0%,
      rgba(0, 30, 90, 0.85) 100%);
  transition: background var(--transition);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(180deg,
      rgba(0, 30, 90, 0.30) 0%,
      rgba(0, 30, 90, 0.92) 100%);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.2;
}

.service-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: gap var(--transition);
}

.service-card:hover .service-card-link {
  gap: 14px;
}

/* ── TESTIMONIAL ── */
.testimonial-section {
  background: var(--gold);
  padding: 72px 0;
}

.testimonial-section .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 900;
  color: rgba(0, 30, 90, 0.15);
  line-height: 1;
  margin-top: -32px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.35;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.testimonial-author-info span {
  font-size: 13px;
  color: rgba(0, 30, 90, 0.60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--blue-main);
  padding: 80px 0;
}

.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  max-width: 560px;
}

.cta-banner-title span {
  color: var(--gold);
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--off-white);
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-top: 56px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-main);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--white);
}

.contact-detail-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-mid);
  margin-bottom: 4px;
}

.contact-detail-text span {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--grey-light);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  transition: border-color var(--transition);
  border-radius: var(--radius);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-main);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ── FOOTER ── */
.footer {
  background: var(--black);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-box {
  background: var(--blue-main);
  padding: 10px 16px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition);
}

.footer-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-col ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
  font-weight: bold;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
}

.footer-bottom-left {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
}

.footer-bottom-left span {
  color: var(--gold);
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
  transition: color var(--transition);
}

.footer-bottom-right a:hover {
  color: var(--white);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--blue-dark);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(245, 168, 0, 0.06));
  pointer-events: none;
}

.page-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 16px;
}

.page-hero-title span {
  color: var(--gold);
}

.page-hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.70);
  max-width: 560px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .sep {
  color: var(--gold);
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.80);
}

/* ── ABOUT PAGE ── */
.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.about-img-badge .val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1;
}

.about-img-badge .label {
  font-size: 12px;
  color: var(--blue-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.about-content p {
  font-size: 16px;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-value-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 48, 135, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Icon appearance: uniform sizes and accent color for about page values */
.about-value-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  color: var(--gold);
  stroke: currentColor;
  fill: none;
}

/* Ensure contact-detail icons are consistent (white on blue) */
.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
}

.about-value-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 3px;
}

.about-value-text span {
  font-size: 13px;
  color: var(--grey-dark);
  line-height: 1.5;
}

/* ── XCMG PARTNERSHIP STRIP ── */
.partnership-strip {
  background: var(--gold);
  padding: 40px 0;
}

.partnership-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.partnership-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.partnership-text span {
  font-size: 15px;
  color: rgba(0, 30, 90, 0.65);
}

.partnership-badges {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.partnership-badge {
  background: rgba(0, 30, 90, 0.10);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* ── NOTIFICATION ── */
.form-notification {
  display: none;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-notification.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
}

.form-notification.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .product-band-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 16px 0 24px;
    box-shadow: 0 16px 40px rgba(0, 30, 90, 0.16);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    overflow-y: auto;
    max-height: calc(100vh - var(--nav-height));
  }

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

  .nav-item {
    height: auto;
  }

  .nav-link {
    padding: 14px 24px;
    height: auto;
    font-size: 15px;
    border-bottom: 1px solid var(--grey-light);
  }

  .nav-link::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--off-white);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    display: none;
  }

  .product-band-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .intro-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .testimonial-section .container {
    grid-template-columns: 1fr;
  }

  .testimonial-quote-mark {
    display: none;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .about-section .container {
    grid-template-columns: 1fr;
  }

  .about-img-badge {
    right: 12px;
    bottom: -12px;
  }
}

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

  .product-band-inner {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
}


/* ============================================================
   PREMIUM ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

/* Page load */
body {
  animation: pageFade 0.45s ease forwards;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Navbar blur on scroll */
.navbar {
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hero staggered entrance */
.hero-tag {
  animation: fromLeft 0.7s ease 0.15s both;
}

.hero-title {
  animation: fromLeft 0.7s ease 0.30s both;
}

.hero-subtitle {
  animation: fromLeft 0.7s ease 0.45s both;
}

.hero-actions {
  animation: fromLeft 0.7s ease 0.60s both;
}

.hero-stats {
  animation: fromLeft 0.7s ease 0.75s both;
}

@keyframes fromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Inner page hero */
.page-hero-eyebrow {
  animation: fromLeft 0.6s ease 0.10s both;
}

.page-hero-title {
  animation: fromLeft 0.6s ease 0.25s both;
}

.page-hero-desc {
  animation: fromLeft 0.6s ease 0.40s both;
}

.breadcrumb {
  animation: fromLeft 0.6s ease 0.55s both;
}

/* Scroll fade-up — richer */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-up-delay-1 {
  transition-delay: 0.12s;
}

.fade-up-delay-2 {
  transition-delay: 0.24s;
}

.fade-up-delay-3 {
  transition-delay: 0.36s;
}

.fade-up-delay-4 {
  transition-delay: 0.48s;
}

/* Product cards */
.product-card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 22px 50px rgba(0, 48, 135, 0.20);
}

.product-card-img img {
  transition: transform 0.55s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

/* Why cards */
.why-card {
  transition: transform 0.3s ease, background 0.3s ease,
    border-top-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

/* Service cards */
.service-card-bg {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-bg {
  transform: scale(1.08);
}

.service-card {
  transition: box-shadow 0.35s ease;
}

.service-card:hover {
  box-shadow: 0 24px 56px rgba(0, 48, 135, 0.28);
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.btn:active::after {
  opacity: 1;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

/* Intro stat cards */
.intro-stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-left-color 0.3s ease;
}

.intro-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-left-color: var(--blue-main);
}

/* Form inputs */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-main);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.10);
}

/* Dropdown */
.dropdown {
  transition: opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.25s ease;
}

.dropdown a {
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

/* About image */
.about-img-wrap img {
  transition: transform 0.5s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.03);
}

/* Footer social */
.footer-social-link {
  transition: background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s ease;
}

.footer-social-link:hover {
  transform: translateY(-3px);
}

/* Partnership badges */
.partnership-badge {
  transition: background 0.25s ease, transform 0.25s ease;
}

.partnership-badge:hover {
  background: rgba(0, 30, 90, 0.18);
  transform: translateY(-2px);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-main);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--blue-dark);
}

/* ── REQUEST A QUOTE page styles ── */
.quote-section {
  background: var(--off-white);
  padding: 96px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.quote-info-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--blue-dark);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}

.quote-info-title span {
  color: var(--gold);
}

.quote-info-desc {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 32px;
}

.quote-promise {
  background: var(--blue-dark);
  padding: 24px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}

.quote-promise-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 14px;
  line-height: 1.5;
}

.quote-promise-item:last-child {
  margin-bottom: 0;
}

.quote-promise-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.quote-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--gold);
}

.quote-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}