@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

/* ==========================================================================
   Hitech-Style Design System + Rudhra Colors
   ========================================================================== */

:root {
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Manrope', sans-serif;
  
  /* Brand Colors (Rudhra Industries — from rudhraindustries.co.in) */
  --primary-navy: #061923;    /* Dark Teal — main brand background */
  --primary-blue: #1b2f4a;    /* Secondary dark blue for sections */
  --accent-orange: #b8860b;   /* Gold — primary accent from Rudhra website */
  --accent-orange-hover: #9a7209; /* Darker gold hover */
  --accent-gold: #b8860b;     /* Alias for gold accent */
  --hero-overlay: #07212e;    /* Hero section overlay tint */
  --whatsapp-green: #25d366;
  
  /* Base Colors */
  --white: #ffffff;
  --bg-offwhite: #f5f5f5;
  --bg-light: #f8f9fa;
  --bg-dark: #061923;         /* Matches primary brand dark */
  --dark-navy: #061923;       /* Alias used by page-hero sections */
  --text-dark: #061923;
  --text-light: #555555;
  --text-muted: #999999;
  --border-color: #e5e5e5;
  
  /* Section Colors */
  --accent-green: #2fb576;
  
  /* Utilities */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ==========================================================================
   Base Reset
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700; /* Hitech uses bold headings */
  color: var(--primary-navy);
  line-height: 1.2;
}

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

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

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.hitech-heading {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 20px;
  position: relative;
}

/* Colored Word in Heading — Gold Accent */
.text-accent {
  color: #b8860b;
}
.text-orange {
    color: #b8860b;
}

.hitech-subtext {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.section-dark {
  background-color: var(--primary-navy);
  color: var(--white);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark .hitech-subtext {
  color: var(--white);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   Buttons (Hitech Style)
   ========================================================================== */
.btn-hitech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px; /* subtle roundness */
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: capitalize;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: var(--white);
}

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-navy);
}

/* Arrow Icon in Button */
.btn-hitech i, .btn-hitech svg {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn-hitech:hover i, .btn-hitech:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Header / Navigation (Hitech Style)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary-navy); /* Switched to Rudhra Theme */
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: padding 0.3s;
  padding: 15px 0;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 40px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  opacity: 0.9;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ph-no {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-no svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-blue);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 20px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .nav-menu, .nav-actions .ph-no { display: none; }
  .mobile-nav-toggle { display: flex; }
}

/* ==========================================================================
   Enquiry Cart Icon
   ========================================================================== */
.cart-trigger {
  position: relative;
  cursor: pointer;
  background: #f4f6f8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-trigger:hover {
  background: var(--primary-blue);
}

.cart-trigger svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-navy);
  transition: fill 0.2s;
}

.cart-trigger:hover svg {
  fill: var(--white);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--white);
}

/* ==========================================================================
   Footer (Hitech Style)
   ========================================================================== */
