/* Base Styles */
:root {
  /* Color Variables */
  --color-primary: #3B5A7A;
  --color-primary-light: #4A6A8A;
  --color-primary-dark: #2A4A6A;
  
  --color-accent: #D8D8D8;
  --color-accent-light: #F5F5F5;
  --color-accent-dark: #AAAAAA;
  
  --color-background: #FFFFFF;
  --color-background-alt: #F8F9FA;
  
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  
  --color-link: #507AA3;
  --color-link-hover: #3A6491;
  
  --color-success: #4CAF50;
  --color-warning: #F9A825;
  --color-error: #F44336;
  
  /* Spacing System (8px) */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-xxl: 4rem;     /* 64px */
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --fs-xs: 0.75rem;      /* 12px */
  --fs-sm: 0.875rem;     /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-md: 1.125rem;     /* 18px */
  --fs-lg: 1.25rem;      /* 20px */
  --fs-xl: 1.5rem;       /* 24px */
  --fs-xxl: 2rem;        /* 32px */
  --fs-xxxl: 2.5rem;     /* 40px */
  
  /* Line Heights */
  --lh-tight: 1.2;       /* Headings */
  --lh-normal: 1.5;      /* Body */
  --lh-loose: 1.8;       /* Large text blocks */
  
  /* Border Radius */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Container Width */
  --container-width: 1200px;
}

.tagline {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-top: 0.25rem;
  margin-bottom: 0;
}


/* Anniversary Banner */
.anniversary-banner {
  background-color: var(--color-primary-dark);
  color: white;
  text-align: center;
  padding: var(--space-xs);
  font-weight: 500;
}

.anniversary-banner p {
  margin: 0;
  font-size: var(--fs-sm);
}

