/* ============================================
   CHEMPHARM — chempharm.css v2.0
   Shared Hosting Safe: No backdrop-filter,
   No clamp(), No color-mix(), No CSS Grid subgrid
   ============================================ */

/* --- ROOT TOKENS --- */
:root {
  --cp-navy:   #0A1F44;
  --cp-red:    #C0392B;
  --cp-gold:   #D4A017;
  --cp-sky:    #EBF4FF;
  --cp-green:  #1A9E5C;
  --cp-white:  #FFFFFF;
  --cp-text:   #1A1A2E;
  --cp-muted:  #5A6478;
  --cp-border: #DDE3ED;
  --cp-shadow: 0 4px 24px rgba(10,31,68,0.10);
  --cp-shadow-lg: 0 12px 40px rgba(10,31,68,0.18);
  --radius:    12px;
  --radius-lg: 20px;
}

/* --- BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cp-text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--cp-navy);
}
h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 38px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
p  { font-size: 16px; color: var(--cp-muted); line-height: 1.7; }
.text-mono { font-family: 'Roboto Mono', monospace; }

/* Utility */
.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.text-navy   { color: var(--cp-navy)  !important; }
.text-red    { color: var(--cp-red)   !important; }
.text-gold   { color: var(--cp-gold)  !important; }
.text-green  { color: var(--cp-green) !important; }
.text-white  { color: #fff            !important; }
.text-muted-cp { color: var(--cp-muted) !important; }
.bg-navy  { background: var(--cp-navy)  !important; }
.bg-sky   { background: var(--cp-sky)   !important; }
.bg-red   { background: var(--cp-red)   !important; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 48px 0; }

/* Section headers */
.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cp-red);
  margin-bottom: 10px;
}
.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--cp-navy);
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--cp-red);
}

