/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ccfbf1;
  --navy: #0f2d4a;
  --navy-mid: #1a3f5c;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #0f172a;
  --red-accent: #dc2626;
  --gold: #d97706;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(15,45,74,0.10);
  --shadow-lg: 0 8px 40px rgba(15,45,74,0.16);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-light { background: var(--gray-50); }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.section-label::before {
  content: ''; display: inline-block; width: 18px; height: 2px;
  background: var(--teal); border-radius: 2px;
}
.section-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700; line-height: 1.25; color: var(--navy); margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--gray-600); max-width: 600px; }
.section-header { margin-bottom: 48px; }

/* ===== TOPBAR ===== */
.topbar { background: var(--navy); padding: 8px 0; }
.topbar-inner {
  display: flex; align-items: center; gap: 32px;
  font-size: 12px; color: rgba(255,255,255,0.75); flex-wrap: wrap;
}
.topbar-inner span { display: flex; align-items: center; gap: 6px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--teal);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; background: var(--teal);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--white); font-family: 'Merriweather', serif;
}
.logo-main { display: block; font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.logo-sub { display: block; font-size: 10px; color: var(--teal); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--gray-800); border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--teal); background: var(--teal-light); }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 260px; z-index: 100; padding: 8px 0;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 10px 18px; font-size: 13px; color: var(--gray-800);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--teal-light); color: var(--teal); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ===== HERO SLIDER ===== */
.hero { position: relative; height: 580px; overflow: hidden; }
.hero-slider { position: relative; height: 100%; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,45,74,0.88) 0%, rgba(15,45,74,0.5) 60%, transparent 100%);
}
.slide-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 600px; padding-top: 40px;
}
.slide-tag {
  display: inline-block; background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; width: fit-content;
}
.slide-content h1 {
  font-family: 'Merriweather', serif; font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.slide-content h1 span { color: #5eead4; }
.slide-content p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; line-height: 1.7; }

.slider-controls {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; z-index: 10;
}
.slider-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
  color: var(--white); font-size: 16px; cursor: pointer;
  transition: background var(--transition); display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--teal); border-color: var(--teal); }
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: background var(--transition);
}
.dot.active { background: var(--teal); width: 24px; border-radius: 4px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: all var(--transition); text-align: center;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,148,136,0.35); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--teal-light); color: var(--teal); }
.btn-outline-teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-full { width: 100%; justify-content: center; }

/* ===== INTRO STRIP ===== */
.intro-strip { background: var(--teal); padding: 28px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.strip-item { display: flex; align-items: center; gap: 14px; }
.strip-icon { font-size: 28px; flex-shrink: 0; }
.strip-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--white); }
.strip-item span { display: block; font-size: 12px; color: rgba(255,255,255,0.75); }