/* Global Styles */
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: var(--lh-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

h1 {
  font-size: var(--fs-xxxl);
}

h2 {
  font-size: var(--fs-xxl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

h5 {
  font-size: var(--fs-md);
}

h6 {
  font-size: var(--fs-base);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-link);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
.site-header {
  background-color: var(--color-background);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: var(--fs-xxl);
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1;
}



.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: var(--space-md);
}

.nav-list a {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--color-text);
  font-weight: 500;
  position: relative;
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-list a.active {
  color: var(--color-primary);
}

.nav-list a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  padding: var(--space-xxl) 0;
  background-color: var(--color-primary);
  color: white;
}

.hero-content {
  max-width: 600px;
}

.hero h2 {
  font-size: var(--fs-xxxl);
  color: white;
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
}

/* Page Hero */
.page-hero {
  padding: var(--space-xl) 0;
  background-color: var(--color-primary);
  color: white;
  text-align: center;
}

.page-hero h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.page-hero p {
  font-size: var(--fs-md);
  max-width: 700px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* Features Section */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.feature-card {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img {
  max-width: 100%;
  height: auto;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

/* Product Highlight Section */
.product-highlight {
  background-color: var(--color-background-alt);
}



.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Industries Section */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.industry-card {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-normal);
}

.industry-card:hover {
  background-color: var(--color-primary-light);
}

.industry-card h3 {
  color: white;
  margin-bottom: var(--space-xs);
}

/* CTA Section */
.cta {
  background-color: var(--color-primary-dark);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.cta p {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-size: var(--fs-md);
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
  color: var(--color-accent);
}

/* Products Page Styles */
.product-categories {
  padding-bottom: var(--space-xl);
}

.category-nav {
  margin-bottom: var(--space-lg);
}

.category-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.category-link {
  display: block;
  padding: var(--space-xs) var(--space-md);
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.category-link:hover, .category-link.active {
  background-color: var(--color-primary);
  color: white;
}

.product-category {
  display: none;
}

.product-category.active {
  display: block;
}

.category-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.product-image {
  height: 200px;
  background-color: var(--color-background-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  max-height: 100%;
  width: auto;
}

.product-details {
  padding: var(--space-md);
}

.product-specs {
  margin: var(--space-sm) 0;
  font-size: var(--fs-sm);
}

.product-specs li {
  margin-bottom: var(--space-xs);
}

.custom-solutions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  align-items: center;
}

.custom-features {
  margin: var(--space-md) 0;
}

.custom-features li {
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-md);
}

.custom-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Downloads Page Styles */
.download-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background-color: var(--color-background-alt);
  border-radius: var(--radius-md);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.filter-select {
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius-sm);
  min-width: 200px;
}

.search-group {
  display: flex;
  gap: var(--space-xs);
  margin-left: auto;
}

.search-input {
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius-sm);
  min-width: 250px;
}

.search-btn {
  padding: var(--space-xs) var(--space-md);
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
}

.download-category-title {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-accent);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.download-card {
  display: flex;
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  gap: var(--space-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.download-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.download-details {
  flex-grow: 1;
}

.download-details h4 {
  margin-bottom: var(--space-xs);
}

.file-info {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: var(--space-xs) 0 var(--space-sm);
}

/* Contact Page Styles */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.contact-info {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
}

.contact-info h3 {
  color: white;
  margin-bottom: var(--space-lg);
}

.info-group {
  margin-bottom: var(--space-lg);
}

.info-group h4 {
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.info-group a {
  color: white;
  text-decoration: underline;
}

.info-group a:hover {
  color: var(--color-accent-light);
}

.contact-form-container {
  background-color: var(--color-background);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-sm);
  border: 1px solid var(--color-accent-dark);
  border-radius: var(--radius-sm);
  background-color: var(--color-background);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(59, 90, 122, 0.2);
}

.checkbox-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.checkbox-group input {
  width: auto;
}

.required {
  color: var(--color-error);
}

.form-actions {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-sm);
}

.map-section {
  margin-bottom: var(--space-xl);
}

.map-container {
  height: 400px;
  background-color: var(--color-background-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background-alt);
  color: var(--color-text-light);
  border: 1px dashed var(--color-accent-dark);
}

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

.department-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.department-card {
  background-color: var(--color-background);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.department-card h4 {
  margin-bottom: var(--space-sm);
}

.department-card p {
  margin-bottom: var(--space-xs);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  
  
  .product-content {
    order: 1;
  }
  
  .product-image {
    order: 0;
  }
  
  .custom-solutions {
    grid-template-columns: 1fr;
  }
  
  .custom-image {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--color-background);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    gap: var(--space-sm);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 90;
  }
  
  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
  }
  
  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .download-filters {
    flex-direction: column;
  }
  
  .search-group {
    margin-left: 0;
    width: 100%;
  }
  
  .search-input {
    flex-grow: 1;
  }
  
  .feature-grid,
  .industry-grid,
  .department-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: var(--fs-xl);
  }
  
  .hero h2 {
    font-size: var(--fs-xxl);
  }
  
  .hero p {
    font-size: var(--fs-base);
  }
  
  .download-card {
    flex-direction: column;
    align-items: center;
  }
  
  .download-icon {
    margin-bottom: var(--space-sm);
  }
  
  .download-details {
    text-align: center;
  }
}
.download-btn-wrapper {
  display: flex;
  justify-content: center;
  padding: var(--space-md);
}
/* Improved Distributor Page Styles for Better Readability */
.distributors-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-background-alt);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xxl);
    background-color: var(--color-background);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.section-intro h3 {
    margin-bottom: var(--space-md);
    font-size: var(--fs-xxl);
}

.section-intro p {
    font-size: var(--fs-md);
    line-height: var(--lh-loose);
    color: var(--color-text-light);
}

.region-section {
    margin-bottom: var(--space-xxl);
    background-color: var(--color-background);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.region-title {
    font-size: var(--fs-xxl);
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
    font-weight: 700;
}

.distributor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.distributor-card {
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--color-accent);
    border-left: 6px solid var(--color-primary);
    position: relative;
}

.distributor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--color-primary-dark);
}

.distributor-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-accent-light);
}

.distributor-header h4 {
    margin-bottom: 0;
    color: var(--color-primary);
    font-size: var(--fs-xl);
    font-weight: 600;
    line-height: var(--lh-tight);
    max-width: 70%;
}

.country-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.distributor-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.address-info {
    background-color: var(--color-background-alt);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent-dark);
}

.address-info p {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    line-height: var(--lh-normal);
    font-size: var(--fs-base);
    font-weight: 400;
}

.address-info p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--fs-md);
    padding-top: var(--space-xs);
    border-top: 1px solid var(--color-accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
}

.website-link {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--fs-base);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.website-link:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.website-link::after {
    content: '→';
    font-weight: bold;
    transition: transform var(--transition-fast);
}

.website-link:hover::after {
    transform: translateX(3px);
}

.distributor-benefits {
    background: linear-gradient(135deg, var(--color-background-alt), var(--color-background));
    padding: var(--space-xxl) 0;
}

