/* website/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #01B4BB;
  --primary-rgb: 1, 180, 187;
  --primary-dark: #018f96;
  --secondary: #0f172a;
  --accent: #01B4BB;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-secondary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #334155;
  --border: #e2e8f0;
  
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;
  
  --max-width: 1280px;
  --header-height: 108px;
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0.75rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--border-radius-full);
  border: 2px solid var(--background);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fade-in-up {
  animation: fadeInUp var(--transition-slow) forwards;
}

.animate-fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 52.5px;
  padding-right: 52.5px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  height: 76px;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-left: 40px;
  height: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 101px;
  width: auto;
  transition: var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 82px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-subtext {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.header-container nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.cta-button {
  background-color: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(1, 180, 187, 0.3);
  transition: var(--transition-normal);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 180, 187, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* Main Content Area */
.main {
  flex: 1;
  margin-top: var(--header-height);
}

/* Hero Section */
.hero {
  position: relative;
  background: #ffffff;
  overflow: visible;
}

.hero-bg-img {
  display: block;
  width: 75%;
  height: auto;
  margin-left: auto;
  margin-right: 100px;
  transform: scale(0.98);
  transform-origin: right center;
  pointer-events: none;
  user-select: none;
}

.hero .container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-top: 0;
  margin-top: -80px;
}