/* --- TOPBAR --- */
.topbar {
  background: #071628;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff !important;
}
.topbar a {
  color: #ffffff !important;
  text-decoration: none;
}
.topbar a:hover {
  color: var(--cp-gold) !important;
}
.topbar .bi { color: var(--cp-gold); margin-right: 4px; }
.badge-gem  { background: #4285F4; color: #fff !important; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.5px; }
.badge-msme { background: #FF6600; color: #fff !important; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.badge-est  { color: var(--cp-gold); font-size: 12px; font-weight: 600; letter-spacing: 1px; }

/* --- NAVBAR --- */
.navbar-cp {
  background: var(--cp-navy) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-cp .navbar-brand img { height: 50px; }
.navbar-cp .nav-link {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.85) !important;
  padding: 8px 16px !important;
  position: relative;
  transition: color 0.2s;
}
.navbar-cp .nav-link::after {
  content: '';
  position: absolute;
  bottom: -12px; left: 16px; right: 16px;
  height: 3px;
  background: var(--cp-gold);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px 2px 0 0;
}
.navbar-cp .nav-link:hover::after,
.navbar-cp .nav-link.active::after { transform: scaleX(1); }
.navbar-cp .nav-link:hover { color: #fff !important; }

/* WhatsApp Button inside Navbar */
.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
}
.btn-whatsapp:hover {
  background: #1db954 !important;
  transform: translateY(-1px);
}
.btn-whatsapp .bi {
  font-size: 16px;
}

/* Dropdown customize for dark navbar */
.navbar-cp .dropdown-menu {
  background: #0d2240;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--cp-shadow-lg);
}
.navbar-cp .dropdown-item {
  color: rgba(255,255,255,0.8) !important;
  transition: background 0.15s, color 0.15s;
}
.navbar-cp .dropdown-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
}
.navbar-cp .dropdown-divider {
  border-color: rgba(255,255,255,0.08);
}
.navbar-cp .navbar-toggler {
  border-color: rgba(255,255,255,0.2) !important;
}
.navbar-cp .navbar-toggler-icon {
  filter: invert(1);
}

/* --- BUTTONS --- */
.btn-cp-primary {
  background: var(--cp-red);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-cp-primary:hover { background: #a82219; color: #fff; transform: translateY(-1px); }

.btn-cp-wa {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-cp-wa:hover { background: #1db954; color: #fff; transform: translateY(-1px); }

.btn-cp-outline {
  background: transparent;
  color: var(--cp-navy);
  border: 2px solid var(--cp-navy);
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-cp-outline:hover { background: var(--cp-navy); color: #fff; }

.btn-cp-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-cp-outline-white:hover { background: #fff; color: var(--cp-navy); }

.btn-cp-email {
  background: var(--cp-navy);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-cp-email:hover { background: #16305c; color: #fff; }

/* --- HERO SECTION --- */
.hero-section {
  background: var(--cp-navy);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
/* Subtle diagonal line pattern — pure CSS, no image needed */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%) -10px 0,
              linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%) -10px 0,
              linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%),
              linear-gradient(45deg,  rgba(255,255,255,0.03) 25%, transparent 25%);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-bottom: 80px; }
.hero-eyebrow {
  display: inline-block;
  border: 1px solid var(--cp-gold);
  color: var(--cp-gold);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-h1 {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-h1 .accent { color: var(--cp-red); }
.hero-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero image side */
.hero-image-col {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-main-img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  display: block;
  /* image sits at bottom of hero, bleeds into stats bar */
}
/* Floating trust badge on hero image */
.hero-img-badge {
  position: absolute;
  bottom: 32px;
  left: 0;
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: var(--cp-shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cp-navy);
}
.hero-img-badge .bi { color: var(--cp-green); font-size: 22px; }

/* --- STATS BAR --- */
.stats-bar {
  background: linear-gradient(90deg, #071628 0%, #0d2240 100%);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--cp-gold);
  line-height: 1;
  display: block;
}
.stat-suffix { font-size: 36px; }
.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  display: block;
}

/* --- TRUST BADGES --- */
.trust-section { background: var(--cp-sky); padding: 48px 0; }
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.trust-badge-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 2px 12px rgba(10,31,68,0.06);
  border: 1px solid var(--cp-border);
  flex: 0 0 auto;
}
.trust-badge-item .bi {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}
.trust-badge-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cp-navy);
  line-height: 1.3;
}

/* --- DIVISION CARDS --- */
.divisions-section { padding: 80px 0; background: #fff; }

.division-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cp-border);
  border-top: 5px solid var(--div-color, var(--cp-navy));
  padding: 28px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--cp-text);
}
.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cp-shadow-lg);
  color: var(--cp-text);
}
/* Subtle watermark number */
.division-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: -12px;
  right: 12px;
  font-size: 80px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
}
.division-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
/* background color set inline via style="background: rgba(R,G,B,0.12)" */
.division-icon-wrap .bi { font-size: 28px; }
.division-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--cp-sky);
}
.division-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.division-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--cp-navy);
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}
.division-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}
.division-list li {
  font-size: 15px;
  color: var(--cp-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--cp-border);
}
.division-list li:last-child { border-bottom: none; }
.division-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--div-color, var(--cp-navy));
  flex-shrink: 0;
}
.division-cta {
  font-size: 15px;
  font-weight: 700;
  color: var(--div-color, var(--cp-navy));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.division-cta .bi { transition: transform 0.2s; }
.division-card:hover .division-cta .bi { transform: translateX(4px); }

/* --- PRODUCT CARDS --- */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cp-border);
  border-top: 4px solid var(--div-color, var(--cp-navy));
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cp-shadow-lg);
}
.product-img-wrap {
  position: relative;
  background: var(--cp-sky);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,68,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-body { padding: 20px; flex: 1; }
.product-brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cp-muted);
  margin-bottom: 6px;
}
.product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--cp-navy);
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}
.product-model {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--cp-muted);
  margin-bottom: 10px;
}
.product-desc {
  font-size: 14px;
  color: var(--cp-muted);
  line-height: 1.55;
}
.product-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--cp-border);
  display: flex;
  gap: 10px;
}
.product-footer a {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.product-footer .btn-wa  { background: #25D366; color: #fff; }
.product-footer .btn-wa:hover  { background: #1db954; }
.product-footer .btn-em  { background: var(--cp-sky); color: var(--cp-navy); border: 1px solid var(--cp-border); }
.product-footer .btn-em:hover  { background: #d6e8ff; }

/* --- PARTNER LOGOS --- */
.partners-section { padding: 64px 0; background: var(--cp-sky); }
.partners-track-wrap { overflow: hidden; position: relative; }
.partners-track-wrap::before,
.partners-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.partners-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--cp-sky), transparent); }
.partners-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--cp-sky), transparent); }
.partners-track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid var(--cp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 96px;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.partner-logo-box:hover { box-shadow: var(--cp-shadow); }
.partner-logo-box img {
  max-height: 70px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
.partner-logo-box:hover img { filter: none; opacity: 1; }
.partner-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--cp-navy);
  white-space: nowrap;
}
@keyframes scroll-partners {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- ELISA BAND --- */
.elisa-band { background: var(--cp-navy); padding: 40px 0; }
.elisa-kits-badge {
  background: var(--cp-red);
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
}
.elisa-kits-badge small { font-size: 13px; font-weight: 600; display: block; opacity: 0.85; }
.elisa-col-title { font-size: 20px; font-weight: 700; color: var(--cp-gold); margin-bottom: 8px; }
.elisa-col-text  { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* --- WHY SECTION --- */
.why-section { padding: 80px 0; background: #fff; }
.why-card {
  background: var(--cp-sky);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  border: 1px solid var(--cp-border);
  transition: box-shadow 0.2s;
}
.why-card:hover { box-shadow: var(--cp-shadow); }
.why-icon {
  font-size: 36px;
  color: var(--cp-red);
  display: block;
  margin-bottom: 14px;
}
.why-title { font-size: 18px; font-weight: 700; color: var(--cp-navy); margin-bottom: 8px; }
.why-desc  { font-size: 15px; color: var(--cp-muted); line-height: 1.6; }

/* --- CONTACT STRIP --- */
.contact-strip { background: var(--cp-red); padding: 56px 0; text-align: center; }
.contact-strip h2 { font-size: 32px; color: #fff; margin-bottom: 8px; }
.contact-strip p  { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* --- FOOTER --- */
.footer-main { background: var(--cp-navy); padding: 64px 0 32px; }
.footer-logo { height: 48px; margin-bottom: 16px; }
.footer-desc { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 20px; }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cp-gold);
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 15px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}
.footer-contact-row .bi { color: var(--cp-gold); margin-top: 2px; flex-shrink: 0; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 32px 0 24px; }
.footer-bottom { font-size: 14px; color: rgba(255,255,255,0.5); }

/* --- WHATSAPP FLOAT --- */
.wa-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform 0.2s;
}
.wa-float-btn:hover { transform: scale(1.1); color: #fff; }
.wa-float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* --- DIGITAL VCARD --- */
.vcard-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--cp-navy) 0%, #1a3a6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.vcard-wrap {
  background: #fff;
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.vcard-header {
  background: var(--cp-navy);
  padding: 24px;
  text-align: center;
}
.vcard-logo { height: 44px; margin: 0 auto 8px; }
.vcard-company-city { font-size: 12px; color: rgba(255,255,255,0.6); }
.vcard-body { padding: 28px 24px; text-align: center; }
.vcard-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 4px solid var(--cp-gold);
  overflow: hidden;
  margin: 0 auto 16px;
}
.vcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vcard-name { font-size: 24px; font-weight: 800; color: var(--cp-navy); margin-bottom: 4px; }
.vcard-role { font-size: 16px; font-weight: 600; color: var(--cp-red); margin-bottom: 2px; }
.vcard-dept { font-size: 14px; color: var(--cp-muted); }
.vcard-actions { display: flex; border-top: 1px solid var(--cp-border); border-bottom: 1px solid var(--cp-border); }
.vcard-action-btn {
  flex: 1;
  padding: 18px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--cp-navy);
  border-right: 1px solid var(--cp-border);
  transition: background 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.vcard-action-btn:last-child { border-right: none; }
.vcard-action-btn.wa { color: #25D366; }
.vcard-action-btn.wa:hover { background: #f0fff7; }
.vcard-action-btn.call:hover { background: var(--cp-sky); }
.vcard-action-btn.email { color: var(--cp-red); }
.vcard-action-btn.email:hover { background: #fff0ef; }
.vcard-info { padding: 20px 24px; border-bottom: 1px solid var(--cp-border); }
.vcard-info-row {
  display: flex; align-items: center;
  gap: 12px; padding: 8px 0;
  font-size: 15px; color: var(--cp-text);
  border-bottom: 1px solid var(--cp-border);
}
.vcard-info-row:last-child { border-bottom: none; }
.vcard-info-row .bi { color: var(--cp-red); width: 20px; font-size: 16px; flex-shrink: 0; }
.vcard-divisions { padding: 20px 24px; }
.vcard-div-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cp-muted); margin-bottom: 12px; }
.vcard-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.vcard-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.vcard-footer-actions { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.btn-save-vcf {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--cp-navy);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}
.btn-save-vcf:hover { background: #16305c; color: #fff; }
.btn-share-card {
  display: block;
  text-align: center;
  padding: 12px;
  background: transparent;
  color: var(--cp-muted);
  border: 2px solid var(--cp-border);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.vcard-brand-footer {
  background: var(--cp-sky);
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--cp-muted);
}

/* --- ADMIN --- */
.admin-sidebar {
  background: var(--cp-navy);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  top: 0; left: 0;
  padding: 0;
  z-index: 100;
}
.admin-sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-logo img { height: 40px; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.admin-nav-item:hover,
.admin-nav-item.active { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav-item .bi { font-size: 18px; width: 20px; color: var(--cp-gold); }
.admin-main { margin-left: 260px; background: #f4f7fb; min-height: 100vh; }
.admin-topbar-bar {
  background: #fff;
  padding: 16px 32px;
  border-bottom: 1px solid var(--cp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-page-title { font-size: 22px; font-weight: 700; color: var(--cp-navy); }
.admin-content { padding: 32px; }
.admin-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--cp-border);
  overflow: hidden;
  margin-bottom: 24px;
}
.admin-card-header {
  padding: 16px 24px;
  background: var(--cp-sky);
  border-bottom: 1px solid var(--cp-border);
  font-size: 15px;
  font-weight: 700;
  color: var(--cp-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-card-body { padding: 24px; }
.form-label-cp { font-size: 14px; font-weight: 700; color: var(--cp-navy); margin-bottom: 6px; display: block; }
.form-control-cp {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cp-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--cp-text);
  transition: border-color 0.2s;
  outline: none;
}
.form-control-cp:focus { border-color: var(--cp-navy); }
.seo-preview-box { background: #f8f9fa; border: 1px solid var(--cp-border); border-radius: 8px; padding: 16px 20px; }
.seo-preview-title { color: #1a0dab; font-size: 18px; cursor: pointer; font-family: 'Arial', sans-serif; }
.seo-preview-url   { color: #006621; font-size: 14px; font-family: 'Arial', sans-serif; }
.seo-preview-desc  { color: #545454; font-size: 13px; font-family: 'Arial', sans-serif; line-height: 1.5; }
.char-count { text-align: right; font-size: 12px; color: var(--cp-muted); margin-top: 4px; }
.char-count.over { color: var(--cp-red); }

/* --- PRODUCT DETAIL PAGE --- */
.breadcrumb-bar { background: var(--cp-sky); padding: 14px 0; }
.breadcrumb-bar ol { margin: 0; font-size: 14px; }
.breadcrumb-bar .breadcrumb-item a { color: var(--cp-navy); font-weight: 600; }
.product-detail-name { font-size: 36px; font-weight: 800; color: var(--cp-navy); margin-bottom: 12px; }
.product-division-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.product-brand-lg { font-size: 16px; font-weight: 700; color: var(--cp-muted); text-transform: uppercase; letter-spacing: 1px; }
.product-short-desc { font-size: 17px; line-height: 1.7; color: var(--cp-muted); margin-bottom: 24px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--cp-text); padding: 6px 0; }
.feature-item .bi { color: var(--cp-green); font-size: 18px; flex-shrink: 0; }
.enquiry-actions-box {
  background: var(--cp-sky);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--cp-border);
  margin-bottom: 24px;
}
.enquiry-actions-box .label {
  font-size: 16px;
  font-weight: 700;
  color: var(--cp-navy);
  margin-bottom: 16px;
}
.enquiry-actions-box .sub-note {
  font-size: 13px;
  color: var(--cp-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:nth-child(even) { background: var(--cp-sky); }
.spec-table td { padding: 10px 14px; font-size: 15px; border: 1px solid var(--cp-border); }
.spec-table td:first-child { font-family: 'Roboto Mono', monospace; font-weight: 600; font-size: 13px; background: #f0f4fa; width: 38%; }
.application-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--cp-sky);
  border: 1px solid var(--cp-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--cp-navy);
}
.gallery-thumb {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--cp-navy); }

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  h1 { font-size: 38px; }
  h2, .section-title { font-size: 28px; }
  .stat-number { font-size: 40px; }
  .hero-h1 { font-size: 38px; }
  .hero-subtitle { font-size: 17px; }
  .hero-section { padding-top: 60px; }
  .section-pad { padding: 56px 0; }
  .product-detail-name { font-size: 28px; }
}
@media (max-width: 767px) {
  h1, .hero-h1 { font-size: 32px; }
  h2, .section-title { font-size: 24px; }
  .stat-number { font-size: 36px; }
  .stat-suffix { font-size: 24px; }
  .hero-section { padding-top: 48px; }
  .section-pad { padding: 48px 0; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; justify-content: center; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .admin-sidebar { display: none; }
  .admin-main  { margin-left: 0; }
  .trust-badge-item { min-width: 120px; }
  .division-name { font-size: 18px; }
}

/* Custom container override to use full width with padding instead of capped width */
.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}
@media (min-width: 768px) {
  .container {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}
@media (min-width: 1200px) {
  .container {
    padding-left: 6rem !important;
    padding-right: 6rem !important;
  }
}

/* Custom Pagination Styling */
.pagination-link-cp {
  color: var(--cp-navy) !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--cp-border) !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease-in-out !important;
  font-size: 15px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.pagination-link-cp:hover {
  background-color: var(--cp-navy) !important;
  border-color: var(--cp-navy) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(10, 31, 68, 0.15) !important;
}

.pagination-link-cp.active, 
.page-item.active .pagination-link-cp {
  background-color: var(--cp-red) !important;
  border-color: var(--cp-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3) !important;
}

.pagination-link-cp:focus {
  box-shadow: 0 0 0 0.25rem rgba(10, 31, 68, 0.15) !important;
}

