/* ==========================================================================
   Advanced Drying Systems - Modern Header & Slider Stylesheet
   Brand Colors:
   - Primary: #9F0A4B (Rich Burgundy / Wine Red from Logo)
   - Secondary: #40403F (Graphite Charcoal from Logo)
   - Accent: #f59e0b / #fbcf62 (Warm Gold / Amber)
   - Dark Base: #181d24 / #20262e (Sleek Industrial Slate)
   ========================================================================== */

/* --------------------------------------------------------------------------
   TOP UTILITY CONTACT BAR
   -------------------------------------------------------------------------- */
.top-utility-bar {
  background: #171b21;
  border-bottom: 2px solid #9F0A4B;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-utility-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-utility-bar a:hover {
  color: #fbcf62;
}

.top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: #fbcf62;
  flex-shrink: 0;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(159, 10, 75, 0.25);
  border: 1px solid rgba(159, 10, 75, 0.6);
  color: #fbcfe8;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.top-inquiry-link {
  color: #fbcf62 !important;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-inquiry-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   MAIN BRANDING HEADER
   -------------------------------------------------------------------------- */
.main-branding-header {
  background: #ffffff;
  padding: 6px 0;
  border-bottom: 2px solid #eef2f6;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 990 !important;
  transition: box-shadow 0.25s ease;
}

/* Inner pages spacing (when not followed by slider) */
.main-branding-header + .row,
.main-branding-header + .paddingtop,
.main-branding-header + div:not(.slider) {
  margin-top: 30px;
}

.branding-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-container {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-logo-link {
  display: inline-block;
  text-decoration: none;
}

.site-logo {
  height: 44px;
  max-width: 195px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo-link:hover .site-logo {
  transform: scale(1.01);
}

/* Integrated Header Navigation Wrap */
.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-nav-wrap nav {
  display: block;
}

.header-nav-wrap ul.toplevel {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2px;
}

/* Disable all legacy pseudo-element triangles from style.css / yellow.css */
.header-nav-wrap nav ul.toplevel li::after,
.header-nav-wrap nav ul.toplevel li:hover::after,
.header-nav-wrap nav ul.toplevel li.active::after,
nav ul.toplevel li::after,
nav ul.toplevel li:hover::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.header-nav-wrap ul.toplevel > li {
  position: relative;
  margin: 0;
  list-style: none;
}

.header-nav-wrap ul.toplevel > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 11px;
  text-decoration: none !important;
  background: transparent;
  position: relative;
  transition: color 0.22s ease;
}

/* Modern animated bottom indicator */
.header-nav-wrap ul.toplevel > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: #9F0A4B;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
}

.header-nav-wrap ul.toplevel > li > a svg.chevron {
  width: 9px;
  height: 9px;
  fill: #64748b;
  transition: transform 0.22s ease, fill 0.22s ease;
}

/* Hover state - clean brand color with smooth underline expansion */
.header-nav-wrap ul.toplevel > li:hover > a {
  color: #9F0A4B;
  background: transparent;
}

.header-nav-wrap ul.toplevel > li:hover > a::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-nav-wrap ul.toplevel > li:hover > a svg.chevron {
  transform: rotate(180deg);
  fill: #9F0A4B;
}

/* Active state - solid brand color and persistent indicator */
.header-nav-wrap ul.toplevel > li.active > a {
  color: #9F0A4B;
  font-weight: 800;
  background: transparent;
}

.header-nav-wrap ul.toplevel > li.active > a::after {
  transform: scaleX(1);
  opacity: 1;
  background: #9F0A4B;
}

.header-nav-wrap ul.toplevel > li.active > a svg.chevron {
  fill: #9F0A4B;
}

/* Submenu dropdown (1st level) */
.header-nav-wrap ul.toplevel li ul.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  border-top: 3px solid #9F0A4B;
  border-radius: 0 0 6px 6px;
  display: none;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 1000;
}

.header-nav-wrap ul.toplevel li:hover > ul.submenu {
  display: block;
  animation: navFadeIn 0.2s ease forwards;
}

@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-nav-wrap ul.toplevel li ul.submenu li {
  position: relative;
  width: 100%;
  border-bottom: 1px solid #f8fafc;
}

.header-nav-wrap ul.toplevel li ul.submenu li:last-child {
  border-bottom: none;
}

.header-nav-wrap ul.toplevel li ul.submenu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.header-nav-wrap ul.toplevel li ul.submenu li:hover > a {
  background: #fbf2f6;
  color: #9F0A4B;
  border-left-color: #9F0A4B;
}

/* Sub-submenu (2nd level dropdown) */
.header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu {
  position: absolute;
  top: -4px;
  left: 100%;
  min-width: 250px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  border: 1px solid #e2e8f0;
  border-top: 3px solid #9F0A4B;
  border-radius: 6px;
  display: none;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 1001;
}

.header-nav-wrap ul.toplevel li ul.submenu li:hover > ul.subsubmenu {
  display: block;
  animation: navFadeIn 0.2s ease forwards;
}

.header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu li a {
  padding: 9px 18px;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
  display: block;
}

.header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu li a:hover {
  background: #fbf2f6;
  color: #9F0A4B;
  border-left-color: #9F0A4B;
}

/* Header Quote CTA Button */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #9F0A4B 0%, #b8125a 100%);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(159, 10, 75, 0.28);
  text-decoration: none !important;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #b8125a 0%, #7e073a 100%);
  box-shadow: 0 6px 18px rgba(159, 10, 75, 0.4);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.header-cta-btn svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

.header-cta-btn:hover svg {
  transform: translateX(3px);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: #9F0A4B;
  border: none;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
}