.hero-content {
  max-width: 500px;
  animation: none;
  transform: scale(0.925);
  transform-origin: left center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(1, 180, 187, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 24px 0 32px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background-color: rgba(1, 180, 187, 0.05);
  transform: translateY(-2px);
}


/* Wayfinding Strip */
.paths-strip {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.path-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  transition: background-color var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.path-card:last-child {
  border-right: none;
}

.path-card:hover {
  background-color: var(--surface-secondary);
}

.path-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  background-color: rgba(1, 180, 187, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.path-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.path-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.path-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.path-card:hover .path-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

@media (max-width: 768px) {
  .paths-grid {
    grid-template-columns: 1fr;
  }
  .path-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .path-card:last-child {
    border-bottom: none;
  }
}

/* Brand Grid (Norland vs Vmax split) */
.brand-split {
  padding: 80px 0;
  background-color: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #10b981);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-top: 16px;
}

.brand-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.brand-card {
  position: relative;
  padding: 48px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  z-index: 1;
}

.brand-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
  z-index: -1;
  transition: var(--transition-normal);
}

.brand-card.vmax {
  background-image: radial-gradient(circle at top right, rgba(1, 180, 187, 0.1) 0%, transparent 60%);
  border: 1px solid rgba(1, 180, 187, 0.2);
}

.brand-card.norland {
  background-image: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.brand-logo-text {
  font-size: 2rem;
  margin-bottom: 15px;
}

.brand-card.vmax .brand-logo-text { color: var(--primary); }
.brand-card.norland .brand-logo-text { color: #10b981; }

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.brand-features {
  margin: 24px 0;
  list-style: none;
}

.brand-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.brand-features li::before {
  content: "✓";
  font-weight: 700;
}

.brand-card.vmax .brand-features li::before { color: var(--primary); }
.brand-card.norland .brand-features li::before { color: #10b981; }

.brand-card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  margin-top: 10px;
}

.brand-card-link span {
  transition: var(--transition-fast);
}

.brand-card-link:hover span {
  transform: translateX(4px);
}

/* Featured Products Carousel/Grid */
.featured-products {
  padding: 80px 0;
  background-color: var(--background);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.home-featured-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .home-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-featured-grid {
    grid-template-columns: 1fr;
  }
}

/* General Product Card Styling */
.product-card {
  background-color: var(--surface);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 180, 187, 0.3);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}

.product-badge.vmax {
  background-color: rgba(1, 180, 187, 0.1);
  color: var(--primary);
}

.product-badge.norland {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.product-img-box {
  height: 200px;
  background-color: var(--surface-secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-fallback {
  font-size: 3.5rem;
  color: var(--text-muted);
  opacity: 0.3;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-category {
  background-color: var(--surface-secondary);
  padding: 2px 8px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
}

.product-name {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.35;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 60px;
}

.product-pricing {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 15px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.price-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.price-val {
  font-weight: 700;
  color: var(--text-primary);
}

.price-val.distributor {
  color: var(--primary);
  font-size: 1.1rem;
}

.pv-badge {
  display: inline-flex;
  align-items: center;
  background-color: #fef3c7;
  color: #d97706;
  padding: 2px 8px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card-btns {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.btn-card {
  padding: 8px;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-normal);
}

.btn-card.primary {
  background-color: var(--primary);
  color: white;
}

.btn-card.primary:hover {
  background-color: var(--primary-dark);
}

.btn-card.outline {
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-card.outline:hover {
  background-color: var(--surface-secondary);
  border-color: var(--text-muted);
}

/* About Us Section styling */
.about-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-jafar-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.about-jafar-card::before {
  content: '“';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 8rem;
  color: rgba(1, 180, 187, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--surface-secondary);
  border-radius: var(--border-radius-md);
}

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 5px;
}

/* Products Catalog styling */
.catalog-layout {
  padding: 60px 0 100px;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.search-filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 15px;
  background: var(--surface);
  padding: 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  background-color: var(--background);
}

.search-input:focus {
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(1, 180, 187, 0.15);
}

.search-icon-svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.select-filter {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  background-color: var(--surface);
  cursor: pointer;
  width: 100%;
}

.select-filter:focus {
  border-color: var(--primary);
}

.catalog-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  justify-content: center;
}

.catalog-tab {
  padding: 10px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.catalog-tab:hover {
  background: var(--surface-secondary);
}

.catalog-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.catalog-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Modal Slide Viewer */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: scaleIn var(--transition-normal) forwards;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  color: var(--secondary);
}

.modal-close {
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.modal-close:hover {
  color: var(--secondary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: var(--background);
}

.slide-viewer-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.slide-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.slide-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.btn-slide-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-slide-nav:hover {
  background: var(--surface-secondary);
}

.btn-slide-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slide-indicator {
  font-weight: 500;
  color: var(--text-secondary);
}

.slide-info-panel {
  width: 100%;
  background: var(--surface);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border);
}

.slide-info-title {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.slide-info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Announcements under construction page */
.announcements-under-construction {
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.construction-icon {
  font-size: 5rem;
  animation: pulse 2s infinite ease-in-out;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  background: var(--surface);
}

/* Contact Us page styling */
.contact-layout {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card-box {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon-box {
  background: rgba(1, 180, 187, 0.1);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-details-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form-panel {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  background: var(--background);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(1, 180, 187, 0.15);
}

/* Download Section (Forms) */
.download-center {
  padding: 60px 0 80px;
  background-color: var(--surface-secondary);
  border-top: 1px solid var(--border);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.download-card {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: var(--transition-normal);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.download-icon {
  font-size: 3rem;
  color: var(--primary);
}

.download-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.download-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.download-btn {
  margin-top: auto;
  width: 100%;
  background-color: var(--primary);
  color: white;
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.download-btn:hover {
  background-color: var(--primary-dark);
}

/* Footer Section */
.footer {
  background-color: var(--secondary);
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-logo-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo-img {
  height: 75px;
  align-self: flex-start;
}

.footer-logo-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* Theme Toggle styles */
.theme-toggle {
  background: var(--surface-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.theme-toggle:hover {
  background: var(--border);
}

/* Dark mode overrides */
body.dark {
  --background: #090d16;
  --surface: #0f172a;
  --surface-secondary: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border: #334155;
  --secondary: #ffffff;
}

body.dark .header {
  background-color: rgba(15, 23, 42, 0.85);
  border-bottom-color: var(--border);
}

body.dark .header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
}

body.dark .hero {
  background: linear-gradient(135deg, #0f172a 0%, #090d16 100%);
}

body.dark .hero-dynamic-img {
  filter: brightness(0.88) saturate(1.1);
  mix-blend-mode: lighten;
}

body.dark .brand-card::after {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 420px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-container nav {
    position: static;
    left: unset;
    transform: none;
  }

  .header-right {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--surface);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transition: var(--transition-slow);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
  }

  .hero .container {
    position: relative;
    inset: unset;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 0;
  }

  .hero-content {
    transform: none;
    max-width: 100%;
    text-align: center;
    order: 2;
  }

  .hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-content .hero-description { font-size: 0.9rem; margin: 12px 0 16px; }
  .hero-content .hero-btns { justify-content: center; gap: 10px; }
  .hero-content .cta-button, .hero-content .btn-secondary { padding: 10px 18px; font-size: 0.85rem; }

  .hero-bg-img {
    position: relative;
    width: 85%;
    margin: 0 auto 16px;
    order: 1;
  }

  .search-filter-bar {
    grid-template-columns: 1fr;
  }

  .brand-split-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    padding: 32px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Paths strip */
  .paths-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
  }

  .path-card:last-child {
    border-bottom: none;
  }

  /* Section headers tighter on mobile */
  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Page Loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.page-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  opacity: 0;
  transform: translateY(18px);
  animation: loaderLogoReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.loader-logo img {
  height: 144px;
  width: auto;
}

@keyframes loaderLogoReveal {
  to { opacity: 1; transform: translateY(0); }
}

.loader-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.loader-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  animation: loaderDotFade 1.2s ease-in-out infinite;
}

.loader-dot:nth-child(1) { animation-delay: 0s; }
.loader-dot:nth-child(2) { animation-delay: 0.22s; }
.loader-dot:nth-child(3) { animation-delay: 0.44s; }

@keyframes loaderDotFade {
  0%, 100% { opacity: 0.2; transform: scale(0.75); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

/* Interactive Catalog Layout */
.interactive-catalog {
  margin-top: 30px;
}

.category-slicer {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.slicer-tab {
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-family: var(--font-display);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.slicer-tab:hover {
  background: var(--surface-secondary);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.slicer-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(1, 180, 187, 0.3);
}

/* Showcase Box */
.showcase-box {
  background: var(--surface);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.showcase-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}

.showcase-header h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.showcase-slideshow {
  background: #000;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.showcase-slide-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-slide-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--transition-normal);
}

.slideshow-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  z-index: 10;
}

.slideshow-nav button {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition-fast);
}

.slideshow-nav button:hover {
  background: var(--primary);
}

#showcase-slide-counter {
  font-size: 0.9rem;
  font-weight: 500;
}

.showcase-grid-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.grid-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grid-panel-header h4 {
  font-size: 1.1rem;
}

.btn-refresh {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--border-radius-full);
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-refresh:hover {
  background: var(--border);
  color: var(--text-primary);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
}

.mini-grid-item {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}

.mini-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-grid-item:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  z-index: 5;
}

/* Search Row */
.table-search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.table-search-row .search-input-wrapper {
  flex: 1;
  max-width: 500px;
}

.stats-box {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.btn-download-pdf {
  background-color: var(--surface);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-normal);
}

.btn-download-pdf:hover {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* Table styling */
.price-list-table-wrapper {
  background: var(--surface);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
}

.price-list-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-list-table th, .price-list-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.price-list-table th {
  background-color: var(--surface-secondary);
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-list-table tbody tr {
  transition: background-color var(--transition-fast);
}

.price-list-table tbody tr:hover {
  background-color: var(--surface-secondary);
}

.price-list-table tbody tr:last-child td {
  border-bottom: none;
}

.price-list-table td {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.price-list-table td .brand-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--border-radius-full);
  font-weight: 700;
}

.price-list-table td .brand-badge.vmax {
  background: rgba(1, 180, 187, 0.1);
  color: var(--primary);
}

.price-list-table td .brand-badge.norland {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.price-col {
  font-weight: 600;
}

.price-col.distributor {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.table-btn-order {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.table-btn-order:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Responsiveness for table */
@media (max-width: 900px) {
  .showcase-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .price-list-table th:nth-child(4),
  .price-list-table td:nth-child(4),
  .price-list-table th:nth-child(3),
  .price-list-table td:nth-child(3) {
    display: none; /* Hide Spec and PV on small screens */
  }
  .table-search-row {
    flex-direction: column;
    align-items: stretch;
  }
  .stats-box {
    justify-content: space-between;
  }
}

@media (max-width: 500px) {
  .price-list-table th:nth-child(1),
  .price-list-table td:nth-child(1) {
    display: none; /* Hide Brand on tiny screens */
  }
  .price-list-table th, .price-list-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

