/* ==========================================================================
   BIOSTAG TECHNOLOGIES PVT. LTD. - HIGH-TECH STYLESHEET
   100% Fully Responsive Layout + Mobile App Navigation
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #0052cc;
  --primary-dark: #072a6b;
  --primary-light: #2684ff;
  --accent-cyan: #00d2ff;
  --accent-blue: #3a7bd5;
  --accent-glow: rgba(0, 210, 255, 0.25);
  
  --bg-dark: #0a1128;
  --bg-darker: #050a18;
  --bg-card-dark: #101c3d;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-color: #e2e8f0;
  --border-dark: #1e293b;
  --border-cyan: rgba(0, 210, 255, 0.4);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 35px -10px rgba(7, 42, 107, 0.15);
  --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.35);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  word-break: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOP BAR (COMPACT & SLEEK)
   ========================================================================== */
.top-bar {
  background: var(--bg-darker);
  color: var(--text-light);
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.top-bar-contact {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-bar-contact a:hover {
  color: var(--accent-cyan);
}

.made-in-india-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

.tricolor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff9933 33%, #ffffff 33%, #ffffff 66%, #138808 66%);
  box-shadow: 0 0 5px rgba(255, 153, 51, 0.6);
  display: inline-block;
  flex-shrink: 0;
}

.admin-top-link {
  color: var(--text-light);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-top-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   DESKTOP COMPACT NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 6px;
  min-height: 56px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 8px; /* Extra breathing space from left */
}

.main-site-logo {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo:hover .main-site-logo {
  transform: scale(1.02);
}

.logo-symbol {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0052cc 0%, #00d2ff 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(0, 210, 255, 0.3);
  flex-shrink: 0;
}

.logo-symbol.small {
  width: 30px;
  height: 30px;
  font-size: 1rem;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  color: var(--bg-dark);
  line-height: 1;
}

.logo-title span {
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.2;
}

/* Nav Menu (Single Line, Compact) */
.nav-menu.desktop-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(0, 82, 204, 0.06);
}

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border: 1px solid var(--border-color);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 200;
}

.dropdown-parent:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 20px;
}

/* Mega Dropdown */
.mega-dropdown {
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 680px;
  padding: 16px 20px;
}

.dropdown-parent:hover .mega-dropdown {
  transform: translateX(-50%) translateY(0);
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mega-header {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-color);
}

.mega-dropdown .dropdown-link {
  padding: 5px 0;
  font-size: 0.82rem;
}

.mega-dropdown .dropdown-link:hover {
  padding-left: 4px;
  background: transparent;
}

.highlight-link {
  color: var(--primary) !important;
  font-weight: 700 !important;
  margin-top: 4px;
}

/* Header Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 8px; /* Extra breathing space from right edge */
}

.btn-quote-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0052cc 0%, #00a3ff 100%);
  color: #fff;
  border: none;
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 82, 204, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-quote-compact:hover {
  background: linear-gradient(135deg, #072a6b 0%, #0052cc 100%);
  box-shadow: 0 5px 16px rgba(0, 82, 204, 0.4);
  transform: translateY(-1px);
}

.mobile-app-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 1.15rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-app-toggle:active {
  transform: scale(0.92);
}

/* ==========================================================================
   APP-GRADE OFF-CANVAS MOBILE DRAWER
   ========================================================================== */
.app-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 24, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.app-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.app-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #0d1733;
  color: #fff;
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 30px rgba(0,0,0,0.6);
  overflow-y: auto;
}

.app-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 18px;
  background: rgba(0,0,0,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.drawer-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.drawer-action-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.drawer-nav {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  border-radius: var(--radius-sm);
}

.drawer-link i {
  width: 18px;
  font-size: 1rem;
  color: var(--accent-cyan);
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(0, 210, 255, 0.12);
  color: #fff;
}

/* Drawer Accordion Menu */
.drawer-accordion {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.drawer-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.drawer-accordion-btn:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.drawer-accordion-btn span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-accordion-btn span i {
  width: 18px;
  font-size: 1rem;
  color: var(--accent-cyan);
}

.accordion-arrow {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.drawer-accordion.open .accordion-arrow {
  transform: rotate(180deg);
}

.drawer-accordion-content {
  display: none;
  background: rgba(0,0,0,0.3);
  padding: 6px 0 6px 25px;
  border-left: 2px solid var(--accent-cyan);
  margin: 4px 10px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.drawer-accordion.open .drawer-accordion-content {
  display: block;
}

.drawer-accordion-content a {
  display: block;
  padding: 6px 10px;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.drawer-accordion-content a:hover {
  color: var(--accent-cyan);
}

.drawer-footer {
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
}

/* ==========================================================================
   APP-GRADE MOBILE BOTTOM NAVIGATION BAR (MOBILE ONLY)
   ========================================================================== */
.mobile-bottom-app-bar {
  display: none; /* Desktop default: Hidden */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(10, 17, 40, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  z-index: 2500;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.4);
}

.bottom-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 600;
  gap: 3px;
  height: 100%;
}

.bottom-app-item i {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.bottom-app-item.active, .bottom-app-item:hover {
  color: var(--accent-cyan);
}

.bottom-app-item:active i {
  transform: scale(0.88);
}

/* Central Floating Action Button (FAB) */
.bottom-fab-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -24px;
}

.bottom-fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff 0%, #0052cc 100%);
  border: 3px solid #0a1128;
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.5);
  transition: var(--transition);
}

.bottom-fab-btn:active {
  transform: scale(0.92);
}

.bottom-fab-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 3px;
}

/* ==========================================================================
   BUTTONS & COMMON UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #0052cc 0%, #00a3ff 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #072a6b 0%, #0052cc 100%);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.btn-cyan {
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.55);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,82,204,0.05);
}

.text-cyan { color: var(--accent-cyan); }
.text-green { color: #10b981; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 0 90px;
  overflow: hidden;
  width: 100%;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.15) 0%, rgba(10, 17, 40, 0.95) 75%),
              linear-gradient(180deg, rgba(10,17,40,0.85) 0%, rgba(5,10,24,0.98) 100%);
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border-cyan);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  max-width: 100%;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-light);
  margin-bottom: 25px;
  max-width: 580px;
}

.hero-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item h3 {
  font-size: 1.7rem;
  color: var(--accent-cyan);
  font-weight: 800;
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.78rem;
  color: var(--text-light);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(0, 210, 255, 0.2);
  width: 100%;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: -15px;
  left: -15px;
  background: rgba(16, 28, 61, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-cyan);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: 70px 0;
  width: 100%;
}

.section-bg-alt {
  background: var(--bg-alt);
}

.section-bg-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-tag.tag-cyan {
  color: var(--accent-cyan);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-bg-dark .section-desc {
  color: var(--text-light);
}

/* Responsive Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: center;
  width: 100%;
}

.process-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

/* Product Cards */
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 204, 0.3);
}