@media only screen and (max-width: 991px) {
  .branding-flex {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .header-nav-wrap {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .header-nav-wrap nav {
    width: 100%;
    order: 3;
  }
  .header-nav-wrap ul.toplevel {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  .header-nav-wrap ul.toplevel.mobile-open {
    display: flex !important;
  }
  .header-nav-wrap ul.toplevel > li {
    width: 100%;
  }
  .header-nav-wrap ul.toplevel > li > a {
    width: 100%;
    padding: 12px 16px;
    border-radius: 0;
  }
  .header-nav-wrap ul.toplevel > li > a::after {
    display: none !important;
  }
  .header-nav-wrap ul.toplevel > li.active > a {
    background: #fbf2f6;
    border-left: 4px solid #9F0A4B;
  }
  .header-nav-wrap ul.toplevel > li:hover > a {
    background: #faf4f7;
  }
  .header-nav-wrap ul.toplevel li ul.submenu,
  .header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu {
    position: static;
    box-shadow: none;
    border: none;
    display: block;
    padding-left: 15px;
    background: #f8fafc;
  }
}

/* --------------------------------------------------------------------------
   ENHANCED HERO SLIDER
   -------------------------------------------------------------------------- */
.slider, .enhanced-slider-wrapper, .slider-fullwidth {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  background: #0f172a;
  box-shadow: none !important;
}

.slider .camera_wrap, .enhanced-slider-wrapper .camera_wrap {
  margin-bottom: 0 !important;
  float: left;
  width: 100%;
}

/* Remove dark overlay to show full-color original background images */
.camera_overlayer {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  pointer-events: none;
}

/* Custom styled camera caption */
.camera_caption {
  bottom: 0 !important;
  width: 100% !important;
  z-index: 10 !important;
  background: transparent !important;
}

.camera_caption > div {
  background: transparent !important;
  box-shadow: none !important;
  max-width: 100% !important;
  padding: 0 0 24px 0 !important;
  margin: 0 !important;
}

.slide-caption-card {
  display: block;
  max-width: 620px;
  background: rgba(18, 24, 34, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid #9F0A4B;
  border-radius: 8px;
  padding: 22px 26px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  margin-left: 10px;
}

.slide-eyebrow {
  display: inline-block;
  background: #9F0A4B;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.slide-heading {
  display: block;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.slide-heading .highlight-gold {
  color: #fbcf62;
}

.slide-heading .highlight-crimson {
  color: #ff5e9c;
}

.slide-desc {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.slide-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.slide-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
}

.slide-badge-pill svg {
  width: 12px;
  height: 12px;
  fill: #fbcf62;
}

.slide-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.camera_wrap .slide-btn-primary,
.slide-btn-primary {
  display: inline-block !important;
  background: linear-gradient(135deg, #9F0A4B 0%, #c0145f 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 11px 22px !important;
  border-radius: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 16px rgba(159, 10, 75, 0.45) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  margin-right: 12px !important;
}

.camera_wrap .slide-btn-primary:hover,
.slide-btn-primary:hover {
  background: linear-gradient(135deg, #b8125a 0%, #7e073a 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(159, 10, 75, 0.6) !important;
  color: #ffffff !important;
}

.camera_wrap .slide-btn-secondary,
.slide-btn-secondary {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 10px 20px !important;
  border-radius: 5px !important;
  text-decoration: none !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  transition: all 0.25s ease !important;
}

.camera_wrap .slide-btn-secondary:hover,
.slide-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

/* Camera slider controls styling */
.enhanced-slider-wrapper .camera_prev,
.enhanced-slider-wrapper .camera_next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(24, 29, 36, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.enhanced-slider-wrapper .camera_prev:hover,
.enhanced-slider-wrapper .camera_next:hover {
  background: #9F0A4B !important;
  border-color: #9F0A4B;
  transform: scale(1.1);
}

.enhanced-slider-wrapper .camera_pag_ul li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 4px;
  transition: all 0.25s ease;
}

.enhanced-slider-wrapper .camera_pag_ul li.cameracurrent > span {
  background: #9F0A4B !important;
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   HERO TRUST STRIP (BELOW SLIDER)
   -------------------------------------------------------------------------- */
.hero-trust-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  margin-bottom: 35px;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-right: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.trust-card:last-child {
  border-right: none;
}

.trust-card:hover {
  background: #fdfaf5;
}

.trust-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fdf2f6;
  border: 1px solid #fce7f3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.trust-card:hover .trust-card-icon {
  background: #9F0A4B;
}

.trust-card-icon svg {
  width: 22px;
  height: 22px;
  fill: #9F0A4B;
  transition: fill 0.25s ease;
}

.trust-card:hover .trust-card-icon svg {
  fill: #ffffff;
}

.trust-card-content h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.trust-card-content p {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   RESPONSIVE OVERRIDES
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991px) {
  .header-quick-info {
    display: none;
  }
  .branding-flex {
    justify-content: center;
    text-align: center;
  }
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-card:nth-child(2) {
    border-right: none;
  }
  .trust-card:nth-child(1),
  .trust-card:nth-child(2) {
    border-bottom: 1px solid #e2e8f0;
  }
}

@media only screen and (max-width: 767px) {
  .top-bar-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .top-bar-left {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px 14px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .main-nav-bar ul.toplevel {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .main-nav-bar ul.toplevel.mobile-open {
    display: flex;
  }
  .main-nav-bar ul.toplevel > li {
    width: 100%;
    border-bottom: 1px solid #2d3542;
  }
  .main-nav-bar ul.toplevel > li > a {
    padding: 12px 16px;
    border-top: none;
  }
  .main-nav-bar ul.toplevel li ul.submenu,
  .main-nav-bar ul.toplevel li ul.submenu li ul.subsubmenu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    background: #1c222b;
  }
  .main-nav-bar ul.toplevel li ul.submenu li a,
  .main-nav-bar ul.toplevel li ul.submenu li ul.subsubmenu li a {
    color: #cbd5e1;
  }
  .main-nav-bar ul.toplevel li ul.submenu li:hover > a {
    background: transparent;
    color: #fbcf62;
  }
  .nav-badge-right {
    display: none;
  }
  .slide-caption-card {
    margin: 10px;
    padding: 16px 18px;
  }
  .slide-heading {
    font-size: 20px;
  }
  .slide-desc {
    font-size: 12px;
  }
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }
  .trust-card {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
}


/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  z-index: 99999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #2ae06d 0%, #075e54 100%);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.65);
  color: #ffffff !important;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1e293b;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-float .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #1e293b;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media only screen and (max-width: 767px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float .whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================================================
   HOME PAGE ENHANCED SECTIONS
   1. Advanced Drying Systems Overview & Our Solutions
   2. Modern High-Impact Call On Action Banner
   3. Highlight Feature Cards (What We Offer, About Us, Spin Flash Dryers)
   4. Enhanced Our Products Section & Carousel
   ========================================================================== */

/* 1. HOME OVERVIEW & SOLUTIONS */
.home-overview-section {
  padding: 45px 0 25px;
}

.home-section-header {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 35px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf2f8;
  color: #9F0A4B;
  border: 1px solid #fbcfe8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.home-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 16px;
}

.home-main-title span {
  color: #9F0A4B;
  position: relative;
}

.home-lead-text {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.75;
  margin: 0 auto;
}

/* Two-column intro box */
.home-intro-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 28px 32px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.intro-text-side p {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}

.intro-text-side p:last-child {
  margin-bottom: 0;
}

.intro-highlights-side {
  background: #f8fafc;
  border-left: 4px solid #9F0A4B;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
}

.intro-highlights-side h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.intro-badges-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro-badges-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.45;
}

.intro-badges-list li svg {
  width: 18px;
  height: 18px;
  fill: #9F0A4B;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Solutions Grid (4 products) */
.solutions-heading-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.solutions-heading-wrap h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.solutions-heading-wrap p {
  color: #64748b;
  font-size: 14px;
  max-width: 650px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(159, 10, 75, 0.12);
  border-color: #fbcfe8;
}

.solution-img-holder {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
}

.solution-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-img-holder img {
  transform: scale(1.08);
}

.solution-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solution-card-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.solution-card-body h4 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.solution-card-body h4 a:hover {
  color: #9F0A4B;
}

.solution-card-body p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 16px;
  min-height: 80px;
  max-height: 80px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.solution-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #9F0A4B;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.solution-card-btn:hover {
  color: #7d083b;
  transform: translateX(4px);
}

.solution-card-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.solution-card-btn:hover svg {
  transform: translateX(2px);
}

/* 2. MODERN HIGH-IMPACT CALL ON ACTION BANNER */
.home-cta-wrap {
  margin: 25px 0 45px;
}

.home-cta-card {
  background: linear-gradient(135deg, #181d24 0%, #291220 50%, #171b21 100%);
  border-radius: 12px;
  padding: 34px 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(159, 10, 75, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.home-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #9F0A4B, #f59e0b);
}

.home-cta-card::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(159, 10, 75, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.home-cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.home-cta-content {
  flex: 1;
}

.home-cta-content p {
  color: #f1f5f9;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}

.home-cta-content p strong {
  color: #ffffff;
  font-weight: 600;
}

.home-cta-btn-wrap {
  flex-shrink: 0;
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #9F0A4B 0%, #bd125c 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(159, 10, 75, 0.45);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.home-cta-btn:hover {
  background: linear-gradient(135deg, #bd125c 0%, #9F0A4B 100%);
  box-shadow: 0 8px 26px rgba(159, 10, 75, 0.65);
  transform: translateY(-2px);
  color: #fbcf62 !important;
}

.home-cta-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.home-cta-btn:hover svg {
  transform: translateX(3px);
}

/* 3. HIGHLIGHT FEATURE CARDS (What We Offer, About Us, Spin Flash Dryers) */
.home-highlights-wrap {
  margin-bottom: 50px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #9F0A4B;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
  border-top-color: #bd125c;
}

.highlight-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.highlight-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon-box {
  transform: scale(1.08);
  background: #9F0A4B;
}

.highlight-icon-box img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.highlight-card:hover .highlight-icon-box img {
  filter: brightness(0) invert(1);
}

.highlight-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.highlight-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
  flex-grow: 1;
}

.highlight-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  align-self: flex-start;
  margin-top: auto;
}

.highlight-card-btn:hover {
  background: #9F0A4B;
  border-color: #9F0A4B;
  color: #ffffff !important;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(159, 10, 75, 0.25);
}

.highlight-card-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.highlight-card-btn:hover svg {
  transform: translateX(3px);
}

/* 4. ENHANCED "OUR PRODUCTS" CAROUSEL SECTION */
.home-products-section {
  margin-bottom: 45px;
}

.products-section-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.products-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9F0A4B;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.products-section-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.products-section-subtitle {
  color: #64748b;
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto;
}

/* Polished carousel captions */
.yellowknife-carousel-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.yellowknife-carousel li {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yellowknife-carousel li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #fbcfe8;
}

.yellowknife-carousel li img {
  border-radius: 8px 8px 0 0;
  transition: transform 0.4s ease;
}

.yellowknife-carousel li:hover img {
  transform: scale(1.05);
}

.yellowknife-carousel .carousel_caption {
  display: block;
  background: #1e293b;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding: 10px 8px;
  letter-spacing: 0.3px;
  border-top: 2px solid #9F0A4B;
  transition: background 0.25s ease;
}

.yellowknife-carousel li:hover .carousel_caption {
  background: #9F0A4B;
  color: #fbcf62 !important;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-intro-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intro-highlights-side {
    border-left: none;
    border-top: 4px solid #9F0A4B;
    border-radius: 0 0 8px 8px;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-cta-flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .home-main-title {
    font-size: 25px;
  }
  .home-intro-box {
    padding: 20px;
  }
  .home-cta-card {
    padding: 24px 20px;
  }
  .home-cta-content p {
    font-size: 15px;
  }
}

/* ==========================================================================
   GLOBAL INNER PAGES MODERN UI SYSTEM
   Elevates UI design across all pages without modifying any content.
   ========================================================================== */

/* Main content wrapper spacing */
.main-branding-header + .row,
.main-branding-header + .paddingtop,
.main-branding-header + div:not(.slider):not(.footer-pre-cta),
.row.paddingtop {
  margin-top: 36px !important;
  margin-bottom: 45px !important;
}

/* Base typography refinement - strictly inner page main content */
.eight.columns,
.portfolio {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155;
}

.eight.columns p,
.portfolio p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

/* Headings with modern gradient bar - strictly inner page content */
.eight.columns h1.divider,
.eight.columns h2.divider,
.eight.columns h3.divider,
.eight.columns h4.divider,
.portfolio h3.divider {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 10px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
  border-bottom: 2px solid #e2e8f0;
  letter-spacing: -0.3px;
  line-height: 1.35;
}

.eight.columns h1.divider::after,
.eight.columns h2.divider::after,
.eight.columns h3.divider::after,
.eight.columns h4.divider::after,
.portfolio h3.divider::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #9F0A4B 0%, #f59e0b 100%);
  border-radius: 3px;
}

/* Subheadings within content (e.g. After Sale Services, Quality Assurance) */
.eight.columns h4:not(.divider) {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 12px;
  padding-bottom: 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eight.columns h4:not(.divider)::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #9F0A4B;
  border-radius: 2px;
}

.eight.columns h4:not(.divider)::after {
  display: none;
}

/* Product & Hero Images on Inner Pages */
.eight.columns > img,
.eight.columns p > img:not(.left) {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid #e2e8f0;
  margin: 10px 0 24px;
  transition: transform 0.3s ease;
  display: block;
}

/* Modern Quote / Callout Block */
blockquote.gray,
blockquote {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%) !important;
  border: 1px solid #fbcfe8 !important;
  border-left: 4px solid #9F0A4B !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  margin: 22px 0 26px !important;
  color: #1e293b !important;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  font-style: normal !important;
  box-shadow: 0 4px 14px rgba(159, 10, 75, 0.04) !important;
  position: relative !important;
}

/* Modernized Feature Checklist (ul.star) */
ul.star {
  list-style: none !important;
  margin: 16px 0 24px 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

ul.star li {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 10px 14px 10px 38px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  position: relative !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s ease !important;
  display: flex;
  align-items: center;
}

ul.star li:hover {
  border-color: #fbcfe8 !important;
  background: #fdf2f8 !important;
  color: #9F0A4B !important;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(159, 10, 75, 0.08) !important;
}

ul.star li::before {
  content: '✓';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #9F0A4B, #c2185b);
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 18px;
}

/* Product Card Grids on Inner Pages ("More Products" / Portfolio) */
.eight.columns .row .three.columns,
.portfolio .three.columns {
  margin-bottom: 22px;
}

.eight.columns .row .three.columns a,
.portfolio .three.columns a {
  display: block;
  background: #ffffff;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  position: relative;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-decoration: none;
}

.eight.columns .row .three.columns img,
.portfolio .three.columns img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.eight.columns .row .three.columns:hover img,
.portfolio .three.columns:hover img {
  transform: scale(1.08);
}

.eight.columns .row .three.columns h6.divider,
.portfolio .three.columns h6.divider {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  line-height: 1.35;
}

.eight.columns .row .three.columns:hover h6.divider,
.portfolio .three.columns:hover h6.divider {
  background: #9F0A4B;
  color: #ffffff;
  border-color: #9F0A4B;
}

/* Right Sidebar Modernization - targeted precisely to sidebar */
.four.columns.sticky-sidebar,
.sidebar-layout-row > .four.columns {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.four.columns.sticky-sidebar::before,
.sidebar-layout-row > .four.columns::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, #9F0A4B 0%, #f59e0b 100%);
  border-radius: 0 0 3px 3px;
}

.four.columns.sticky-sidebar h4.divider,
.sidebar-layout-row > .four.columns h4.divider {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.four.columns.sticky-sidebar h4.divider::after,
.sidebar-layout-row > .four.columns h4.divider::after {
  width: 36px;
  height: 2px;
}

.four.columns.sticky-sidebar ul.arrow,
.four.columns.sticky-sidebar ul.comment,
.sidebar-layout-row > .four.columns ul.arrow,
.sidebar-layout-row > .four.columns ul.comment {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.four.columns.sticky-sidebar ul.arrow li,
.four.columns.sticky-sidebar ul.comment li,
.sidebar-layout-row > .four.columns ul.arrow li,
.sidebar-layout-row > .four.columns ul.comment li {
  background: none !important;
  padding: 0 !important;
  margin: 0 0 7px 0 !important;
  border: none !important;
}

.four.columns.sticky-sidebar ul.arrow li a,
.sidebar-layout-row > .four.columns ul.arrow li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.four.columns ul.arrow li a:hover {
  background: #9F0A4B;
  color: #ffffff;
  border-color: #9F0A4B;
  transform: translateX(4px);
  box-shadow: 0 4px 10px rgba(159, 10, 75, 0.2);
}

.four.columns ul.arrow li a::after {
  content: '→';
  font-size: 13px;
  font-weight: 700;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.four.columns ul.arrow li a:hover::after {
  opacity: 1;
  transform: translateX(3px);
  color: #fbcf62;
}

.four.columns ul.comment {
  margin: 6px 0 10px 10px !important;
  padding-left: 10px !important;
  border-left: 2px solid #f1f5f9;
}

.four.columns ul.comment li a {
  display: block;
  padding: 6px 10px;
  font-size: 12.5px;
  color: #475569;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.four.columns ul.comment li a:hover {
  color: #9F0A4B;
  background: #fdf2f8;
  padding-left: 14px;
  font-weight: 600;
}

/* Contact Us Page Table & Panel */
.eight.columns .panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.eight.columns .panel h5 {
  font-size: 20px;
  font-weight: 800;
  color: #9F0A4B;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fbcfe8;
}

.eight.columns .panel table {
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
  border: none;
  margin: 0;
  width: 100%;
}

.eight.columns .panel table tr {
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.eight.columns .panel table tr:hover {
  background: #fdf2f8;
}

.eight.columns .panel table th {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  border-radius: 8px 0 0 8px;
  border: 1px solid #e2e8f0;
  border-right: none;
  background: transparent;
  width: 25%;
}

.eight.columns .panel table td {
  padding: 12px 16px;
  font-size: 13.5px;
  color: #334155;
  border-radius: 0 8px 8px 0;
  border: 1px solid #e2e8f0;
  border-left: none;
  background: transparent;
  font-weight: 500;
}

.eight.columns .panel table td a {
  color: #9F0A4B;
  font-weight: 600;
  text-decoration: none;
}

.eight.columns .panel table td a:hover {
  text-decoration: underline;
}

/* Inquiry Page iframe box */
.iiframe {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

/* Page titles (h1, h2, h3 in eight columns) */
.eight.columns h1,
.eight.columns h2,
.eight.columns h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 6px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
  border-bottom: 2px solid #e2e8f0;
  letter-spacing: -0.3px;
  line-height: 1.35;
}

.eight.columns h1::after,
.eight.columns h2::after,
.eight.columns h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #9F0A4B 0%, #f59e0b 100%);
  border-radius: 3px;
}

/* Image styling resets for product grid cards */
.eight.columns .row .three.columns img,
.portfolio .three.columns img {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* Sidebar active and highlighted links - strictly outside footer */
.four.columns.sticky-sidebar ul.arrow li a strong,
.four.columns.sticky-sidebar ul.comment li a strong,
.four.columns.sticky-sidebar ul.comment li strong a,
.sidebar-layout-row > .four.columns ul.arrow li a strong,
.sidebar-layout-row > .four.columns ul.comment li a strong,
.sidebar-layout-row > .four.columns ul.comment li strong a {
  color: #9F0A4B;
  font-weight: 800;
}

.four.columns.sticky-sidebar ul.comment li a strong,
.sidebar-layout-row > .four.columns ul.comment li a strong {
  background: #fdf2f8;
  padding: 3px 6px;
  border-radius: 4px;
}

/* Mobile responsive refinements for inner pages */
@media only screen and (max-width: 767px) {
  .four.columns.sticky-sidebar,
  .sidebar-layout-row > .four.columns {
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .main-branding-header + .row,
  .main-branding-header + .paddingtop,
  .row.paddingtop {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
  }
  .eight.columns h1,
  .eight.columns h2,
  .eight.columns h3,
  .eight.columns h4.divider {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   ATTRACTIVE MODERN FOOTER STYLES
   -------------------------------------------------------------------------- */
.footer-pre-cta {
  background: linear-gradient(135deg, #9F0A4B 0%, #760636 100%);
  padding: 26px 0;
  color: #ffffff;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  margin-top: 50px;
}

.pre-cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.pre-cta-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.pre-cta-text p {
  font-size: 13.5px;
  color: #fce7f3;
  margin: 0;
  line-height: 1.4;
}

.pre-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pre-cta-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.pre-cta-call-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.pre-cta-call-btn svg {
  width: 15px;
  height: 15px;
  fill: #fbcf62;
}

.pre-cta-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fbcf62;
  color: #171b21 !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 11px 22px;
  border-radius: 5px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.pre-cta-quote-btn:hover {
  background: #ffffff;
  color: #9F0A4B !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.pre-cta-quote-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Main Footer Container */
.footer-modern {
  background: linear-gradient(180deg, #151a22 0%, #0d1117 100%);
  padding: 45px 0 0;
  color: #94a3b8;
  border-top: 3px solid #9F0A4B;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
}

/* Ensure Foundation .columns inside .footer-modern reset any page-level styles */
.footer-modern .four.columns,
.footer-modern .three.columns,
.footer-modern .two.columns,
.footer-modern .twelve.columns {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.footer-modern .four.columns::before,
.footer-modern .three.columns::before,
.footer-modern .two.columns::before {
  display: none !important;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px 0;
  position: relative;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-col-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  background: #fbcf62;
}

.footer-about-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.footer-badges-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.footer-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
}

.footer-badge-item svg {
  width: 13px;
  height: 13px;
  fill: #fbcf62;
}

/* Links lists in footer */
.footer-links-list {
  list-style: none !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}

.footer-links-list li {
  list-style: none !important;
  padding: 0 0 8px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background-image: none !important;
  background: none !important;
}

.footer-links-list li:last-child {
  border-bottom: none;
}

.footer-links-list li a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-weight: normal !important;
  background: none !important;
  padding: 0 !important;
}

.footer-links-list li a:hover {
  color: #fbcf62 !important;
  padding-left: 5px !important;
}

.footer-links-list li a svg {
  width: 10px;
  height: 10px;
  fill: #fbcf62;
  transition: transform 0.2s ease;
}

.footer-links-list li a:hover svg {
  transform: translateX(3px);
}

/* Contact block */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: #fbcf62;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #fbcf62 !important;
}

/* Social icons */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e242d;
  border: 1px solid #2d3542;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.footer-social-btn svg {
  width: 15px;
  height: 15px;
  fill: #e2e8f0;
  transition: fill 0.25s ease;
}

.footer-social-btn:hover {
  background: #9F0A4B;
  border-color: #9F0A4B;
  transform: translateY(-2px);
}

.footer-social-btn:hover svg {
  fill: #ffffff;
}

/* Bottom copyright row */
.footer-bottom-bar {
  background: #090c10;
  border-top: 1px solid #1c222b;
  padding: 16px 0;
  margin-top: 35px;
  font-size: 12px;
  color: #64748b;
}

.footer-bottom-center {
  text-align: center;
  width: 100%;
}

.footer-bottom-center p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

.footer-bottom-center a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-center a:hover {
  color: #fbcf62;
}

@media only screen and (max-width: 767px) {
  .pre-cta-flex {
    flex-direction: column;
    text-align: center;
  }
  .pre-cta-actions {
    justify-content: center;
  }
  .footer-bottom-center {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   STICKY SIDEBAR (ALL PAGES WITH SIDEBAR)
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 768px) {
  /* Parent container holding main content and sidebar */
  .sidebar-layout-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
  }

  .sidebar-layout-row::before,
  .sidebar-layout-row::after {
    display: none !important;
    content: none !important;
  }

  /* Main content column */
  .sidebar-layout-row > .eight.columns {
    float: none !important;
    flex: 1 1 66.66667% !important;
    max-width: 66.66667% !important;
    min-width: 0 !important;
  }

  /* Sticky sidebar column */
  .sidebar-layout-row > .four.columns,
  .four.columns.sticky-sidebar,
  .sticky-sidebar {
    float: none !important;
    flex: 0 0 33.33333% !important;
    max-width: 33.33333% !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 75px !important;
    align-self: flex-start !important;
    z-index: 20 !important;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }

  .sidebar-layout-row > .four.columns::-webkit-scrollbar,
  .four.columns.sticky-sidebar::-webkit-scrollbar {
    width: 5px;
  }
  .sidebar-layout-row > .four.columns::-webkit-scrollbar-track,
  .four.columns.sticky-sidebar::-webkit-scrollbar-track {
    background: transparent;
  }
  .sidebar-layout-row > .four.columns::-webkit-scrollbar-thumb,
  .four.columns.sticky-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .sidebar-layout-row > .four.columns::-webkit-scrollbar-thumb:hover,
  .four.columns.sticky-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
}

/* Mobile responsive fallback */
@media only screen and (max-width: 767px) {
  .sidebar-layout-row {
    display: block !important;
  }
  .sidebar-layout-row > .eight.columns {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
  .sidebar-layout-row > .four.columns,
  .four.columns.sticky-sidebar,
  .sticky-sidebar {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE & ALL-DEVICE COMPATIBILITY SYSTEM
   Ensures seamless UI design across phones, tablets, laptops, and desktops.
   ========================================================================== */

/* Universal Fluid Box-Sizing & Overflow Safety without breaking sticky positioning */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 75px;
}

body {
  overflow-x: clip;
  position: relative;
}

/* Universal image & media responsiveness */
img {
  max-width: 100% !important;
  height: auto !important;
}

iframe, embed, object, video {
  max-width: 100% !important;
}

/* Container safety across all screen widths */
.row {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   TABLET & INTERMEDIATE SCREENS (max-width: 991px)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991px) {
  /* Header branding flex adjustments */
  .branding-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
  }

  .site-logo {
    height: 52px;
    max-width: 210px;
  }

  .header-nav-wrap {
    width: auto !important;
    margin-left: auto !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #9F0A4B;
    color: #ffffff !important;
    border: none;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(159, 10, 75, 0.25);
    transition: all 0.2s ease;
  }

  .mobile-nav-toggle:hover {
    background: #760636;
  }

  /* Full-width slide-down navigation drawer */
  .header-nav-wrap nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 999;
  }

  .header-nav-wrap ul.toplevel {
    display: none;
    flex-direction: column !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid #9F0A4B !important;
    border-radius: 0 0 10px 10px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15) !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .header-nav-wrap ul.toplevel.mobile-open {
    display: flex !important;
  }

  .header-nav-wrap ul.toplevel > li {
    width: 100% !important;
    border-bottom: 1px solid #f1f5f9;
  }

  .header-nav-wrap ul.toplevel > li:last-child {
    border-bottom: none;
  }

  .header-nav-wrap ul.toplevel > li > a {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .header-nav-wrap ul.toplevel > li > a:hover,
  .header-nav-wrap ul.toplevel > li.active > a {
    background: #fdf2f8 !important;
    color: #9F0A4B !important;
  }

  .header-nav-wrap ul.toplevel > li > a::after {
    display: none !important;
  }

  /* Nested Submenus in Mobile Drawer */
  .header-nav-wrap ul.toplevel li ul.submenu,
  .header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #f8fafc !important;
    transform: none !important;
    animation: none !important;
  }

  .header-nav-wrap ul.toplevel li ul.submenu li a {
    padding: 10px 24px !important;
    font-size: 13px !important;
    border-left: 3px solid #e2e8f0 !important;
    color: #475569 !important;
  }

  .header-nav-wrap ul.toplevel li ul.submenu li a:hover {
    background: #f1f5f9 !important;
    border-left-color: #9F0A4B !important;
    color: #9F0A4B !important;
  }

  .header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu {
    background: #f1f5f9 !important;
  }

  .header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu li a {
    padding: 8px 36px !important;
    font-size: 12px !important;
    border-left: 3px solid #cbd5e1 !important;
    color: #64748b !important;
  }

  .header-nav-wrap ul.toplevel li ul.submenu li ul.subsubmenu li a:hover {
    background: #e2e8f0 !important;
    border-left-color: #9F0A4B !important;
    color: #9F0A4B !important;
  }

  /* Header CTA button */
  .header-cta-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   STANDARD SMARTPHONES & TABLETS IN PORTRAIT (max-width: 767px)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  /* Container spacing & gutter padding */
  .row {
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Top Utility Contact Bar */
  .top-utility-bar {
    padding: 7px 10px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .top-utility-bar .row,
  .top-utility-bar .twelve.columns {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    text-align: center !important;
  }

  .top-bar-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .top-bar-left {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px 14px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .top-bar-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  .top-bar-item svg {
    margin-right: 4px !important;
    flex-shrink: 0 !important;
  }

  .top-bar-item:nth-child(3) {
    display: none !important; /* Hide long address on mobile for cleaner top bar */
  }

  .top-bar-right {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 2px auto 0 !important;
    width: 100% !important;
  }

  .top-bar-right .top-badge {
    display: none !important; /* Hide badge on mobile */
  }

  .top-inquiry-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 11.5px !important;
  }

  /* Main branding header */
  .main-branding-header {
    padding: 6px 0 !important;
  }

  .site-logo {
    height: 38px !important;
    max-width: 160px !important;
  }

  /* Spacing before content */
  .main-branding-header + .row,
  .main-branding-header + .paddingtop,
  .main-branding-header + div:not(.slider):not(.footer-pre-cta),
  .row.paddingtop {
    margin-top: 18px !important;
    margin-bottom: 25px !important;
  }

  /* Inner Pages: Sidebar Ordering & Responsiveness */
  .sidebar-layout-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Content column always comes first on mobile */
  .sidebar-layout-row > .eight.columns {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Sticky sidebar smoothly converts to static block below content */
  .sidebar-layout-row > .four.columns,
  .four.columns.sticky-sidebar,
  .sticky-sidebar {
    order: 2 !important;
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    padding: 20px 16px !important;
    box-sizing: border-box !important;
  }

  /* Inner page headings */
  .eight.columns h1.divider,
  .eight.columns h2.divider,
  .eight.columns h3.divider,
  .eight.columns h4.divider,
  .portfolio h3.divider {
    font-size: 20px;
    margin-top: 6px;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  /* Inner page paragraphs & blockquotes */
  .eight.columns p,
  .portfolio p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  blockquote.gray {
    padding: 14px 16px !important;
    margin: 16px 0 !important;
    font-size: 13.5px !important;
  }

  /* Inner Page Product Grid (e.g. spray-drying-plant.html, product.html) */
  .portfolio.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -6px !important;
  }

  .portfolio.row > h3.divider {
    width: 100% !important;
    padding: 0 6px;
  }

  .portfolio.row > .three.columns,
  .eight.columns .row .three.columns {
    width: 50% !important;
    max-width: 50% !important;
    float: none !important;
    padding: 0 6px 14px !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .eight.columns .row .three.columns img,
  .portfolio .three.columns img {
    height: 120px !important;
  }

  .eight.columns .row .three.columns h6.divider,
  .portfolio .three.columns h6.divider {
    font-size: 11.5px !important;
    padding: 8px 4px !important;
  }

  /* Responsive contact table */
  .panel table {
    display: block;
    width: 100% !important;
    border-collapse: collapse;
  }

  .panel table tbody,
  .panel table tr {
    display: block;
    width: 100% !important;
  }

  .panel table tr {
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
  }

  .panel table th,
  .panel table td {
    display: block;
    width: 100% !important;
    padding: 3px 0 !important;
    font-size: 13.5px;
    box-sizing: border-box;
  }

  .panel table th {
    color: #9F0A4B;
    font-weight: 700;
  }

  /* Camera Slider Caption Card on Mobile */
  .camera_caption {
    bottom: 10px !important;
  }

  .slide-caption-card {
    margin: 0 !important;
    padding: 14px 16px !important;
    border-radius: 6px;
    max-width: 100% !important;
  }

  .slide-eyebrow {
    font-size: 10px;
    padding: 3px 7px;
  }

  .slide-heading {
    font-size: 17px !important;
    line-height: 1.25;
    margin: 6px 0 !important;
  }

  .slide-desc {
    font-size: 11.5px !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px !important;
  }

  .slide-badges-row {
    display: none !important; /* Hide small pills on mobile slider to prevent crowding */
  }

  .slide-buttons-row {
    gap: 8px !important;
    margin-top: 8px !important;
  }

  .slide-btn-primary,
  .slide-btn-secondary {
    padding: 7px 12px !important;
    font-size: 11.5px !important;
  }

  /* Trust Strip Grid */
  .trust-strip-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .trust-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 14px 12px !important;
  }

  .trust-card-icon {
    width: 38px !important;
    height: 38px !important;
  }

  .trust-card-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .trust-card-content h5 {
    font-size: 13px !important;
  }

  .trust-card-content p {
    font-size: 11.5px !important;
  }

  /* Home overview & intro */
  .home-main-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .home-lead-text {
    font-size: 13.5px !important;
  }

  .home-intro-box {
    padding: 16px !important;
    gap: 16px !important;
  }

  .intro-text-side p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  .intro-highlights-side {
    padding: 16px !important;
  }

  .intro-highlights-side h4 {
    font-size: 15px !important;
  }

  .intro-badges-list li {
    font-size: 12.5px !important;
    gap: 8px !important;
  }

  /* Home Solutions Grid */
  .solutions-heading-wrap h3 {
    font-size: 22px !important;
  }

  .solutions-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .solution-card-body {
    padding: 16px !important;
  }

  .solution-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
  min-height: 44px;
  display: flex;
  align-items: center;
}

  /* Home CTA Card */
  .home-cta-card {
    padding: 22px 18px !important;
  }

  .home-cta-content h3 {
    font-size: 20px !important;
  }

  .home-cta-content p {
    font-size: 13.5px !important;
  }

  .home-cta-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .home-cta-call,
  .home-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
  }

  /* Features & About Section Grid */
  .home-features-section {
    padding: 30px 0 !important;
  }

  .highlights-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .feature-block {
    padding: 18px !important;
  }

  /* Products Elastislide Section */
  .products-section-header h2 {
    font-size: 22px !important;
  }

  .products-section-header p {
    font-size: 13px !important;
  }

  /* Attractive Modern Pre-CTA Banner */
  .footer-pre-cta {
    padding: 22px 0 !important;
    margin-top: 30px !important;
  }

  .pre-cta-flex {
    flex-direction: column !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .pre-cta-text h3 {
    font-size: 19px !important;
  }

  .pre-cta-text p {
    font-size: 13px !important;
  }

  .pre-cta-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .pre-cta-call-btn,
  .pre-cta-quote-btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
  }

  /* Modern Footer Stacking */
  .footer-modern {
    padding: 30px 0 0 !important;
  }

  .footer-modern .four.columns,
  .footer-modern .three.columns,
  .footer-modern .two.columns {
    width: 100% !important;
    float: none !important;
    margin-bottom: 26px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .footer-col-title {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }

  .footer-bottom-bar {
    padding: 16px 10px !important;
    margin-top: 15px !important;
  }

  .footer-bottom-center p {
    font-size: 11.5px !important;
    line-height: 1.6 !important;
  }

  /* Floating WhatsApp Button on Mobile */
  .whatsapp-float {
    bottom: 18px !important;
    right: 18px !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 9999 !important;
  }

  .whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
  }

  .whatsapp-float .whatsapp-tooltip {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   SMALL PHONES (max-width: 480px)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 480px) {
  .site-logo {
    height: 34px !important;
    max-width: 145px !important;
  }

  .header-cta-btn {
    display: none !important; /* Hide extra button in header on tiny screens so logo and menu toggle fit comfortably */
  }

  .top-utility-bar {
    padding: 6px 8px !important;
    text-align: center !important;
  }

  .top-bar-flex {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 5px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .top-bar-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .top-bar-right {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 2px auto 0 !important;
    width: 100% !important;
  }

  .top-bar-item,
  .top-inquiry-link {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 11px !important;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr !important;
  }

  .portfolio.row > .three.columns,
  .eight.columns .row .three.columns {
    width: 100% !important;
    max-width: 100% !important;
  }

  .eight.columns .row .three.columns img,
  .portfolio .three.columns img {
    height: 140px !important;
  }

  .home-main-title {
    font-size: 20px !important;
  }

  .solutions-heading-wrap h3 {
    font-size: 20px !important;
  }
}

/* --------------------------------------------------------------------------
   OUR PRODUCTS 4-BOX SHOWCASE GRID (PERFECT HORIZONTAL & VERTICAL ALIGNMENT)
   -------------------------------------------------------------------------- */
.products-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
  margin-top: 10px;
}

.product-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.product-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(159, 10, 75, 0.12);
  border-color: #fbcfe8;
}

.product-showcase-img {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.product-showcase-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-showcase-card:hover .product-showcase-img img {
  transform: scale(1.06);
}

.product-showcase-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.82);
  color: #fbcf62;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.product-showcase-content {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-showcase-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
  min-height: 46px; /* Exactly 2-line baseline lock for perfect alignment */
  display: flex;
  align-items: center;
}

.product-showcase-content h4 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-showcase-content h4 a:hover {
  color: #9F0A4B;
}

.product-showcase-content p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 18px;
  min-height: 62px; /* Lock height so all action buttons sit on exact horizontal line */
  flex-grow: 1;
}

.product-showcase-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #1e293b !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  margin-top: auto;
  box-sizing: border-box;
}

.product-showcase-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.product-showcase-card:hover .product-showcase-link {
  background: #9F0A4B;
  border-color: #9F0A4B;
  color: #ffffff !important;
}

.product-showcase-card:hover .product-showcase-link svg {
  transform: translateX(4px);
}

@media only screen and (max-width: 991px) {
  .products-showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

@media only screen and (max-width: 575px) {
  .products-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .product-showcase-img {
    height: 180px;
  }
}

/* --------------------------------------------------------------------------
   FULL-WIDTH HERO SLIDER (EDGE-TO-EDGE & ZERO PADDING)
   -------------------------------------------------------------------------- */
.slider, .slider-fullwidth, .enhanced-slider-wrapper {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: #0f172a !important;
  box-shadow: none !important;
  overflow: hidden;
}

.slider .camera_wrap,
.slider-fullwidth .camera_wrap,
.enhanced-slider-wrapper .camera_wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.slider-fullwidth .camera_target,
.slider-fullwidth .cameraSlide {
  width: 100% !important;
  height: 100% !important;
}

/* Ensure slide images display in 100% FULL SIZE without cropping or truncation */
.slider-fullwidth .cameraSlide > img,
.slider-fullwidth .imgLoaded {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
  object-fit: fill !important;
  display: block !important;
}

/* Caption wrapper inside full-width slider aligned with 1200px site container and vertically centered */
.slider-fullwidth .camera_caption {
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 100% !important;
  width: 100% !important;
  position: absolute !important;
  z-index: 10 !important;
  background: transparent !important;
  pointer-events: none;
  display: flex !important;
  align-items: center !important;
}

.slider-fullwidth .camera_caption > div {
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  pointer-events: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.slider-fullwidth .slide-caption-card {
  display: block;
  width: 100%;
  max-width: 650px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-left: 5px solid #9F0A4B;
  border-radius: 8px;
  padding: 22px 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  margin-left: 0;
}

.slider-fullwidth .slide-caption-card .slide-heading {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.slider-fullwidth .slide-caption-card .slide-desc {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-fullwidth .slide-caption-card .slide-badges-row {
  margin-bottom: 14px;
  gap: 7px;
}

.slider-fullwidth .slide-caption-card .slide-badge-pill {
  font-size: 11.5px;
  padding: 4px 9px;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .slider-fullwidth .slide-caption-card {
    max-width: 520px;
    padding: 14px 18px;
  }
  .slider-fullwidth .slide-caption-card .slide-heading {
    font-size: 19px;
  }
  .slider-fullwidth .slide-caption-card .slide-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
}

@media only screen and (max-width: 767px) {
  /* Slider image: uncropped from right side, full edge-to-edge display */
  .slider-fullwidth .cameraSlide > img,
  .slider-fullwidth .imgLoaded {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none !important;
    object-fit: fill !important;
    display: block !important;
  }

  /* Show hover content / caption card on mobile */
  .slider-fullwidth .camera_caption {
    display: flex !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 15 !important;
    pointer-events: none;
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  .slider-fullwidth .camera_caption > div {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto;
    justify-content: center !important;
  }

  .slider-fullwidth .slide-caption-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 4px !important;
    padding: 12px 14px !important;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-left: 4px solid #9F0A4B !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    box-sizing: border-box !important;
  }

  .slider-fullwidth .slide-caption-card .slide-eyebrow {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
    margin-bottom: 4px !important;
    display: inline-block !important;
  }

  .slider-fullwidth .slide-caption-card .slide-heading {
    font-size: 15px !important;
    line-height: 1.25 !important;
    margin: 4px 0 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
  }

  .slider-fullwidth .slide-caption-card .slide-desc {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    color: #e2e8f0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .slider-fullwidth .slide-caption-card .slide-badges-row {
    display: none !important;
  }

  .slider-fullwidth .slide-caption-card .slide-buttons-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .slider-fullwidth .slide-caption-card .slide-btn-primary,
  .slider-fullwidth .slide-caption-card .slide-btn-secondary {
    flex: 1 !important;
    padding: 7px 8px !important;
    font-size: 11px !important;
    text-align: center !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
  }

  /* Clean touch arrows for mobile swipe/tap */
  .camera_prev,
  .camera_next {
    width: 38px !important;
    height: 38px !important;
    background: rgba(15, 23, 42, 0.60) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.85 !important;
  }
  .camera_prev { left: 10px !important; }
  .camera_next { right: 10px !important; }

  /* Hide messy thumbnail strips on mobile to prevent overflow */
  .camera_thumbs_cont,
  .camera_thumbs_wrap,
  .camera_prevThumbs,
  .camera_nextThumbs {
    display: none !important;
  }

  /* Form inputs: prevent iOS auto-zoom on focus & ensure full-width touch comfort */
  input[type="text"],
  input[type="password"],
  input[type="date"],
  input[type="datetime"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="time"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px !important;
    padding: 11px 14px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Optimal touch targets for all action buttons */
  .slide-btn-primary,
  .slide-btn-secondary,
  .product-showcase-link,
  .pre-cta-call-btn,
  .pre-cta-quote-btn,
  .home-cta-call,
  .home-cta-btn,
  .header-cta-btn {
    min-height: 44px;
    touch-action: manipulation;
  }
}





/* ==========================================================================
   PRODUCT INQUIRY CTA BOX & GLOBAL POPUP MODAL STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Product Detail Page Inquiry CTA Box
   -------------------------------------------------------------------------- */
.product-inquiry-box {
  margin: 32px 0 24px 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, #fdf2f6 0%, #ffffff 100%);
  border: 1px solid #fce7f3;
  border-left: 5px solid #9F0A4B;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(159, 10, 75, 0.06);
}

.product-inquiry-box-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pib-text h5 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.pib-highlight {
  color: #9F0A4B;
}

.pib-text p {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.pib-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.btn-product-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #9F0A4B 0%, #b8125a 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 22px;
  border: none;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(159, 10, 75, 0.32);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  font-family: inherit;
}

.btn-product-inquiry:hover {
  background: linear-gradient(135deg, #87063d 0%, #a10e4e 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(159, 10, 75, 0.42);
  color: #ffffff !important;
}

.btn-product-inquiry svg {
  width: 17px;
  height: 17px;
  fill: #ffffff;
  flex-shrink: 0;
}

.btn-product-inquiry svg.arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.btn-product-inquiry:hover svg.arrow-icon {
  transform: translateX(3px);
}

.btn-product-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b !important;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none !important;
}

.btn-product-call:hover {
  border-color: #9F0A4B;
  color: #9F0A4B !important;
  background: #fdf2f6;
}

.btn-product-call svg {
  width: 15px;
  height: 15px;
  fill: #9F0A4B;
}

.pib-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #fbcfe8;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Attractive Main Form Card (for inquiry.html)
   -------------------------------------------------------------------------- */
.inquiry-main-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #9F0A4B;
  border-radius: 12px;
  padding: 30px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.imfc-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.imfc-header h4 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.imfc-header p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Global Inquiry Popup Modal
   -------------------------------------------------------------------------- */
body.modal-open {
  overflow: hidden !important;
}

.inquiry-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.inquiry-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(25px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-modal-overlay.active .inquiry-modal-dialog {
  transform: translateY(0) scale(1);
}

.inquiry-modal-header {
  background: linear-gradient(135deg, #9F0A4B 0%, #760636 100%);
  padding: 20px 24px;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
}

.modal-header-titles h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.modal-header-titles p {
  font-size: 12.5px;
  color: #fce7f3;
  margin: 0;
  line-height: 1.4;
}

.inquiry-modal-close {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.inquiry-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.inquiry-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* --------------------------------------------------------------------------
   Shared Form Elements (Grid, Inputs, Buttons)
   -------------------------------------------------------------------------- */
.inquiry-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}

.inquiry-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inquiry-field-group.full-width {
  grid-column: 1 / -1;
}

.inquiry-field-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.inquiry-field-group label .req {
  color: #dc2626;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-icon svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  fill: #94a3b8;
  pointer-events: none;
  transition: fill 0.2s ease;
  z-index: 2;
}

.input-with-icon input,
.input-with-icon select,
.inquiry-field-group textarea {
  width: 100% !important;
  font-family: inherit;
  font-size: 14px !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  transition: all 0.22s ease !important;
  margin: 0 !important;
}

.input-with-icon input,
.input-with-icon select {
  height: 44px !important;
  padding: 10px 14px 10px 38px !important;
}

.inquiry-field-group textarea {
  padding: 12px 14px !important;
  resize: vertical;
  min-height: 80px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.inquiry-field-group textarea:focus {
  outline: none !important;
  border-color: #9F0A4B !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(159, 10, 75, 0.12) !important;
}

.input-with-icon input:focus + svg,
.input-with-icon:focus-within svg {
  fill: #9F0A4B;
}

.modal-form-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.modal-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #9F0A4B 0%, #bd125c 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(159, 10, 75, 0.32);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.modal-submit-btn:hover {
  background: linear-gradient(135deg, #7e073a 0%, #9F0A4B 100%);
  box-shadow: 0 8px 24px rgba(159, 10, 75, 0.45);
  transform: translateY(-1px);
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.modal-submit-btn svg.send-icon {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.modal-submit-btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinLoader 0.7s linear infinite;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.modal-privacy-note {
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
  margin: 0;
}

/* Alert Notification Box */
.inquiry-alert-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.45;
  animation: fadeInDown 0.3s ease;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Mobile Adjustments for Modal & CTA
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .inquiry-form-grid {
    grid-template-columns: 1fr;
  }
  .inquiry-modal-dialog {
    max-height: 94vh;
    border-radius: 12px;
  }
  .inquiry-modal-header {
    padding: 16px 18px;
  }
  .modal-header-titles h3 {
    font-size: 17px;
  }
  .inquiry-modal-body {
    padding: 18px 16px;
  }
  .product-inquiry-box {
    padding: 18px 16px;
    margin: 24px 0 18px 0;
  }
  .pib-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-product-inquiry,
  .btn-product-call {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .inquiry-main-form-card {
    padding: 20px 16px;
  }
}

/* --------------------------------------------------------------------------
   International Phone Input (intl-tel-input v19) Styling
   -------------------------------------------------------------------------- */
.phone-input-wrap {
  position: relative;
  width: 100%;
}

.iti {
  width: 100% !important;
  display: block !important;
  position: relative !important;
}

.iti input.iti__tel-input,
.iti input[type="tel"] {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  line-height: normal !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 10px 14px 10px 92px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.iti input.iti__tel-input:focus,
.iti input[type="tel"]:focus {
  outline: none !important;
  border-color: #9F0A4B !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(159, 10, 75, 0.12) !important;
}

.iti__flag-container {
  padding: 0 !important;
  z-index: 5 !important;
}

.iti--show-selected-dial-code .iti__selected-flag,
.iti--separate-dial-code .iti__selected-flag,
.iti__selected-flag {
  height: 100% !important;
  background-color: #f1f5f9 !important;
  border-right: 1px solid #cbd5e1 !important;
  border-top-left-radius: 7px !important;
  border-bottom-left-radius: 7px !important;
  padding: 0 8px 0 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  box-sizing: border-box !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.iti:hover .iti__selected-flag {
  background-color: #e2e8f0 !important;
}

.iti:focus-within .iti__selected-flag {
  background-color: #fdf2f8 !important;
  border-right-color: #9F0A4B !important;
}

.iti__selected-dial-code {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-left: 4px !important;
  line-height: normal !important;
}

.iti:focus-within .iti__selected-dial-code {
  color: #9F0A4B !important;
}

.iti__arrow {
  border-top-color: #64748b !important;
  margin-left: 6px !important;
}

.iti__country-list {
  z-index: 99999999 !important;
  max-height: 240px !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22) !important;
  border: 1px solid #cbd5e1 !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  background: #ffffff !important;
  margin-top: 4px !important;
}

.iti__country {
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: background 0.15s ease;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: #fdf2f8 !important;
  color: #9F0A4B !important;
}

.iti__dial-code {
  color: #64748b !important;
  font-weight: 600 !important;
}

.phone-validation-feedback {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
  display: none;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.phone-validation-feedback.is-hint {
  display: flex;
  color: #64748b;
  font-weight: 500;
}

.phone-validation-feedback.is-valid {
  display: flex;
  color: #16a34a;
}

.phone-validation-feedback.is-invalid {
  display: flex;
  color: #dc2626;
}

/* --------------------------------------------------------------------------
   Interactive Security CAPTCHA Styling
   -------------------------------------------------------------------------- */
.captcha-field-group {
  margin-top: 2px;
}

.captcha-control-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-badge-challenge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-width: 175px;
  box-sizing: border-box;
}

.captcha-icon {
  font-size: 14px;
}

.captcha-question-text {
  font-family: 'Courier New', Courier, monospace, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fbbf24;
}

.btn-refresh-captcha {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: all 0.2s ease;
}

.btn-refresh-captcha:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-refresh-captcha svg {
  width: 15px;
  height: 15px;
  fill: #ffffff;
  transition: transform 0.4s ease;
}

.btn-refresh-captcha:hover svg,
.btn-refresh-captcha.spinning svg {
  transform: rotate(180deg);
}

.captcha-input-wrap {
  flex: 1;
  min-width: 140px;
}

.captcha-input-wrap input {
  width: 100% !important;
  height: 44px !important;
  padding: 10px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  box-sizing: border-box !important;
  transition: all 0.22s ease !important;
  margin: 0 !important;
}

.captcha-input-wrap input:focus {
  outline: none !important;
  border-color: #9F0A4B !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(159, 10, 75, 0.12) !important;
}

.captcha-hint {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 5px;
  transition: color 0.2s ease;
}

.captcha-hint.is-error {
  color: #dc2626;
  font-weight: 600;
}

