* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            background: #1a1a1a;
            min-height: 100vh;
            overflow-x: hidden;
        } */

/* Top Info Bar */
.top-info-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1001;
  padding: 6px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.top-info-bar.hidden {
  transform: translateY(-100%);
}

.company-info-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-name-top {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.3px;
}

.top-right-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.top-right-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.top-right-links a:hover {
  color: white;
}

/* Main Header - Transparent (hero shows through). When scrolled, becomes opaque */
header {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  border-bottom: none;
  transition: all 0.3s ease;
}

header.scrolled {
  top: 0;
  background: rgba(0, 0, 0, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
}

/* When header is scrolled, make its inner container opaque too (higher specificity) */
header.scrolled .header-container {
  background: rgba(0, 0, 0, 0.95) !important;
}

.header-container {
  display: flex;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.logo {
  background: #0088cc;
  padding: 8px 12px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.logo .m-letter {
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 0.8;
  font-family: Arial, sans-serif;
}

.logo .meiko-text {
  font-size: 18px;
  font-weight: 700;
  color: white;
  line-height: 1;
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
}

/* Navigation */
nav {
  display: flex;
  flex: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
  padding: 22px 0;
  display: inline-block;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-menu li a:hover {
  color: #00a9e0;
}

/* Search Container */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 0;
}

.search-input {
  width: 0;
  padding: 6px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  color: white;
  font-size: 14px;
  outline: none;
  transition: all 0.4s ease;
  opacity: 0;
}

.search-input.active {
  width: 180px;
  padding: 6px 30px 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.icon-button {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.icon-button:hover {
  color: white;
}

/* Mobile Menu Toggle Button - HIDDEN ON DESKTOP */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 15px;
}

/* Mobile Navigation Menu */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    display: none;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    padding: 15px 0;
    font-size: 16px;
    width: 100%;
    display: block;
  }

  .search-container {
    margin-left: 0;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* reduced from full-screen */
  max-height: 720px;
  min-height: 420px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 700px;
  color: white;
}

.hero-label {
  display: inline-block;
  background: #0088cc;
  color: white;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0088cc;
  color: white;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-button:hover {
  background: #006ba3;
  transform: translateX(5px);
}

.hero-button i {
  font-size: 14px;
}

/* Category Navigation Bar */
.category-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.category-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  padding: 0 40px;
}

.category-item {
  flex: 1;
  padding: 22px 30px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
  background: transparent;
}

.category-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.category-item.active {
  color: white;
  border-bottom: 2px solid white;
  font-weight: 500;
}

/* Content Section */
.content-section {
  padding: 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
  color: white;
}

.content-section h2 {
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: 300;
}

.content-section p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.85;
  font-weight: 300;
  margin-bottom: 20px;
}

/* MEIKO Experience Section */
.meiko-experience-section {
  background: #f5f5f5;
  padding: 100px 40px;
}

.experience-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience-content h2 {
  font-size: 72px;
  font-weight: 900;
  color: #078ec8;
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.experience-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
  font-weight: 400;
}

.experience-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0088cc;
  color: white;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.experience-button:hover {
  background: #006ba3;
  transform: translateX(5px);
}

.experience-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.experience-image {
  text-align: center;
}

.experience-image img {
  width: 100%;
  max-width: 600px; 
  height: auto;
}

 
@media (min-width: 992px) {
  .experience-image img {
    width: 600px;
    height: 400px;
    object-fit: cover;  
  }
}

/* Products Section */
.products-section {
  background: #e8e8e8;
  padding: 100px 40px;
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-card {
  background: #d4d4d4;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0;
}

.product-card h3 {
  font-size: 28px;
  font-weight: 300;

  color: #078ec8;
  margin-bottom: 40px;
  padding: 40px 40px 0;
}

.product-image-container {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.product-image-container img {
  max-width: 80%;
  max-height: 450px;
  object-fit: contain;
}

.product-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  padding: 0 40px 40px;
  margin-top: 20px;
}

/* Product Finder Section */
.product-finder-section {
  background: white;
  padding: 80px 40px;
}

.product-finder-container {
  max-width: 1400px;
  margin: 0 auto;
}

.finder-title {
  font-size: 72px;
  font-weight: 900;
  color: #000;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.finder-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 50px;
}

.finder-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #ddd;
  margin-bottom: 50px;
}

.finder-tab {
  padding: 20px 30px;
  font-size: 16px;
  color: #666;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.finder-tab:hover {
  color: #333;
}

.finder-tab.active {
  color: #000;
  border-bottom: 3px solid #0088cc;
}

.finder-content {
  display: none;
}

.finder-content.active {
  display: block;
}

.finder-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 500;
}

.filter-dropdown {
  position: relative;
  width: 100%;
}

.filter-select-wrapper {
  position: relative;
  width: 100%;
}

.filter-select {
  width: 100%;
  padding: 15px 40px 15px 15px;
  font-size: 15px;
  color: #333;
  background: white;
  border: 1px solid #ddd;
  border-radius: 25px;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  padding-right: 70px;
}

.filter-select:hover {
  border-color: #0088cc;
}

.filter-select.active {
  border-color: #0088cc;
  background: #f0f8ff;
  color: #333;
}

/* Cancel button inside filter select */
.filter-cancel-btn {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.filter-cancel-btn:hover {
  background: #cc0000;
}

.filter-select.active .filter-cancel-btn {
  display: flex;
}

.filter-dropdown-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #0088cc;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.filter-select.active + .filter-dropdown-icon {
  color: #0088cc;
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #0088cc;
  border-radius: 15px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  background: #0088cc;
  color: white;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 10;
}

.dropdown-item {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-item.selected {
  background: #e3f2fd;
}

.dropdown-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.dropdown-item i {
  color: #666;
  font-size: 18px;
  width: 24px;
}

.dropdown-item span {
  color: #333;
  font-size: 14px;
}

.dropdown-item-count {
  background: #bbb;
  color: white;
  padding: 4px 10px;
  border-radius: 50%;
  font-size: 12px;
  min-width: 28px;
  text-align: center;
}

.further-options {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0088cc;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.further-options:hover {
  opacity: 0.8;
}

.further-options i {
  font-size: 18px;
}

/* Product Results Section */
.product-results-section {
  background: #f5f5f5;
  padding: 60px 40px;
}

.results-container {
  max-width: 1400px;
  margin: 0 auto;
}

.results-header {
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
  font-weight: 500;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product-item {
  background: white;
  padding: 40px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 40px;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-item-image {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-item-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.product-item-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tag {
  background: white;
  border: 1px solid #ddd;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
}

.product-item-action {
  display: flex;
  align-items: center;
}

.datasheet-button {
  background: #0088cc;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.datasheet-button:hover {
  background: #006ba3;
}

.view-more-container {
  text-align: center;
  margin-top: 50px;
}

.view-more-button {
  background: transparent;
  border: 2px solid #0088cc;
  color: #0088cc;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.view-more-button:hover {
  background: #0088cc;
  color: white;
}

.view-more-button i {
  font-size: 14px;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 18px;
}

.product-item.hidden {
  display: none;
}

/* Success Stories Section */
.success-stories-section {
  background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
  padding: 80px 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

.success-stories-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.success-story-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.success-story-slide.active {
  display: block;
  opacity: 1;
}

.story-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.story-title {
  font-size: 28px;
  font-weight: 700;
  color: #078ec8;
  letter-spacing: 1px;
  margin: 0;
}

.story-quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-quote p:first-child {
  font-size: 24px;
  line-height: 1.6;
  color: #333;
  font-weight: 300;
  margin: 0;
  position: relative;
  padding-left: 40px;
}

.story-quote p:first-child::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 60px;
  color: #0088cc;
  font-weight: 700;
  opacity: 0.3;
}

.story-author {
  font-size: 14px;
  color: #999;
  margin: 0 !important;
  padding-left: 0 !important;
  font-style: italic;
}

.story-author::before {
  content: "" !important;
}

.btn-read-more {
  background: #0088cc;
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.btn-read-more:hover {
  background: #006ba3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}
.success-story-slide {
  display: none;
}

.success-story-slide.active {
  display: block;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator.active {
  background: #0088cc;
  width: 32px;
  border-radius: 6px;
}

.indicator:hover {
  background: #999;
}

.indicator.active:hover {
  background: #0088cc;
}

/* News Section */
.news-section {
  background: #ffffff;
  padding: 80px 5%;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
}

.news-title {
  font-size: 96px;
  font-weight: 900;
  color: #000;
  margin: 0 0 60px 0;
  letter-spacing: -2px;
  line-height: 1;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
}

.news-image {
  width: 100%;
  height: 280px;
  margin-bottom: 35px;
  overflow: hidden;
  border-radius: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.04);
}

.news-content {
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 13px;
  color: #888;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.news-heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.news-description {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 24px 0;
  flex-grow: 1;
  font-weight: 400;
}

.news-link {
  color: #0088cc;
  text-decoration: none;
  font-size: 18px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.news-link i {
  color: #0088cc;
  transition: all 0.3s ease;
}

.news-link:hover i {
  transform: translateX(6px);
}

/* Magazine Section */
.magazine-section {
  background: white;
  padding: 80px 5% 60px 5%;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

.magazine-container {
  max-width: 1400px;
  margin: 0 auto;
}

.magazine-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  gap: 40px;
}

.magazine-title {
  font-size: 100px;
  font-weight: 900;
  color: #000;
  margin: 0;
  letter-spacing: -2.5px;
  line-height: 0.95;
  flex-shrink: 0;
}

.magazine-btn {
  background: #0088cc;
  color: white;
  padding: 13px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.magazine-btn:hover {
  background: #006ba3;
}

.magazine-btn i {
  font-size: 12px;
}

.magazine-bg {
  background: #d8d8d8;
  padding: 35px;
  border-radius: 0;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.magazine-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

.magazine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.magazine-card:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 70px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin: 0 0 10px 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.card-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: 400;
}

/* References Section */
.references-section {
  background: white;
  padding: 100px 5% 80px 5%;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

.references-container {
  max-width: 1400px;
  margin: 0 auto;
}

.references-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 65px;
  gap: 30px;
}

.references-title {
  font-size: 96px;
  font-weight: 900;
  color: #000;
  margin: 0;
  letter-spacing: -2px;
  line-height: 1;
  flex-shrink: 0;
}

.references-pagination {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.page-info {
  font-size: 16px;
  color: #666;
  font-weight: 400;
}

.pagination-btn {
  color: #0088cc;
  background: none;
  border: none;
  text-decoration: none;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.pagination-btn:hover {
  color: #006ba3;
  transform: translateX(3px);
}

#references-grid {
  position: relative;
  overflow: hidden;
}

.references-set {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.5s ease;
  position: absolute;
  width: 100%;
}

.references-set.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.reference-card {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.reference-card:hover {
  transform: translateY(-5px);
}

.reference-image {
  width: 100%;
  height: 340px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 8px;
}

.reference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.reference-card:hover .reference-image img {
  transform: scale(1.05);
}

.reference-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0 0 18px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.reference-description {
  font-size: 14px;
  color: #555;
  line-height: 1.68;
  margin: 0 0 24px 0;
  flex-grow: 1;
  font-weight: 400;
}

.reference-link {
  color: #0088cc;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  width: fit-content;
}

.reference-link i {
  color: #0088cc;
  transition: all 0.3s ease;
}

.reference-link:hover i {
  transform: translateX(5px);
}

/* CTA Section */
.cta-section {
  background: #e8e8e8;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cta-wrapper {
  width: 100%;
  padding: 80px 5%;
}

.cta-box {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: #f5f5f5;
  position: relative;
  min-height: 550px;
}

.cta-left {
  padding: 80px 60px 80px 80px;
  background: #f5f5f5;
  z-index: 2;
  position: relative;
}

.cta-right {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 550px;
}

.cta-title {
  font-size: 64px;
  font-weight: 900;
  color: #000;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 60px 0;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 380px;
}

.form-label {
  font-size: 14px;
  color: #999;
  font-weight: 400;
  margin: 0;
}

.form-dropdown-wrapper {
  position: relative;
}

.form-dropdown {
  position: relative;
}

.dropdown-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid #999;
  border-radius: 30px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  color: #333;
}

.dropdown-selected:hover {
  border-color: #0088cc;
}

.dropdown-selected i:first-child {
  font-size: 16px;
  color: #666;
}

.dropdown-selected i:last-child {
  margin-left: auto;
  font-size: 12px;
  color: #999;
  transition: transform 0.3s ease;
}

.dropdown-selected.open i:last-child {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #0088cc;
  border-radius: 20px;
  margin-top: 8px;
  display: none;
  z-index: 100;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dropdown-menu.open {
  display: block;
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #333;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background: #f0f0f0;
}

.dropdown-option.selected {
  background: #0088cc;
  color: white;
}

.dropdown-option.selected i {
  color: white;
}

.dropdown-option i {
  font-size: 16px;
  color: #666;
}

.cta-button {
  background: #0088cc;
  color: white;
  border: none;
  padding: 13px 32px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.cta-button:hover {
  background: #006ba3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.cta-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 550px;
  overflow: hidden;
}

.cta-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Services Section */
.services-section {
  background: white;
  padding: 100px 5%;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 36px;
  opacity: 0.7;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0;
  letter-spacing: 0.5px;
}

.service-description {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.service-link {
  color: #0088cc;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-link:hover {
  color: #006ba3;
  transform: translateX(3px);
}
/* Footer Styles - Merged and Optimized */
.footer-wrapper {
  margin-top: 50px;
  background: #f5f5f5;
  position: relative;
  z-index: 10;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.contact-banner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #0d1720 0%, #1a2a38 100%);
  border-radius: 12px;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
  transform: translateY(50%);
  margin-left: 30px;
  margin-right: 30px;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00b4e6 0%, #0088cc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 180, 230, 0.5);
}

.contact-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: white;
}

.contact-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.dot {
  color: #666;
  font-size: 10px;
}

.youtube {
  background: #ff0000;
}

.floating-container {
  position: fixed;
  right: 20px;
  bottom: 60px;
  z-index: 9999;
}

/* Main Button */
.floating-button {
  width: 60px;
  height: 60px;
  background: #078ec8;
  /* BLUE color */
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Social icons open ABOVE but button stays DOWN */
.social-buttons {
  position: absolute;
  bottom: 70px;
  /* IMPORTANT */
  right: 5px;
  display: none;
  flex-direction: column;
  align-items: center;
}

.social {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
/* ============================= */
/* CLEAR HD YOUTUBE THUMBNAIL */
/* ============================= */

.youtube-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}

/* ============================= */
/* YOUTUBE THUMBNAIL FIX - NO CUT */
/* ============================= */

.story-video {
  width: 100%;
}

.youtube-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 8px;
}

/* IMPORTANT CHANGE HERE */
.youtube-player img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* cover se contain kar diya */
  background: #000;
}

/* Play Button */
.youtube-player .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 14px 18px;
}

/* iframe responsive */
.youtube-player iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
}

/* Mobile layout fix */
@media (max-width: 768px) {
  .story-content-wrapper {
    flex-direction: column;
  }

  .story-video {
    width: 100%;
    margin-bottom: 20px;
  }
}

.youtube-player .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 15px 20px;
}

/* Social Colors */
.whatsapp {
  background: #25d366;
}

.instagram {
  background: #e1306c;
}

.linkedin {
  background: #0077b5;
}

footer {
  background: linear-gradient(180deg, #1e2f3f 0%, #152029 100%);
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 20px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.newsletter-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
  color: #ffffff;
}

.newsletter-section p {
  color: #b0b8c0;
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 14px;
}

.newsletter-btn {
  background-color: #ffffff;
  color: #1a2530;
  border: none;
  padding: 14px 24px;
  border-radius: 35px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  justify-content: space-between;
}

.newsletter-btn:hover {
  background-color: #e8e8e8;
  transform: translateY(-2px);
}

.newsletter-btn svg {
  width: 20px;
  height: 20px;
}

.arrow {
  font-size: 18px;
  color: #00b4e6;
  font-weight: 400;
}

.international-section {
  margin-top: 40px;
}

.international-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
  color: #ffffff;
}

.international-section p {
  color: #b0b8c0;
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 14px;
}

.country-btn {
  background-color: #ffffff;
  color: #1a2530;
  border: none;
  padding: 14px 24px;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
  transition: all 0.3s ease;
}

.country-btn:hover {
  background-color: #e8e8e8;
  transform: translateY(-2px);
}

.country-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flag-icon {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.flag-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-column a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-column a:hover {
  color: #00b4e6;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.company-info {
  color: white;
  font-size: 13px;
  max-width: 650px;
  line-height: 1.6;
}
.company-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #cfcfcf;
}

.company-info i {
  color: #0088cc;
  margin-top: 2px;
}
.footer-social-icons {
  margin-top: 1px;
  display: flex;
  gap: 12px;
}

.footer-social-icons a {
  width: 34px;
  height: 34px;
  background: #0088cc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  background: #006ba3;
  transform: translateY(-2px);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: #8a95a0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-left: 15px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
    transform: translateY(30%);
  }

  .contact-right {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .contact-text {
    font-size: 20px;
  }

  .contact-item {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-right {
    flex-direction: column;
    gap: 15px;
  }

  .social-icons {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .contact-banner {
    padding: 15px;
  }

  /* Make dropdown text white on mobile specifically for the warewashing page */
  @media (max-width: 900px) {
    body.warewashing #main-header .dropdown-simple,
    body.warewashing #main-header .dropdown-simple .dropdown-item,
    body.warewashing .dropdown-simple,
    body.warewashing .dropdown-simple .dropdown-item {
      color: white !important;
      background: rgba(0, 0, 0, 0) !important;
    }

    /* If dropdown background remains white, at least make text white for contrast */
    body.warewashing .dropdown-simple .dropdown-item {
      color: white !important;
    }
  }

  .logo-circle {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .contact-text {
    font-size: 18px;
  }

  .newsletter-btn,
  .country-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .nav-column a {
    font-size: 14px;
    padding: 12px 0;
  }
}

/* ============================================ */
/* MOBILE RESPONSIVE STYLES */
/* ============================================ */

/* General Mobile Styles */
@media (max-width: 1300px) {
  .nav-menu {
    gap: 24px;
  }

  .nav-menu li a {
    font-size: 13px;
  }

  .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 22px;
  }

  .nav-menu li a {
    font-size: 12.5px;
  }
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 20px;
  }

  .nav-menu li a {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    gap: 18px;
  }

  .nav-menu li a {
    font-size: 11.5px;
  }

  .company-name-top {
    font-size: 11px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-description {
    font-size: 18px;
  }

  .experience-content h2 {
    font-size: 48px;
  }

  .product-card h3 {
    font-size: 24px;
  }

  .finder-title {
    font-size: 48px;
  }

  .story-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-quote p:first-child {
    font-size: 20px;
  }

  .story-title {
    font-size: 24px;
  }

  .news-title {
    font-size: 72px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .news-image {
    height: 240px;
    margin-bottom: 30px;
  }

  .news-heading {
    font-size: 18px;
  }

  .magazine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .magazine-title {
    font-size: 80px;
  }

  .magazine-card {
    height: 320px;
  }

  .card-title {
    font-size: 28px;
  }

  .magazine-bg {
    padding: 30px;
  }

  .references-set {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .references-title {
    font-size: 72px;
  }

  .reference-image {
    height: 300px;
  }

  .reference-title {
    font-size: 15px;
  }

  .cta-box {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cta-left {
    padding: 60px 40px;
  }

  .cta-right {
    min-height: 300px;
  }

  .cta-title {
    font-size: 48px;
  }

  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .search-container {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .top-info-bar,
  .header-container {
    padding: 0 20px;
  }

  .top-right-links {
    gap: 15px;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    max-width: 90%;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-description {
    font-size: 16px;
  }

  /* Reduce hero size on small screens */
  .hero-section {
    height: 50vh;
    min-height: 260px;
    margin-top: 60px;
    /* keep below header */
  }

  .experience-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .products-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .finder-filters {
    grid-template-columns: 1fr;
  }

  .product-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-item-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .success-stories-section {
    padding: 60px 0;
  }

  .success-stories-container {
    padding: 0 20px;
  }

  .story-image img {
    height: 300px;
  }

  .story-quote p:first-child {
    font-size: 18px;
    line-height: 1.5;
  }

  .story-title {
    font-size: 20px;
  }

  .story-text {
    gap: 20px;
  }

  .news-section {
    padding: 60px 5%;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .news-title {
    font-size: 52px;
    margin-bottom: 45px;
  }

  .news-image {
    height: 280px;
  }

  .news-heading {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .news-description {
    font-size: 14px;
  }

  .magazine-section {
    padding: 60px 5% 50px 5%;
  }

  .magazine-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 35px;
  }

  .magazine-title {
    font-size: 56px;
  }

  .magazine-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .magazine-card {
    height: 350px;
  }

  .card-title {
    font-size: 24px;
  }

  .magazine-bg {
    padding: 25px;
  }

  .references-section {
    padding: 80px 5% 60px 5%;
  }

  .references-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 45px;
  }

  .references-title {
    font-size: 56px;
  }

  .references-set {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 35px;
  }

  .reference-image {
    height: 350px;
  }

  .reference-title {
    font-size: 14px;
  }

  .reference-description {
    font-size: 13px;
  }

  .cta-section {
    min-height: auto;
    padding: 40px 0;
  }

  .cta-wrapper {
    padding: 40px 5%;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-left {
    padding: 40px 20px;
  }

  .cta-right {
    min-height: 250px;
  }

  .cta-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .cta-form {
    max-width: 100%;
  }

  .services-section {
    padding: 60px 5%;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
  }

  .contact-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .success-stories-section {
    padding: 40px 0;
  }

  .success-stories-container {
    padding: 0 16px;
  }

  .story-image img {
    height: 250px;
  }

  .story-quote p:first-child {
    font-size: 16px;
    padding-left: 30px;
  }

  .story-title {
    font-size: 18px;
  }

  .btn-read-more {
    padding: 10px 25px;
    font-size: 13px;
  }

  .news-section {
    padding: 50px 5%;
  }

  .news-title {
    font-size: 36px;
    margin-bottom: 35px;
  }

  .news-grid {
    gap: 35px;
  }

  .news-image {
    height: 220px;
    margin-bottom: 25px;
  }

  .news-heading {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .news-description {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .magazine-section {
    padding: 50px 5% 40px 5%;
  }

  .magazine-title {
    font-size: 42px;
  }

  .magazine-btn {
    padding: 11px 26px;
    font-size: 13px;
  }

  .magazine-bg {
    padding: 20px;
  }

  .magazine-card {
    height: 280px;
  }

  .card-overlay {
    padding: 50px 20px 20px 20px;
  }

  .card-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .card-text {
    font-size: 10px;
  }

  .references-section {
    padding: 60px 5% 50px 5%;
  }

  .references-title {
    font-size: 42px;
  }

  .references-pagination {
    gap: 12px;
  }

  .page-info {
    font-size: 14px;
  }

  .pagination-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .references-set {
    gap: 30px;
    margin-bottom: 30px;
  }

  .reference-image {
    height: 280px;
    margin-bottom: 20px;
  }

  .reference-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .reference-description {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .url-link {
    font-size: 11px;
  }

  .cta-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .cta-left {
    padding: 30px 16px;
  }

  .cta-right {
    min-height: 200px;
  }

  .form-label {
    font-size: 13px;
  }

  .dropdown-selected {
    font-size: 14px;
    padding: 12px 14px;
  }

  .dropdown-option {
    padding: 12px 14px;
    font-size: 14px;
  }

  .cta-button {
    padding: 12px 28px;
    font-size: 14px;
  }

  .services-section {
    padding: 50px 5%;
  }

  .services-container {
    gap: 40px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-description {
    font-size: 13px;
  }
}

/* Mobile Category Navigation */
@media (max-width: 768px) {
  .category-container {
    flex-direction: column;
    padding: 0 20px;
  }

  .category-item {
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
  }
}

/* Mobile Product Finder */
@media (max-width: 768px) {
  .finder-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .finder-tab {
    padding: 15px 20px;
    font-size: 14px;
  }
}

/* Mobile Footer */
@media (max-width: 768px) {
  .contact-banner {
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px;
  }

  .contact-text {
    font-size: 20px;
  }

  .contact-item {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
  .hero-button,
  .experience-button,
  .datasheet-button,
  .btn-read-more,
  .cta-button,
  .view-more-button,
  .magazine-btn,
  .newsletter-btn,
  .country-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dropdown-item,
  .dropdown-option,
  .finder-tab,
  .category-item,
  .nav-column a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .search-input.active {
    width: 150px;
  }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .hero-section,
  .content-section,
  .meiko-experience-section,
  .products-section,
  .product-finder-section,
  .product-results-section,
  .success-stories-section,
  .news-section,
  .magazine-section,
  .references-section,
  .cta-section,
  .services-section,
  footer {
    overflow-x: hidden;
  }
}

/* Force header and header-container transparent so hero shows behind it (only when NOT scrolled) */
header:not(.scrolled),
header:not(.scrolled) .header-container {
  background: transparent !important;
}

/* Ensure hero starts at the very top so it sits behind the fixed header */
.hero-section {
  margin-top: 0 !important;
  z-index: 0;
}

/* Keep header above hero */
header {
  z-index: 1001;
}

/* Make sure header contents remain visible on top of the hero image */
.header-container a,
.header-container .meiko-text,
.header-container .m-letter {
  color: white !important;
}

/* Make sure hero doesn't show behind the fixed header */
.hero-section {
  margin-top: 90px;
  /* top-info-bar (30px) + header (60px) */
}

/* Hide top info bar on mobile and adjust header/hero spacing */
@media (max-width: 768px) {
  .top-info-bar {
    display: none;
  }

  header {
    top: 0;
    /* since top-info-bar is hidden on mobile */
  }

  .hero-section {
    margin-top: 60px;
    /* only header height on mobile */
  }

  /* Mobile three-dots button styling */
  .mobile-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    margin-left: 8px;
  }

  /* Hide original category nav in hero; show only when toggled */
  .category-nav {
    display: none;
  }

  .category-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-top: none;
    padding: 8px 12px;
  }

  .category-container {
    padding: 0 12px;
    gap: 12px;
    overflow-x: auto;
  }
}

/* Hide mobile-dots on desktop */
.mobile-dots {
  display: none;
}

/* Hero slide indicators */
.hero-indicators {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 8px 0 12px;
  width: 100%;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-indicator.active {
  background: #0088cc;
  width: 28px;
  border-radius: 6px;
}

/* Mobile category list (visible when .mobile-open is set on .category-nav) */
.mobile-category-list {
  display: none;
  width: 100%;
  gap: 8px;
  justify-content: center;
}

.category-nav.mobile-open .mobile-category-list {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.95);
  padding: 12px;
  border-radius: 6px;
}

.mobile-category-list .category-item {
  padding: 10px 12px;
  color: white;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.mobile-category-list .category-item:last-child {
  border-bottom: none;
}

.has-dropdown {
  position: static !important;
}

.dropdown-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  width: calc(100% - 200px);
  max-width: 1400px;
  margin: 8px auto 0 auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  display: none;
  z-index: 2000;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
}

.has-dropdown:hover .dropdown-mega {
  display: block;
}

/* Triangular pointer */
.dropdown-mega::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 140px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid white;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

/* CONTENT GRID - EXACT SCREENSHOT LAYOUT */
.mega-content {
  display: grid;
  grid-template-columns: 250px 420px 1fr;
  min-height: 400px;
}

/* LEFT COLUMN - Categories */
.mega-left {
  background: #f5f5f5;
  padding: 30px 0;
  border-right: 1px solid #e6e6e6;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* CATEGORY ITEM */
.mega-left .category-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 20px !important;
  text-decoration: none;
  color: #2c2c2c;
  position: relative;
  border-left: 3px solid transparent;
  transition: all 0.12s ease;
  cursor: pointer;
  white-space: normal;
}

.mega-left .category-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.mega-left .category-item.active {
  background: white;
  border-left-color: #0088cc;
}

.mega-left .category-item::after {
  content: "→";
  position: absolute;
  right: 20px !important;
  top: 50%;
  transform: translateY(-50%);
  color: #0088cc;
  font-size: 20px;
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.25s;
}

.mega-left .category-item.active::after {
  opacity: 1;
}

.category-icon {
  width: 56px;
  height: 40px;
  flex-shrink: 0;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.category-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* CATEGORY TITLE - NO CUTTING, FLEXIBLE HEIGHT */
.category-title {
  font-size: 14px !important;
  line-height: 1.25 !important;
  color: #2c2c2c !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding-right: 30px;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  max-height: none !important;
  height: auto !important;
  display: block !important;
  /* REMOVED: -webkit-line-clamp, -webkit-box-orient */
}

/* MIDDLE COLUMN - Subcategories */
.mega-middle {
  padding: 30px 30px;
  background: white;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  max-height: 520px;
}

.subcategory-section {
  display: none;
}

.subcategory-section.active {
  display: block;
}

.subcategory-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subcategory-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  text-decoration: none;
  color: #2c2c2c;
  position: relative;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.subcategory-item:hover {
  background: #f8f8f8;
}

.subcategory-item::after {
  content: "›";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #0088cc;
  font-size: 26px;
  font-weight: 300;
  opacity: 0;
}

.subcategory-item:hover::after {
  opacity: 1;
}

.subcategory-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.subcategory-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.subcategory-label {
  font-size: 11px !important;
  color: #999 !important;
  margin-bottom: 3px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

/* SUBCATEGORY NAME - NO CUTTING, FULL TEXT VISIBLE */
.subcategory-name {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #2c2c2c !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  max-height: none !important;
  height: auto !important;
  display: block !important;
  /* REMOVED: -webkit-line-clamp, -webkit-box-orient */
  /* Text will wrap naturally based on content */
}

/* Default view in middle column */
.mega-middle .default-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

.mega-middle .default-view h3 {
  font-size: 20px;
  color: #0088cc;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.mega-middle .default-view p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* RIGHT COLUMN - Description */
.mega-right {
  padding: 30px 40px;
  background: white;
  overflow-y: auto;
  max-height: 520px;
}

.description-section {
  display: none;
}

.description-section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.description-image {
  width: 100%;
  margin-bottom: 25px;
  border-radius: 4px;
  overflow: hidden;
}

.description-image img {
  width: 100%;
  height: auto;
  display: block;
}

.description-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  color: #000 !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.5px !important;
}

.description-text {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: #666 !important;
  margin-bottom: 25px !important;
}

.description-link {
  display: inline-block;
  color: #0088cc;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.description-link:hover {
  color: #006ba3;
  transform: translateX(5px);
}

/* Product Finder specific styles */
#description-productfinder .description-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#description-productfinder .description-title {
  font-size: 24px !important;
  color: #0088cc !important;
  margin-bottom: 15px !important;
}

#description-productfinder .description-text {
  font-size: 14px !important;
  color: #666 !important;
  padding-right: 0;
}

.product-finder-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.description-link.product-finder-btn {
  background: #0088cc;
  color: white !important;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  width: fit-content;
  min-width: 180px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  font-size: 14px;
}

.description-link.product-finder-btn:hover {
  background: #006ba3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1300px) {
  .dropdown-mega {
    width: 95vw;
    left: -20px;
    transform: translateX(0);
  }

  .mega-content {
    grid-template-columns: 280px 400px 1fr;
  }
}

@media (min-width: 1000px) {
  .mega-middle {
    padding: 30px 25px;
    max-height: 520px;
  }

  .mega-right {
    padding: 30px 35px;
    max-height: 520px;
  }

  .mega-right .description-section.active {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    align-items: start;
  }

  .mega-right .description-image img {
    max-width: 240px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
  }
}

@media (max-width: 900px) {
  .dropdown-mega {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none !important;
  }

  .mega-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mega-left,
  .mega-middle,
  .mega-right {
    border: none;
    padding: 25px;
  }

  .mega-left {
    border-bottom: 1px solid #eee;
    padding: 25px;
  }

  .mega-middle {
    border-bottom: 1px solid #eee;
  }

  .mega-left .category-item {
    padding: 15px !important;
  }
}
/* ============================= */
/* MOBILE MENU VISIBILITY FIX */
/* ============================= */

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: 90vh;
    overflow-y: auto;
  }

  .nav-menu .nav-item {
    width: 100%;
  }

  .nav-menu .nav-link {
    padding: 14px 22px;
    color: #fff !important;
    justify-content: space-between;
  }

  /* Disable hover dropdown on mobile */
  .has-dropdown:hover .dropdown-mega {
    display: none !important;
  }

  /* Mega dropdown accordion style */
  .dropdown-mega {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
  }

  .nav-item.open .dropdown-mega {
    display: block;
  }
}

/* Mobile overrides for pages using body.page-inner
   - mobile toggle icon/text should be black
   - navigation text below the toggle should be white
   (Scoped to max-width:900px to affect mobile view only) */
@media (max-width: 900px) {
  body.page-inner .mobile-menu-toggle {
    color: black !important;
  }

  /* Ensure icon SVGs or icon fonts inside the toggle are black */
  body.page-inner .mobile-menu-toggle svg,
  body.page-inner .mobile-menu-toggle i,
  body.page-inner .mobile-menu-toggle .icon {
    color: black !important;
    fill: black !important;
  }

  /* Text in the mobile nav below the toggle should be white */
  body.page-inner .nav-menu,
  body.page-inner .nav-menu li a,
  body.page-inner .nav-menu .nav-link {
    color: white !important;
  }
}

/* More specific mobile rules to ensure scrolled header overrides work correctly */
@media (max-width: 900px) {
  /* stronger selectors for icon fill/stroke */
  body.page-inner .mobile-menu-toggle svg,
  body.page-inner .mobile-menu-toggle i,
  body.page-inner .mobile-menu-toggle .icon,
  body.page-inner .mobile-menu-toggle span {
    color: black !important;
    fill: black !important;
    stroke: black !important;
  }

  /* Ensure all nav link variations are white on page-inner pages */
  body.page-inner .nav-menu,
  body.page-inner .nav-menu.active,
  body.page-inner .nav-menu li a,
  body.page-inner .nav-menu .nav-link,
  body.page-inner .nav-menu .nav-item .nav-link {
    color: white !important;
  }

  /* When header becomes scrolled/opaque, make the toggle white again */
  body.page-inner header.scrolled .mobile-menu-toggle,
  body.page-inner header.scrolled .mobile-menu-toggle svg,
  body.page-inner header.scrolled .mobile-menu-toggle i,
  body.page-inner header.scrolled .mobile-menu-toggle .icon,
  body.page-inner header.scrolled .mobile-menu-toggle span {
    color: white !important;
    fill: white !important;
    stroke: white !important;
  }
}

/* Highest-specificity mobile overrides to beat inline/header styles in header.php */
@media (max-width: 900px) {
  body.page-inner #main-header .mobile-menu-toggle,
  body.page-inner #main-header .mobile-menu-toggle svg,
  body.page-inner #main-header .mobile-menu-toggle i,
  body.page-inner #main-header .mobile-menu-toggle .icon,
  body.page-inner #main-header .mobile-menu-toggle span {
    color: black !important;
    fill: black !important;
    stroke: black !important;
  }

  /* Force nav links under the toggle to be white on mobile for page-inner */
  body.page-inner #main-header .nav-menu,
  body.page-inner #main-header .nav-menu.active,
  body.page-inner #main-header .nav-menu li a,
  body.page-inner #main-header .nav-menu .nav-link,
  body.page-inner #main-header .nav-menu .nav-item .nav-link {
    color: white !important;
  }

  /* When header has scrolled/opaque state, toggle should be white */
  body.page-inner #main-header.scrolled .mobile-menu-toggle,
  body.page-inner #main-header.scrolled .mobile-menu-toggle svg,
  body.page-inner #main-header.scrolled .mobile-menu-toggle i,
  body.page-inner #main-header.scrolled .mobile-menu-toggle .icon,
  body.page-inner #main-header.scrolled .mobile-menu-toggle span {
    color: white !important;
    fill: white !important;
    stroke: white !important;
  }
}

/* Force all nav & dropdown text to white on mobile for inner pages (covers warewashing) */
@media (max-width: 900px) {
  body.page-inner #main-header,
  body.page-inner #main-header .nav-menu,
  body.page-inner #main-header .nav-menu *,
  body.page-inner .nav-menu,
  body.page-inner .nav-menu *,
  body.warewashing #main-header .nav-menu,
  body.warewashing #main-header .nav-menu *,
  body.warewashing .nav-menu,
  body.warewashing .nav-menu * {
    color: white !important;
  }

  /* Specific dropdown/simple items and headers */
  body.page-inner #main-header .dropdown-simple,
  body.page-inner #main-header .dropdown-simple .dropdown-item,
  body.page-inner .dropdown-simple .dropdown-item,
  body.warewashing #main-header .dropdown-simple .dropdown-item,
  body.warewashing .dropdown-simple .dropdown-item,
  body.page-inner #main-header .dropdown-simple .dropdown-column-header,
  body.warewashing #main-header .dropdown-simple .dropdown-column-header {
    color: white !important;
    background: transparent !important;
  }

  /* Ensure links are visible (remove any low-opacity rules) */
  body.page-inner #main-header .nav-menu li a,
  body.warewashing #main-header .nav-menu li a {
    color: white !important;
    opacity: 1 !important;
  }
}

/* Hide mega dropdown on mobile - only show simple mobile menu */
@media (max-width: 900px) {
  body.page-inner .dropdown-mega,
  body.warewashing .dropdown-mega,
  body.page-inner .has-dropdown .dropdown-mega,
  body.warewashing .has-dropdown .dropdown-mega {
    display: none !important;
  }
}

/* Mobile products menu (the simple/mobile fallback) - ensure links are white */
@media (max-width: 900px) {
  body.page-inner .mobile-products-menu,
  body.warewashing .mobile-products-menu,
  body.page-inner .mobile-products-menu .mobile-category,
  body.warewashing .mobile-products-menu .mobile-category,
  body.page-inner .mobile-subcategories a,
  body.warewashing .mobile-subcategories a,
  body.page-inner .mobile-subcategories,
  body.warewashing .mobile-subcategories {
    color: white !important;
  }

  body.page-inner .mobile-subcategories a,
  body.warewashing .mobile-subcategories a {
    color: white !important;
    background: rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.03) !important;
  }
}

/* When header is transparent (not scrolled), darken subcategories background so white text shows */
@media (max-width: 900px) {
  body.page-inner #main-header:not(.scrolled) .mobile-subcategories a,
  body.warewashing #main-header:not(.scrolled) .mobile-subcategories a {
    background: rgba(0, 0, 0, 0.25) !important;
    color: white !important;
  }

  /* When header IS scrolled, keep the styling slightly lighter */
  body.page-inner #main-header.scrolled .mobile-subcategories a,
  body.warewashing #main-header.scrolled .mobile-subcategories a {
    background: rgba(0, 0, 0, 0.12) !important;
    color: white !important;
  }

  /* Strong override for all inner page mobile subcategory links */
  body.page-inner .main-nav .mobile-subcategories a,
  body.warewashing .main-nav .mobile-subcategories a {
    color: white !important;
    text-decoration: none;
    display: block;
  }
}

/* Make dropdown icons white on mobile when header is scrolled/opaque */
@media (max-width: 900px) {
  body.page-inner #main-header.scrolled .dropdown-icon,
  body.page-inner #main-header.scrolled .dropdown-icon i,
  body.page-inner #main-header.scrolled .dropdown-icon svg {
    color: white !important;
    fill: white !important;
    stroke: white !important;
  }

  /* Also ensure dropdown caret/icons inside nav links are white when nav is visible */
  body.page-inner #main-header .nav-menu.active .dropdown-icon,
  body.page-inner #main-header .nav-menu.active .dropdown-icon svg,
  body.page-inner #main-header .nav-menu.active .dropdown-icon i {
    color: white !important;
    fill: white !important;
    stroke: white !important;
  }
}




        /* ============================================
           RESOURCE CENTER UNIQUE CSS - PREFIXED WITH 'rc-'
           ============================================ */

        /* Main Control Panel */
        .rc-control-panel {
            background-color: #ffffff;
            margin-bottom: 50px;
            margin-top: 50px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .rc-banner-area {
            max-width: 1400px;
            margin: 0 auto;
            padding: 55px 30px 35px;
            text-align: center;
        }

        .rc-page-heading {
            font-size: 44px;
            font-weight: 700;
            letter-spacing: 1.5px;
            margin: 0 0 12px 0;
            color: #078ec8;
        }

        .rc-page-description {
            font-size: 15px;
            color: #6b6b6b;
            margin: 0;
            font-weight: 400;
        }

        /* Search Zone */
        .rc-search-zone {
            border-top: 1px solid #e5e5e5;
            border-bottom: 1px solid #e5e5e5;
            padding: 28px 30px;
            background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
        }

        .rc-search-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2.5fr 1.5fr auto;
            gap: 18px;
            align-items: end;
        }

        .rc-input-block {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .rc-input-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            color: #2c2c2c;
            letter-spacing: 0.8px;
        }

        .rc-text-field,
        .rc-dropdown-field {
            padding: 11px 14px;
            border: 1.5px solid #d4d4d4;
            border-radius: 4px;
            font-size: 14px;
            background-color: #ffffff;
            transition: all 0.25s ease;
            font-family: inherit;
        }

        .rc-text-field:focus,
        .rc-dropdown-field:focus {
            outline: none;
            border-color: #00a8e1;
            box-shadow: 0 0 0 3px rgba(0, 168, 225, 0.12);
            background-color: #fafcfe;
        }

        .rc-text-field:hover,
        .rc-dropdown-field:hover {
            border-color: #00a8e1;
        }

        .rc-dropdown-field {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 35px;
        }

        .rc-search-action {
            padding: 11px 40px;
            background: linear-gradient(135deg, #00a8e1 0%, #0094cc 100%);
            color: #ffffff;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.25s ease;
            height: 44px;
            box-shadow: 0 2px 6px rgba(0, 168, 225, 0.25);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .rc-search-action:hover {
            background: linear-gradient(135deg, #0094cc 0%, #0082b8 100%);
            box-shadow: 0 4px 12px rgba(0, 168, 225, 0.35);
            transform: translateY(-1px);
        }

        .rc-search-action:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(0, 168, 225, 0.3);
        }

        /* Container */
        .rc-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Sections */
        .rc-section {
            margin-bottom: 80px;
        }

        .rc-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e0e0e0;
        }

        .rc-section-title {
            font-size: 28px;
            font-weight: 400;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .rc-section-icon {
            width: 40px;
            height: 40px;
            stroke: currentColor;
            stroke-width: 1.5;
        }

        /* =========================================== */
        /* CARDS GRID - NEVER STRETCH FULL WIDTH */
        /* =========================================== */
        .rc-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }

        /* Download Card */
        .rc-download-card {
            background-color: #f5f5f5;
            padding: 30px;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
            min-height: 140px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .rc-download-card:hover {
            background-color: #ebebeb;
            transform: translateY(-2px);
        }

        .rc-download-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
            color: #000000;
            text-transform: capitalize;
        }

        .rc-download-subtitle {
            font-size: 14px;
            color: #666666;
            margin-bottom: 15px;
        }

        .rc-download-meta {
            font-size: 13px;
            color: #888888;
            margin-bottom: 15px;
        }

        .rc-download-button {
            position: absolute;
            bottom: 25px;
            right: 25px;
            width: 36px;
            height: 36px;
            background-color: transparent;
            border: none;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .rc-download-button:hover {
            transform: scale(1.1);
        }

        .rc-download-icon {
            width: 100%;
            height: 100%;
        }

        .rc-back-link {
            text-align: left;
            margin-bottom: 30px;
        }

        .rc-back-link a {
            color: #00a8e1;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: gap 0.3s ease;
        }

        .rc-back-link a:hover {
            gap: 12px;
        }

        .rc-download-count {
            font-size: 16px;
            color: #666666;
            margin-top: 10px;
            font-weight: 400;
        }

        /* File Type Icon */
        .rc-file-icon {
            display: inline-block;
            margin-right: 5px;
            font-size: 14px;
        }

        /* Responsive */
        @media (max-width: 1100px) {
            .rc-search-wrapper {
                grid-template-columns: 1fr 1fr;
            }

            .rc-search-action {
                grid-column: span 2;
            }
        }

        @media (max-width: 768px) {
            .rc-banner-area {
                padding: 40px 20px 25px;
            }

            .rc-page-heading {
                font-size: 36px;
            }

            .rc-search-zone {
                padding: 20px;
            }

            .rc-search-wrapper {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .rc-search-action {
                grid-column: span 1;
                width: 100%;
            }

            .rc-section-title {
                font-size: 22px;
            }

            .rc-cards-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .rc-container {
                padding: 20px;
            }

            .rc-section {
                margin-bottom: 60px;
            }
        }

        @media (max-width: 480px) {
            .rc-page-heading {
                font-size: 28px;
            }

            .rc-section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .rc-download-card {
                padding: 20px;
                min-height: 120px;
            }

            .rc-download-button {
                bottom: 20px;
                right: 20px;
            }
        }
   

        
        /* ============================================
           RESOURCE CENTER UNIQUE CSS - PREFIXED WITH 'rc-'
           ============================================ */
        
        /* Main Control Panel */
        .rc-control-panel {
            background-color: #ffffff;
            margin-bottom: 50px;
            margin-top: 50px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .rc-banner-area {
            max-width: 1400px;
            margin: 0 auto;
            padding: 55px 30px 35px;
        }

        .rc-page-heading {
            font-size: 44px;
            font-weight: 700;
            letter-spacing: 1.5px;
            margin: 0 0 12px 0;
            color: #078ec8;
        }

        .rc-page-description {
            font-size: 15px;
            color: #6b6b6b;
            margin: 0;
            font-weight: 400;
        }

        /* Search Zone */
        .rc-search-zone {
            border-top: 1px solid #e5e5e5;
            border-bottom: 1px solid #e5e5e5;
            padding: 28px 30px;
            background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
        }

        .rc-search-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2.5fr 1.5fr auto;
            gap: 18px;
            align-items: end;
        }

        .rc-input-block {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .rc-input-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            color: #2c2c2c;
            letter-spacing: 0.8px;
        }

        .rc-text-field,
        .rc-dropdown-field {
            padding: 11px 14px;
            border: 1.5px solid #d4d4d4;
            border-radius: 4px;
            font-size: 14px;
            background-color: #ffffff;
            transition: all 0.25s ease;
            font-family: inherit;
        }

        .rc-text-field:focus,
        .rc-dropdown-field:focus {
            outline: none;
            border-color: #00a8e1;
            box-shadow: 0 0 0 3px rgba(0, 168, 225, 0.12);
            background-color: #fafcfe;
        }

        .rc-text-field:hover,
        .rc-dropdown-field:hover {
            border-color: #00a8e1;
        }

        .rc-dropdown-field {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 35px;
        }

        .rc-search-action {
            padding: 11px 40px;
            background: linear-gradient(135deg, #00a8e1 0%, #0094cc 100%);
            color: #ffffff;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.25s ease;
            height: 44px;
            box-shadow: 0 2px 6px rgba(0, 168, 225, 0.25);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .rc-search-action:hover {
            background: linear-gradient(135deg, #0094cc 0%, #0082b8 100%);
            box-shadow: 0 4px 12px rgba(0, 168, 225, 0.35);
            transform: translateY(-1px);
        }

        .rc-search-action:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(0, 168, 225, 0.3);
        }

        /* Container */
        .rc-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Sections */
        .rc-section {
            margin-bottom: 80px;
        }

        .rc-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e0e0e0;
        }

        .rc-section-title {
            font-size: 28px;
            font-weight: 400;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .rc-section-icon {
            width: 40px;
            height: 40px;
            stroke: currentColor;
            stroke-width: 1.5;
        }

        /* =========================================== */
        /* CARDS GRID - NEVER STRETCH FULL WIDTH */
        /* =========================================== */
        .rc-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }

        /* Video Card Styles */
        .rc-video-card {
            background-color: #f5f5f5;
            padding: 20px;
            border-radius: 8px;
            transition: all 0.3s ease;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .rc-video-card:hover {
            background-color: #ebebeb;
            transform: translateY(-2px);
        }

        .rc-video-thumbnail {
            width: 100%;
            aspect-ratio: 16/9;
            background-color: #d9d9d9;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .rc-video-thumbnail video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .rc-play-button {
            position: absolute;
            width: 60px;
            height: 60px;
            background: rgba(0, 168, 225, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .rc-video-thumbnail:hover .rc-play-button {
            transform: scale(1.1);
            background: #00a8e1;
        }

        .rc-play-button svg {
            width: 30px;
            height: 30px;
            fill: white;
        }

        .rc-video-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
            color: #000000;
            text-transform: capitalize;
            word-break: break-word;
        }

        .rc-video-meta {
            font-size: 13px;
            color: #888888;
            margin-bottom: 8px;
        }

        .rc-watch-button {
            display: inline-block;
            margin-top: 12px;
            color: #00a8e1;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
        }

        /* Back Link */
        .rc-back-link {
            text-align: left;
            margin-bottom: 30px;
        }

        .rc-back-link a {
            color: #00a8e1;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: gap 0.3s ease;
        }

        .rc-back-link a:hover {
            gap: 12px;
        }

        .rc-video-count {
            font-size: 16px;
            color: #666666;
            margin-top: 10px;
            font-weight: 400;
        }

        /* Video Modal */
        .rc-video-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .rc-modal-content {
            position: relative;
            width: 90%;
            max-width: 1000px;
        }

        .rc-modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 30px;
            cursor: pointer;
        }

        .rc-modal-player {
            width: 100%;
            height: auto;
        }

        /* No Content Message */
        .rc-no-content {
            grid-column: 1/-1;
            text-align: center;
            padding: 60px 40px;
            background: #f9f9f9;
            border-radius: 8px;
        }

        .rc-no-content h3 {
            font-size: 20px;
            color: #333;
            margin-bottom: 10px;
        }

        .rc-no-content p {
            color: #666;
            margin-bottom: 20px;
        }

        .rc-no-content .rc-hint {
            background: #eee;
            padding: 15px;
            border-radius: 4px;
            display: inline-block;
            font-family: monospace;
        }

        /* Responsive */
        @media (max-width: 1100px) {
            .rc-search-wrapper {
                grid-template-columns: 1fr 1fr;
            }

            .rc-search-action {
                grid-column: span 2;
            }
        }

        @media (max-width: 768px) {
            .rc-banner-area {
                padding: 40px 20px 25px;
            }

            .rc-page-heading {
                font-size: 36px;
            }

            .rc-search-zone {
                padding: 20px;
            }

            .rc-search-wrapper {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .rc-search-action {
                grid-column: span 1;
                width: 100%;
            }

            .rc-section-title {
                font-size: 22px;
            }

            .rc-cards-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .rc-container {
                padding: 20px;
            }

            .rc-section {
                margin-bottom: 60px;
            }
        }

        @media (max-width: 480px) {
            .rc-page-heading {
                font-size: 28px;
            }

            .rc-section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
        }
   