.distributor-benefits .section-title {
    font-size: var(--fs-xxxl);
    margin-bottom: var(--space-xl);
    color: var(--color-primary);
}

.distributor-benefits .feature-grid {
    gap: var(--space-xl);
}

.distributor-benefits .feature-card {
    padding: var(--space-xl);
    background-color: var(--color-background);
    border: 1px solid var(--color-accent);
}

.distributor-benefits .feature-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
}

.distributor-benefits .feature-card p {
    font-size: var(--fs-base);
    line-height: var(--lh-loose);
    color: var(--color-text-light);
}

/* Enhanced CTA Section */
.cta {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: white;
    text-align: center;
    padding: var(--space-xxl) 0;
}

.cta h2 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: var(--fs-xxxl);
}

.cta p {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-size: var(--fs-lg);
    line-height: var(--lh-loose);
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive improvements for distributor page */
@media (max-width: 1024px) {
    .distributor-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: var(--space-lg);
    }
    
    .region-section {
        padding: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .distributor-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .distributor-header {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
    
    .distributor-header h4 {
        max-width: 100%;
        margin-bottom: var(--space-sm);
    }
    
    .country-badge {
        align-self: flex-start;
    }
    
    .region-section {
        padding: var(--space-md);
        margin-bottom: var(--space-xl);
    }
    
    .region-title {
        font-size: var(--fs-xl);
    }
    
    .section-intro {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .distributor-card {
        padding: var(--space-lg);
    }
    
    .region-title {
        font-size: var(--fs-lg);
    }
    
    .distributor-header h4 {
        font-size: var(--fs-lg);
    }
    
    .website-link {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--fs-sm);
    }
    
    .cta h2 {
        font-size: var(--fs-xxl);
    }
    
    .cta p {
        font-size: var(--fs-base);
    }
}

/* Additional accessibility improvements */
.distributor-card:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.website-link:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Print styles for distributor page */
@media print {
    .distributor-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--color-text);
    }
    
    .website-link {
        background: none;
        color: var(--color-text);
        border: 1px solid var(--color-text);
    }
}
/* Metrology Page Specific Styles */
.breadcrumb-nav {
    background-color: var(--color-background-alt);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-accent);
}