.site-footer {
  background: #061923;
  color: #b0b5ba;
  padding: 80px 0 30px;
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  display: inline-block;
  margin-bottom: 20px;
  line-height: 1.2;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  transition: color 0.2s;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #b0b5ba !important;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-orange);
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Enq Drawer */
/* Standard drawer styles kept intact for cart functionality */
.enquiry-drawer { position: fixed; top: 0; right: -400px; width: 400px; height: 100vh; background: var(--white); z-index: 9999; box-shadow: -5px 0 20px rgba(0,0,0,0.1); transition: right 0.3s ease; display: flex; flex-direction: column; }
.enquiry-drawer.open { right: 0; }
.drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--bg-light); }
.drawer-header h3 { font-size: 18px; margin: 0; color: var(--primary-navy); }
.close-drawer { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); margin-bottom: 15px; }
.cart-img-wrap { width: 80px; height: 80px; background: #fff; border: 1px solid var(--border-color); border-radius: 6px; padding: 5px; }
.cart-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-details { flex: 1; }
.cart-item-title { font-size: 14px; font-weight: 700; color: var(--primary-navy); margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.cart-item-actions { display: flex; justify-content: space-between; align-items: center; }
.qty-badge { background: var(--bg-light); padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.remove-item { background: none; border: none; color: #dc3545; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.drawer-footer { padding: 20px; border-top: 1px solid var(--border-color); background: var(--bg-light); }
.wa-checkout-btn { width: 100%; background: #25D366; color: #fff; border: none; padding: 15px; border-radius: 6px; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background 0.2s; }
.wa-checkout-btn:hover { background: #128C7E; }
.drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
@media (max-width: 480px) { .enquiry-drawer { width: 100%; right: -100%; } }

/* Floating WhatsApp Default */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}
.floating-whatsapp svg {
    fill: white;
    width: 35px;
    height: 35px;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
}
.wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse 1.5s infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Rudhra Master System Overrides
   Shared foundation for the refactor phase.
   ========================================================================== */
:root {
  --font-body: 'Manrope', sans-serif;
  --primary-navy: #061923;
  --primary-blue: #12314a;
  --primary-ink: #031016;
  --steel-blue: #dfe8ef;
  --bg-offwhite: #f4f6f5;
  --bg-light: #f8faf9;
  --bg-dark: #061923;
  --dark-navy: #061923;
  --text-dark: #061923;
  --text-light: #51606a;
  --text-muted: #8b98a3;
  --border-color: #dfe5e8;
  --header-height: 82px;
  --radius-sm: 4px;
  --radius-md: 8px;
}

.site-header-global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(6, 25, 35, 0.96);
  border-bottom: 1px solid rgba(184, 134, 11, 0.28);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  font-family: var(--font-heading);
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header-global.scrolled {
  padding: 10px 0;
  background: rgba(3, 16, 22, 0.98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.site-header-relative {
  position: relative !important;
}

.site-header-spacer {
  height: var(--header-height);
}

.site-header-global * {
  box-sizing: border-box;
}

.site-header-global .nav-container-global {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-link-global {
  display: flex;
  align-items: center;
  min-width: max-content;
  text-decoration: none;
}

.brand-link-global img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.site-header-global.scrolled .brand-link-global img {
  height: 44px;
}

.site-header-global .nav-menu-global {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: row;
}

.site-header-global .nav-link-global {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  padding: 5px 0;
  opacity: 0.86;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.site-header-global .nav-link-global::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.site-header-global .nav-link-global:hover,
.site-header-global .nav-link-global.active-link,
.site-header-global .nav-link-global.active {
  color: var(--accent-orange) !important;
  opacity: 1;
  text-decoration: none;
}

.site-header-global .nav-link-global:hover::after,
.site-header-global .nav-link-global.active-link::after,
.site-header-global .nav-link-global.active::after {
  width: 100%;
}

.site-header-global .nav-actions-global {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header-global .company-profile-link {
  color: var(--accent-orange) !important;
  opacity: 1 !important;
  font-size: 15px !important;
  text-transform: capitalize !important;
  white-space: nowrap;
}

.site-header-global .cart-trigger-global {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.site-header-global .cart-trigger-global:hover {
  background: rgba(184, 134, 11, 0.18);
}

.site-header-global .cart-trigger-global svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  transition: fill var(--transition-fast);
}

.site-header-global .cart-trigger-global:hover svg {
  fill: var(--accent-orange);
}

.site-header-global .cart-badge-global {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  background: var(--accent-orange);
  color: var(--white);
  border: 2px solid var(--primary-ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.mobile-nav-toggle-global {
  display: none;
  width: 34px;
  height: 28px;
  padding: 4px;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-nav-toggle-global span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .mobile-nav-toggle-global span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

body.nav-open .mobile-nav-toggle-global span:nth-child(2) {
  opacity: 0;
}

body.nav-open .mobile-nav-toggle-global span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
  /* Mobile menu is defined solely in rudhra-navbar.css (loaded last).
     The previous overlay rules here conflicted with it and were removed. */
  .site-header-global .nav-actions-global {
    display: none !important;
  }

  .mobile-nav-toggle-global {
    display: flex;
  }
}

/* Cross-page manufacturing navbar normalization.
   Older pages still include copied header CSS; these important rules keep the
   shared header visually consistent until each page is fully refactored. */
.site-header-global {
  min-height: 82px !important;
  padding: 0 !important;
  background: rgba(6, 25, 35, 0.96) !important; /* Premium brand navy #061923 */
  border-bottom: 1px solid rgba(184, 134, 11, 0.22) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.site-header-global .nav-container-global {
  min-height: 82px !important;
  max-width: 1400px !important;
  padding: 0 30px !important;
}

.site-header-global .brand-link-global,
.site-header-global a[aria-label="Rudhra Industries home"] {
  margin-right: auto !important;
}

.site-header-global a[style*="display: flex"] img,
.site-header-global .brand-link-global img {
  width: auto !important;
  height: 46px !important;
  max-width: 170px !important;
  max-height: 46px !important;
  object-fit: contain !important;
}

.site-header-global .nav-menu-global {
  gap: 32px !important;
}

.site-header-global .nav-link-global {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  opacity: 0.88 !important;
}

.site-header-global .nav-actions-global {
  margin-left: auto !important;
  gap: 14px !important;
}

.site-header-global .company-profile-link {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 0 20px !important;
  border-radius: 4px !important;
  background: var(--accent-orange) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.header-rfq {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 22px !important;
  border: 1.5px solid #b8860b !important;
  border-radius: 4px !important;
  background: #b8860b !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: all 0.22s ease !important;
}

.header-rfq:hover {
  background: transparent !important;
  color: #b8860b !important;
  border-color: #b8860b !important;
}

.site-header-global .cart-trigger-global {
  width: 44px !important;
  height: 44px !important;
}

body > div[style*="height: 80px"] {
  height: 82px !important;
}

/* Final unified navbar. This intentionally comes last so every page,
   including older Bootstrap/jQuery pages, gets the exact same header. */
.site-header-global {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 82px !important;
  padding: 0 !important;
  z-index: 1000 !important;
  background: rgba(6, 25, 35, 0.96) !important;
  border-bottom: 1px solid rgba(184, 134, 11, 0.22) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(20px) !important;
}

.site-header-global .nav-container-global {
  min-height: 82px !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.site-header-global .brand-link-global {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin-right: 0 !important;
  text-decoration: none !important;
}

.site-header-global .brand-link-global img,
.site-header-global a[style*="display: flex"] img {
  width: auto !important;
  height: 46px !important;
  max-width: 170px !important;
  max-height: 46px !important;
  object-fit: contain !important;
}

.site-header-global .nav-menu-global {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  gap: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  min-width: 0 !important;
}

.site-header-global .nav-link-global {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 82px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  opacity: 0.88 !important;
  white-space: nowrap !important;
  position: relative !important;
}

.site-header-global .nav-link-global::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 20px !important;
  width: 0 !important;
  height: 2px !important;
  background: #b8860b !important;
  transition: width 0.24s ease !important;
}

.site-header-global .nav-link-global:hover,
.site-header-global .nav-link-global.active,
.site-header-global .nav-link-global.active-link {
  color: #b8860b !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

.site-header-global .nav-link-global:hover::after,
.site-header-global .nav-link-global.active::after,
.site-header-global .nav-link-global.active-link::after {
  width: 100% !important;
}

.site-header-global .nav-actions-global {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  gap: 20px !important;
}

.site-header-global .header-rfq {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 22px !important;
  border: 1.5px solid #b8860b !important;
  border-radius: 4px !important;
  background: #b8860b !important;
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: all 0.22s ease !important;
}

.site-header-global .cart-trigger-global {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.site-header-global .cart-trigger-global svg {
  width: 22px !important;
  height: 22px !important;
  fill: #ffffff !important;
}

.site-header-spacer {
  height: 82px !important;
}

@media (max-width: 1200px) {
  .site-header-global .nav-menu-global {
    gap: 18px !important;
  }

  .site-header-global .header-rfq {
    padding: 0 16px !important;
  }
}

/* ==========================================================================
   Cinematic Motion & Responsiveness System
   ========================================================================== */

/* Easing curve: premium out-expo */
:root {
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-cinematic: 0.85s;
}

/* Base cinematic reveal class */
.reveal-cinematic {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-cinematic) var(--ease-cinematic),
              transform var(--duration-cinematic) var(--ease-cinematic);
  will-change: opacity, transform;
}

.reveal-cinematic.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left/right variants */
.reveal-cinematic-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-cinematic) var(--ease-cinematic),
              transform var(--duration-cinematic) var(--ease-cinematic);
  will-change: opacity, transform;
}
.reveal-cinematic-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-cinematic-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-cinematic) var(--ease-cinematic),
              transform var(--duration-cinematic) var(--ease-cinematic);
  will-change: opacity, transform;
}
.reveal-cinematic-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal variant */
.reveal-cinematic-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity var(--duration-cinematic) var(--ease-cinematic),
              transform var(--duration-cinematic) var(--ease-cinematic);
  will-change: opacity, transform;
}
.reveal-cinematic-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Fade reveal variant */
.reveal-cinematic-fade {
  opacity: 0;
  transition: opacity var(--duration-cinematic) var(--ease-cinematic);
  will-change: opacity;
}
.reveal-cinematic-fade.is-visible {
  opacity: 1;
}

/* Stagger delay utility classes */
.delay-50  { transition-delay: 50ms !important; }
.delay-100 { transition-delay: 100ms !important; }
.delay-150 { transition-delay: 150ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-250 { transition-delay: 250ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-350 { transition-delay: 350ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }

/* Premium Image Hover Scale Zoom container */
.zoom-premium {
  overflow: hidden;
}
.zoom-premium img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.zoom-premium:hover img {
  transform: scale(1.06) !important;
}

/* Table Scroll Wrapper for Mobile (prevents viewport breaking) */
.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

/* Prevent layout breaking globally on mobile */
@media (max-width: 767px) {
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* Footer responsiveness */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