/* ===== ABOUT HOME ===== */
.about-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-home-img { position: relative; }
.about-home-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--teal); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge strong { display: block; font-size: 14px; font-weight: 700; }
.about-badge span { font-size: 12px; opacity: 0.85; }
.about-home-text p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.about-stats { display: flex; gap: 32px; margin: 28px 0; padding: 24px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.astat { text-align: center; }
.astat-num { display: block; font-size: 32px; font-weight: 800; color: var(--teal); font-family: 'Merriweather', serif; }
.astat span { font-size: 12px; color: var(--gray-600); font-weight: 500; }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px; }
.prod-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--teal); }
.prod-img { position: relative; height: 220px; overflow: hidden; background: var(--gray-100); }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.prod-badge-gold { background: var(--gold); }
.prod-body { padding: 20px; }
.prod-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.prod-body p { font-size: 13px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.center-cta { text-align: center; }

/* ===== WHY HOME ===== */
.why-home { background: var(--navy); }
.why-home .section-title { color: var(--white); }
.why-home .section-label { color: #5eead4; }
.why-home .section-label::before { background: #5eead4; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px; transition: all var(--transition); }
.why-card:hover { background: rgba(255,255,255,0.09); border-color: var(--teal); }
.why-icon { font-size: 32px; margin-bottom: 14px; }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ===== ENQUIRY STRIP ===== */
.enquiry-strip { background: var(--teal-dark); padding: 48px 0; }
.enquiry-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.enquiry-inner h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.enquiry-inner p { font-size: 15px; color: rgba(255,255,255,0.8); margin: 0; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: var(--navy); padding: 60px 0; }
.page-hero h1 { font-family: 'Merriweather', serif; font-size: clamp(26px,4vw,42px); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: #5eead4; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { padding: 64px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.product-img-main { background: var(--gray-100); border-radius: var(--radius); padding: 32px; border: 1px solid var(--gray-200); }
.product-img-main img { width: 100%; max-height: 400px; object-fit: contain; }
.product-info .prod-tag { display: inline-block; background: var(--teal-light); color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }
.product-info h1 { font-family: 'Merriweather', serif; font-size: clamp(22px,3vw,34px); font-weight: 900; color: var(--navy); margin-bottom: 16px; line-height: 1.25; }
.product-info .lead { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
.accuracy-row { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.acc-badge { background: var(--teal-light); border: 1px solid var(--teal); border-radius: var(--radius-sm); padding: 10px 18px; text-align: center; }
.acc-badge strong { display: block; font-size: 22px; font-weight: 800; color: var(--teal); }
.acc-badge span { font-size: 11px; color: var(--gray-600); font-weight: 600; }
.product-info .btn { margin-right: 12px; margin-bottom: 12px; }

.product-tabs { margin-top: 64px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 32px; gap: 0; }
.tab-btn { padding: 12px 24px; font-size: 14px; font-weight: 600; color: var(--gray-600); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-btn:hover { color: var(--teal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.tab-panel h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.tab-panel p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.tab-panel ul { padding-left: 20px; list-style: disc; }
.tab-panel ul li { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 6px; }

/* Related products */
.related-products { padding: 64px 0; background: var(--gray-50); }

/* ===== ABOUT PAGE ===== */
.about-content { padding: 64px 0; }
.about-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.about-content-grid img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-content-grid img[data-img="bds"] { object-fit: contain; background: var(--gray-50); padding: 2px; }
.about-content-grid img[data-img="gc"]  { object-fit: contain; background: var(--gray-50); padding: 10px; }
.about-content-grid p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.mission-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; text-align: center; }
.mission-card .m-icon { font-size: 36px; margin-bottom: 14px; }
.mission-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.mission-card p { font-size: 13px; color: var(--gray-600); line-height: 1.7; margin: 0; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-info h2 { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-info p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.c-icon { width: 44px; height: 44px; background: var(--teal-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.c-icon-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.c-icon-text span { font-size: 14px; color: var(--gray-600); }
.c-icon-text a { color: var(--teal); }

.contact-form-wrap { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px; }
.contact-form-wrap h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 14px; font-family: 'Inter', sans-serif; color: var(--text); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--gray-400); margin-top: 8px; }

/* ===== PRODUCTS LIST PAGE ===== */
.products-list { padding: 64px 0; }
.products-list-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul.contact-list { gap: 0; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: #5eead4; }
.contact-list li { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; line-height: 1.5; }
.contact-list .ci-icon { flex-shrink: 0; font-size: 12px; width: 14px; text-align: center; padding-top: 2px; }
.contact-list .ci-pin { padding-top: 4px; }
.contact-list a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.contact-list a:hover { color: #5eead4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); text-align: center; }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid, .products-list-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-home-grid, .product-detail-grid, .about-content-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .strip-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .topbar-inner { gap: 16px; font-size: 11px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; background: var(--white);
    align-items: center; justify-content: center; gap: 4px; z-index: 999;
    overflow-y: auto; padding: 80px 24px 40px;
  }
  .nav-links.open > li { width: 100%; text-align: center; }
  .nav-links.open > li > a { font-size: 17px; padding: 10px 24px; display: block; border-radius: var(--radius-sm); }
  .nav-links.open > li > a.active:not(.nav-cta) { color: var(--teal); background: var(--teal-light); }
  .nav-links.open .dropdown { display: none; }
  /* Remove double arrow — HTML ▼ already exists, CSS ::after not needed */
  .nav-links.open .has-dropdown > a::after { content: ''; }
  .nav-links.open .has-dropdown.open > .dropdown {
    display: flex; flex-direction: column;
    position: static; box-shadow: none; border: none;
    background: var(--gray-50); border-radius: var(--radius-sm);
    padding: 4px 0; margin: 4px 0 8px;
  }
  .nav-links.open .has-dropdown.open > .dropdown li a { font-size: 14px; padding: 8px 20px; }
  .hamburger { display: flex; z-index: 1001; }
  .hero { height: 480px; }
  .products-grid, .products-list-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .accuracy-row { gap: 10px; }
  .tab-nav { overflow-x: auto; }
}

/* ===== DROPDOWN GROUP LABELS ===== */
.dropdown-group-label {
  display: block; padding: 8px 18px 4px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
  border-top: 1px solid var(--gray-100); margin-top: 4px;
}
.dropdown-group-label:first-child { border-top: none; margin-top: 0; }

/* ===== PRODUCT CATEGORY LABEL ===== */
.prod-category-label {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}
.prod-category-label span:first-child {
  font-size: 16px; font-weight: 800; color: var(--navy);
}
.prod-cat-partner {
  font-size: 12px !important; font-weight: 500 !important;
  color: var(--gray-400) !important; font-style: italic;
}
.products-grid-1 { grid-template-columns: repeat(3,1fr); }
.products-grid-1 .prod-card { max-width: 380px; }

/* Lab product image (contain, white bg) */
.prod-img-lab { background: var(--white) !important; }
.prod-img-lab img { object-fit: contain !important; padding: 20px !important; }

/* BDS product image — scale up to fill card (PNG has built-in whitespace) */
.prod-img-bds { background: var(--white) !important; overflow: hidden; }
.prod-img-bds img { object-fit: contain !important; padding: 0 !important; transform: scale(1.25); transition: transform 0.4s ease; }
.prod-card:hover .prod-img-bds img { transform: scale(1.32); }

/* All product card images — consistent sizing */
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 0.4s ease; }

/* Lab badge */
.prod-badge-lab { background: var(--teal) !important; }

/* ===== PARTNERS STRIP (homepage) ===== */
.partners-strip { background: var(--gray-50); }
.partner-logos {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.partner-logo-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: all var(--transition); display: block;
}
.partner-logo-card:hover {
  border-color: var(--teal); box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.plc-icon { font-size: 36px; margin-bottom: 12px; }
.partner-logo-card strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.partner-logo-card span { font-size: 12px; color: var(--gray-400); }

/* ===== PARTNERS PAGE ===== */
.partners-page { padding: 64px 0; }
.partner-section { margin-bottom: 72px; }
.partner-section:last-child { margin-bottom: 0; }
.partner-header {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 28px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 28px; border-left: 4px solid var(--teal);
}
.partner-header-icon {
  width: 64px; height: 64px; background: var(--teal-light);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 32px; flex-shrink: 0;
}
.partner-header-info h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.partner-header-info .partner-type { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; display: block; }
.partner-header-info p { font-size: 14px; color: var(--gray-600); margin: 0; line-height: 1.7; }
.partner-header-links { margin-left: auto; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.partner-header-links a { font-size: 12px; color: var(--teal); font-weight: 600; white-space: nowrap; }

.partner-products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.spec-table tr { border-bottom: 1px solid var(--gray-100); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 9px 12px; }
.spec-table td:first-child { font-weight: 600; color: var(--gray-800); width: 45%; background: var(--gray-50); }
.spec-table td:last-child { color: var(--gray-600); }

@media (max-width: 1024px) {
  .partner-logos { grid-template-columns: repeat(2,1fr); }
  .partner-products-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid-1 { grid-template-columns: 1fr; }
  .products-grid-1 .prod-card { max-width: 100%; }
}
@media (max-width: 768px) {
  .partner-logos { grid-template-columns: repeat(2,1fr); }
  .partner-products-grid { grid-template-columns: 1fr; }
  .partner-header { flex-direction: column; }
  .partner-header-links { margin-left: 0; flex-direction: row; flex-wrap: wrap; }
  .prod-category-label { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Single product grid (BDS only row) */
.products-grid-single {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.products-grid-single .prod-card { max-width: 100%; }

/* Product image gallery (multiple images on detail page) */
.product-img-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-img-gallery .img-main {
  border-radius: var(--radius); overflow: hidden;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  padding: 20px; display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.product-img-gallery .img-main img { max-height: 300px; object-fit: contain; width: 100%; }
.product-img-gallery .img-thumbs { display: flex; gap: 10px; }
.product-img-gallery .img-thumb {
  width: 80px; height: 64px; border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200); overflow: hidden; cursor: pointer;
  background: var(--gray-50); padding: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition);
}
.product-img-gallery .img-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-img-gallery .img-thumb.active,
.product-img-gallery .img-thumb:hover { border-color: var(--teal); }

/* Manufacturer credit tag */
.mfr-credit {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray-400); margin-top: 10px;
}
.mfr-credit a { color: var(--teal); }

@media (max-width: 768px) {
  .products-grid-single { grid-template-columns: 1fr; }
}

/* ===== LOGO IMAGE ===== */
.logo-img {
  width: auto !important;
  height: 44px !important;
  max-width: 160px;
  min-height: 44px;
  border-radius: 8px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
}
.logo-text-wrap { display: flex; flex-direction: column; min-width: 0; }
.footer .logo .logo-img { height: 44px !important; max-width: 160px; border-radius: 8px; }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 56px; height: 56px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-tooltip {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@media (max-width: 480px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
}

/* ===== MOBILE IMPROVEMENTS ===== */

/* Hide topbar on very small screens */
@media (max-width: 480px) {
  .topbar { display: none; }
}

/* Topbar — show only phone on small screens */
@media (max-width: 640px) {
  .topbar-inner span:nth-child(2),
  .topbar-inner span:nth-child(3) { display: none; }
}

/* Navbar logo — smaller on mobile */
@media (max-width: 480px) {
  .logo-img { height: 36px !important; max-width: 120px; }
  .logo-main { font-size: 14px; }
  .logo-sub { display: none; }
  .nav-inner { padding: 10px 16px; }
}

/* Hero — shorter on mobile, better text sizing */
@media (max-width: 768px) {
  .hero { height: 420px; }
  .slide-content { padding-top: 20px; padding-bottom: 20px; }
  .slide-content h1 { font-size: clamp(22px, 6vw, 36px); margin-bottom: 10px; }
  .slide-content p { font-size: 14px; margin-bottom: 18px; line-height: 1.6; }
  .slide-tag { font-size: 10px; padding: 4px 10px; margin-bottom: 10px; }
}
@media (max-width: 480px) {
  .hero { height: 360px; }
  .slide-content h1 { font-size: 22px; }
  .slide-content p { display: none; }
}

/* Intro strip — single column on mobile */
@media (max-width: 480px) {
  .strip-grid { grid-template-columns: 1fr; gap: 16px; }
  .strip-item { justify-content: flex-start; }
}

/* About home — badge repositioned on mobile */
@media (max-width: 768px) {
  .about-badge { bottom: 12px; right: 12px; padding: 10px 14px; }
  .about-badge strong { font-size: 12px; }
  .about-badge span { font-size: 11px; }
  .about-home-img img { height: 280px; }
  .about-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .astat { min-width: 80px; }
}

/* Section padding tighter on mobile */
@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .section-title { font-size: clamp(20px, 5vw, 28px); }
}

/* Page hero — tighter on mobile */
@media (max-width: 768px) {
  .page-hero { padding: 36px 0; }
  .page-hero h1 { font-size: clamp(22px, 5vw, 32px); }
  .page-hero p { font-size: 14px; }
}

/* Products grid single (BDS) — centered card on mobile */
@media (max-width: 768px) {
  .products-grid-single { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* Enquiry strip — stack on mobile */
@media (max-width: 640px) {
  .enquiry-inner { flex-direction: column; text-align: center; gap: 16px; }
  .enquiry-inner h3 { font-size: 18px; }
}

/* Footer — tighter on mobile */
@media (max-width: 768px) {
  .footer { padding: 40px 0 20px; }
  .footer-grid { gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom p { font-size: 11px; line-height: 1.6; }
}

/* Contact page — tighter form on mobile */
@media (max-width: 768px) {
  .contact-form-wrap { padding: 20px 16px; }
  .contact-section { padding: 40px 0; }
  .contact-items { gap: 14px; }
}

/* Product detail — tabs scroll on mobile */
@media (max-width: 768px) {
  .product-detail { padding: 32px 0; }
  .product-detail-grid { gap: 24px; }
  .product-tabs { margin-top: 32px; }
  .tab-nav { -webkit-overflow-scrolling: touch; }
  .tab-btn { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
  .product-img-gallery .img-main { min-height: 220px; padding: 12px; }
  .product-img-gallery .img-thumb { width: 60px; height: 48px; }
  .accuracy-row { gap: 8px; }
  .acc-badge { padding: 8px 12px; }
  .acc-badge strong { font-size: 18px; }
}

/* BDS page mobile */
@media (max-width: 768px) {
  .bds-hero-content { padding: 40px 16px 32px; }
  .bds-hero-stats { gap: 12px; }
  .bds-quicknav { top: 56px; }
  .bds-layout { padding-top: 24px; padding-bottom: 40px; gap: 24px; }
  .bds-section { margin-bottom: 36px; padding-bottom: 36px; }
  .bds-clinical-grid { grid-template-columns: 1fr; }
  .bds-news-grid { grid-template-columns: 1fr; }
  .bds-features-grid { grid-template-columns: 1fr; }
  .bds-bc-img-row { grid-template-columns: 1fr; }
  .bds-diag-grid { grid-template-columns: 1fr 1fr; }
  .bds-acc-row { flex-direction: column; }
}

/* Partners page mobile */
@media (max-width: 768px) {
  .partner-header-icon { width: 48px; height: 48px; font-size: 24px; }
  .partner-header-info h2 { font-size: 18px; }
}

/* About page mobile */
@media (max-width: 768px) {
  .about-content { padding: 40px 0; }
  .about-content-grid { gap: 24px; margin-bottom: 40px; }
  .about-content-grid img { height: 260px; }
  .mission-grid { gap: 16px; }
}

/* Why grid — single column on mobile */
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 20px; }
}

/* Partner logos — 2 col on mobile already, but tighter */
@media (max-width: 480px) {
  .partner-logos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partner-logo-card { padding: 16px 12px; }
  .plc-icon { font-size: 28px; margin-bottom: 8px; }
}

/* Spec table — scrollable on mobile */
@media (max-width: 640px) {
  .spec-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Form grid — single col on mobile */
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Slider controls — smaller on mobile */
@media (max-width: 480px) {
  .slider-btn { width: 30px; height: 30px; font-size: 14px; }
  .slider-controls { gap: 10px; bottom: 16px; }
}

/* WhatsApp button — don't overlap content on mobile */
@media (max-width: 480px) {
  .whatsapp-float { bottom: 12px; right: 12px; width: 46px; height: 46px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .whatsapp-tooltip { display: none; }
}

/* ===== CONTACT PAGE MOBILE ===== */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info h2 { font-size: 20px; }
  .contact-info p { font-size: 14px; margin-bottom: 20px; }
  .contact-items { gap: 14px; }
  .contact-item { gap: 10px; }
  .c-icon { width: 36px; height: 36px; font-size: 16px; flex-shrink: 0; }
  .c-icon-text strong { font-size: 13px; }
  .c-icon-text span, .c-icon-text a { font-size: 13px; }
  .contact-form-wrap { padding: 20px 16px; border-radius: var(--radius-sm); }
  .contact-form-wrap h2 { font-size: 18px; margin-bottom: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; /* prevents iOS zoom */ }
}

@media (max-width: 480px) {
  .contact-section { padding: 28px 0; }
  .contact-info h2 { font-size: 18px; }
  .c-icon { width: 32px; height: 32px; font-size: 14px; }
}

/* ===== GLOBAL OVERFLOW FIX ===== */
html { max-width: 100%; }
body { max-width: 100%; overflow-x: clip; }

/* Prevent any element from causing horizontal scroll */
@media (max-width: 768px) {
  .contact-grid,
  .contact-info,
  .contact-form-wrap,
  .contact-section,
  .contact-section .container { 
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  
  /* Map iframe responsive */
  .contact-info iframe {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Fix any inline styles that set fixed widths */
  .contact-grid { 
    display: block !important;
    gap: 0 !important;
  }
  .contact-info { margin-bottom: 32px; }
  
  /* Form inputs full width */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .btn-full {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* ===== MOBILE NAV — HAMBURGER X ANIMATION ===== */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PRODUCT DETAIL IMAGE ZOOM ===== */
/* BDS detail page — 5% zoom */
.product-img-gallery .img-main img[data-img="bds"] {
  transform: scale(1.05);
}

/* ===== CHAT WIDGET SVG SIZE FIX ===== */
.chat-toggle svg { width: 26px !important; height: 26px !important; }
.chat-action-btn svg { width: 16px !important; height: 16px !important; }
.chat-widget { position: fixed !important; bottom: 24px !important; right: 24px !important; z-index: 99999 !important; }

/* ===== CHAT SUPPORT WIDGET (clean rebuild) ===== */
.chat-widget {
  position: fixed; bottom: 80px; right: 24px; z-index: 99999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}

/* Action buttons */
.chat-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-widget.open .chat-actions {
  opacity: 1; pointer-events: all; transform: translateY(0);
}

.chat-action-btn {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 100px;
  padding: 9px 16px 9px 10px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.14);
  text-decoration: none; font-size: 13px; font-weight: 600;
  color: #0f2d4a; white-space: nowrap;
  border: 1px solid #e2e8f0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.chat-action-btn:hover { transform: translateX(-3px); box-shadow: 0 5px 18px rgba(0,0,0,0.18); }
.chat-btn-icon { font-size: 18px; line-height: 1; }

/* Main toggle — pill shape */
.chat-toggle {
  display: flex; align-items: center; gap: 10px;
  background: #0f2d4a;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 100px;
  padding: 13px 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(15,45,74,0.4), 0 0 0 4px rgba(255,255,255,0.15);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.chat-toggle:hover {
  background: #1a3f5c;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15,45,74,0.5), 0 0 0 4px rgba(255,255,255,0.2);
}
.chat-widget.open .chat-toggle { background: #374151; }

.chat-toggle-icon { display: flex; align-items: center; }
.chat-toggle-icon svg { width: 20px; height: 20px; fill: #5eead4; display: block; }
.chat-toggle-label { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.chat-toggle-close { display: none; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); }
.chat-widget.open .chat-toggle-label { display: none; }
.chat-widget.open .chat-toggle-close { display: block; }
.chat-widget.open .chat-toggle-icon svg { fill: rgba(255,255,255,0.5); }

@media (max-width: 480px) {
  .chat-widget { bottom: 12px; right: 12px; }
  /* Collapse to circle on mobile — hide label */
  .chat-toggle { 
    width: 50px; height: 50px;
    padding: 0; border-radius: 50%; gap: 0;
    justify-content: center; align-items: center;
  }
  .chat-toggle-label, .chat-toggle-close { display: none !important; }
  .chat-toggle-icon { display: flex; align-items: center; justify-content: center; }
  .chat-action-btn { font-size: 12px; padding: 8px 12px 8px 8px; }
  .chat-btn-icon { font-size: 16px; }
}

.chat-icon-open svg, .chat-icon-close svg { display: block; width: 26px; height: 26px; fill: #fff !important; }

@media (max-width: 480px) {
  .chat-widget { bottom: 12px; right: 12px; }
  .chat-toggle { width: 48px; height: 48px; font-size: 20px; }
  .chat-action-btn { font-size: 12px; padding: 8px 12px 8px 8px; }
  .chat-btn-icon { font-size: 16px; }
}

.chat-icon-open  { display: flex; align-items: center; justify-content: center; }
.chat-icon-close { display: none; align-items: center; justify-content: center; }
.chat-widget.open .chat-icon-open  { display: none; }
.chat-widget.open .chat-icon-close { display: flex; }

/* Mobile label above chat button */
.chat-toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.chat-mobile-label {
  display: none;
  font-size: 11px; font-weight: 700;
  color: #fff; background: #0f2d4a;
  padding: 3px 10px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.3);
  white-space: nowrap; letter-spacing: 0.03em;
}
@media (max-width: 480px) {
  .chat-mobile-label { display: block; }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
  position: fixed; top: 50%; right: 0; z-index: 99998;
  transform: translateY(-50%);
  width: 32px; border-radius: 8px 0 0 8px;
  background: var(--navy); border: 2px solid rgba(255,255,255,0.7);
  border-right: none;
  color: #fff; cursor: pointer;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 10px 6px;
  box-shadow: -3px 0 12px rgba(0,0,0,0.2);
  transition: background 0.2s ease, width 0.25s ease;
  overflow: hidden; white-space: nowrap;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--teal); width: 72px; }
.scroll-top .st-arrow { font-size: 18px; line-height: 1; flex-shrink: 0; }
.scroll-top .st-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; writing-mode: vertical-rl;
  text-orientation: mixed; transform: rotate(180deg);
  opacity: 0; max-height: 0; transition: opacity 0.2s ease, max-height 0.2s ease;
}
.scroll-top:hover .st-label { opacity: 1; max-height: 60px; }
@media (max-width: 480px) {
  .chat-widget { bottom: 72px; right: 12px; }
  .scroll-top { width: 26px; padding: 8px 4px; }
  .scroll-top:hover { width: 60px; }
  .scroll-top .st-arrow { font-size: 15px; }
}