.product-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #ffffff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
}

.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.03);
}

.product-category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 17, 40, 0.9);
  backdrop-filter: blur(6px);
  color: var(--accent-cyan);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 210, 255, 0.3);
  z-index: 2;
}

.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-title a:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex: 1;
}

.product-specs-list {
  list-style: none;
  margin-bottom: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.product-specs-list li {
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.product-specs-list li i {
  color: var(--primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.link-arrow {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Division Cards */
.division-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.division-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-cyan);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 20px rgba(0, 210, 255, 0.2);
}

.division-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.division-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.division-card p {
  color: var(--text-light);
  font-size: 0.86rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   PRODUCT DETAIL & TECH SPECS
   ========================================================================== */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}

.page-hero-title {
  color: #ffffff !important;
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: #ffffff !important;
}

.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  width: 100%;
}

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

.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.tech-specs-table th, .tech-specs-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  font-size: 0.86rem;
}

.tech-specs-table th {
  background: var(--bg-light);
  font-weight: 700;
  width: 35%;
}

.tech-specs-table td {
  color: #334155;
}

.feature-box {
  background: var(--bg-light);
  padding: 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  margin-bottom: 16px;
  width: 100%;
}

.feature-box h4 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

/* ==========================================================================
   ENQUIRY & QUOTE FORM
   ========================================================================== */
.quote-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  width: 100%;
}

.form-group {
  margin-bottom: 14px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-family: inherit;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

/* ==========================================================================
   ADMIN DASHBOARD
   ========================================================================== */
.admin-body {
  background: #0d1527;
  color: #f1f5f9;
  min-height: 100vh;
}

.admin-navbar {
  background: #111c35;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.admin-badge {
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--border-cyan);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.admin-stat-card {
  background: #152243;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-stat-card h4 {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 4px;
}

.admin-stat-card .stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.admin-table-container {
  background: #152243;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}

.admin-table-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-search-box {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-input {
  background: #0d1527;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
}

.admin-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 10px 15px;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.admin-table th {
  background: rgba(0,0,0,0.2);
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.8px;
}

.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-New { background: rgba(0, 210, 255, 0.2); color: #00d2ff; border: 1px solid #00d2ff; }
.status-In-Review { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid #f59e0b; }
.status-Quoted { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid #10b981; }
.status-Closed { background: rgba(148, 163, 184, 0.2); color: #94a3b8; border: 1px solid #94a3b8; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(5px);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #152243;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 30px rgba(0, 210, 255, 0.2);
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding: 55px 0 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.84rem;
}

.footer-contact-item i {
  color: var(--accent-cyan);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (FLUID LAYOUT)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-link {
    font-size: 0.8rem;
    padding: 5px 7px;
  }
}

@media (max-width: 991px) {
  .top-bar {
    display: none !important; /* Hide cluttered topbar on mobile for clean app feel */
  }

  body {
    padding-bottom: 65px; /* Mobile bottom bar space */
  }

  .desktop-menu {
    display: none !important;
  }

  .mobile-app-toggle {
    display: flex !important;
  }

  .mobile-bottom-app-bar {
    display: grid !important;
  }

  .site-header {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .navbar {
    min-height: 54px;
    padding: 8px 10px;
  }

  .brand-logo {
    margin-left: 12px;
  }

  .main-site-logo {
    height: 36px;
    max-width: 155px;
  }

  .nav-actions {
    margin-right: 12px;
    gap: 10px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero-floating-badge {
    position: static;
    margin-top: 12px;
  }

  .two-col-layout {
    grid-template-columns: 1fr;
  }

  .grid-3, .grid-4, .process-grid-4, .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 35px 0 55px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    letter-spacing: -0.4px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stat-item h3 {
    font-size: 1.35rem;
  }

  .stat-item p {
    font-size: 0.7rem;
  }

  .section {
    padding: 45px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-desc {
    font-size: 0.88rem;
  }

  .grid-2, .grid-3, .grid-4, .process-grid-4, .footer-grid, .admin-stats-grid, .form-row {
    grid-template-columns: 1fr !important;
  }

  .quote-card {
    padding: 18px;
  }

  .btn-quote-compact span {
    display: none;
  }

  .btn-quote-compact {
    padding: 7px 10px;
    border-radius: var(--radius-full);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