.metrology-hero {
    background-color: #2A4A6A; /* Darker blue for better contrast */
    color: white; /* White text for maximum contrast */
    padding: var(--space-xxl) 0;
    text-align: center;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    margin-top: var(--space-md);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.metrology-intro {
    padding: var(--space-xxl) 0;
    background-color: var(--color-background);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.lead-paragraph {
    font-size: var(--fs-lg);
    line-height: var(--lh-loose);
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.intro-text p {
    font-size: var(--fs-md);
    line-height: var(--lh-loose);
    margin-bottom: var(--space-md);
}

.metrology-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.metrology-applications {
    padding: var(--space-xxl) 0;
    background-color: var(--color-background-alt);
}

.application-grid {
    display: grid;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.application-card {
    background-color: var(--color-background);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-primary);
}

.featured-application {
    border-left-color: var(--color-primary-dark);
    border-left-width: 6px;
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-accent);
}

.application-header h3 {
    margin-bottom: 0;
    font-size: var(--fs-xl);
}

.application-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 600;
    white-space: nowrap;
}

.application-content p {
    font-size: var(--fs-base);
    line-height: var(--lh-loose);
    margin-bottom: var(--space-md);
}

.key-benefits, .industry-examples {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background-color: var(--color-background-alt);
    border-radius: var(--radius-md);
}

.key-benefits h4, .industry-examples h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.key-benefits ul {
    list-style: none;
    padding: 0;
}

.key-benefits li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.key-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.industry-tag {
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: 500;
}

.metrology-specifications {
    padding: var(--space-xxl) 0;
    background-color: var(--color-background);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.spec-card {
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border-top: 4px solid var(--color-primary);
}

.spec-card h3 {
    margin-bottom: var(--space-md);
    text-align: center;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    background-color: var(--color-background);
    border-radius: var(--radius-sm);
}

.spec-name {
    font-weight: 500;
    color: var(--color-text);
}

.spec-value {
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
}

.metrology-testimonial {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white;
    text-align: center;
}

.testimonial-content blockquote {
    font-size: var(--fs-lg);
    line-height: var(--lh-loose);
    font-style: italic;
    margin-bottom: var(--space-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-content cite {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.9);
}

.metrology-cta {
    padding: var(--space-xxl) 0;
    background-color: var(--color-background-alt);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    font-size: var(--fs-lg);
    line-height: var(--lh-loose);
    max-width: 900px;
    margin: 0 auto var(--space-xl);
    color: var(--color-text-light);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-lg);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.contact-item a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Responsive adjustments for metrology page */
@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .intro-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .application-header {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .contact-options {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .industry-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
    
    .hero-subtitle {
        font-size: var(--fs-base);
    }
    
    .lead-paragraph {
        font-size: var(--fs-base);
    }
}
.metrology-hero h1 {
    font-size: var(--fs-xxxl);
    color: white; /* Ensure the heading is highly readable */
    margin-bottom: var(--space-md);
}
.metrology-hero p {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.9); /* Slightly lighter white for a softer look */
    max-width: 800px;
    margin: 0 auto;
    line-height: var(--lh-loose);
}
/* Privacy Page Specific Styles */
.privacy-content {
    padding: var(--space-xl) 0;
    background-color: var(--color-background);
}



/* Enlarged Feature Cards with Additional Spacing and Rounded Corners */
.feature-icon {
  width: 160px;
  margin: 0 auto 1rem auto;
}

.feature-img {
  width: 100%;
  max-width: 160px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
}
.metrology-details {
  background-color: #f9f9f9;
  padding: 4rem 0;
  border-top: 1px solid #ddd;
}

.details-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.details-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.subsection-heading {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #2A4A6A;
}

.details-text ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding-left: 1rem;
  list-style-type: disc;
}

.details-text a {
  color: #2A4A6A;
  text-decoration: underline;
}


/* Responsive layout fix for Pt100 section - updated for tablets */


@media (max-width: 1024px) {
  

  .product-highlight .btn {
    margin-top: 1rem;
  }
}


/* Revised product-highlight layout for better tablet/mid-screen compatibility */


/* Ensure image is scaled responsively */
.product-highlight .product-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Extra spacing between elements on tablet */
@media (max-width: 1024px) {
  

  .product-highlight .btn {
    margin-top: var(--space-md);
  }

  

  
}



/* Cleaned and unified product-highlight layout using Flexbox */

.product-highlight {
  background-color: var(--color-background-alt);
  padding: var(--space-xl) 0;
}

.product-highlight .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.product-highlight .product-image {
  flex: 1 1 400px;
  min-width: 280px;
}

.product-highlight .product-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Responsive stacking for tablets and smaller devices */
@media (max-width: 1024px) {
  .product-highlight .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .product-highlight .btn {
    margin-top: var(--space-md);
  }

  .product-highlight .product-content {
    order: 1;
  }

  .product-highlight .product-image {
    order: 0;
  }
}


/* === Unified and Simplified Product Highlight Section === */

.product-highlight {
  background-color: var(--color-background-alt);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-xl); /* Ensure separation from next section */
}

.product-highlight .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  align-items: center;
}

.product-highlight .product-content,
.product-highlight .product-image {
  flex: 1 1 500px; /* Flex-grow, flex-shrink, flex-basis */
  min-width: 300px;
  max-width: 600px;
}

.product-highlight .product-image {
  text-align: center;
}

.product-highlight .product-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Responsive stack at 960px */
@media (max-width: 960px) {
  .product-highlight .container {
    flex-direction: column;
    text-align: center;
  }

  .product-highlight .product-content,
  .product-highlight .product-image {
    max-width: 100%;
    width: 100%;
  }

  .product-highlight .btn {
    margin-top: var(--space-md);
  }
}


/* === Refined Product Highlight Section for Improved Mid-Width Handling === */

.product-highlight {
  background-color: var(--color-background-alt);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-xl);
}

.product-highlight .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.product-highlight .product-content {
  flex: 1 1 400px;
  min-width: 280px;
  max-width: 520px;
}

.product-highlight .product-image {
  flex: 1 1 400px;
  min-width: 280px;
  max-width: 520px;
  text-align: center;
}

.product-highlight .product-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

@media (max-width: 880px) {
  .product-highlight .container {
    flex-direction: column;
    text-align: center;
  }

  .product-highlight .product-content,
  .product-highlight .product-image {
    max-width: 100%;
    width: 100%;
  }

  .product-highlight .btn {
    margin-top: var(--space-md);
  }
}