/* ==========================================================================
   KBN ENGINEERS - Corporate Engineering Theme Stylesheet (v2.0)
   Color Palette: Deep Navy (#0b132b, #1c2541), Electric Blue (#0066ff, #00d2ff),
   Slate Gray (#0f172a, #f8fafc), Industrial Amber (#f59e0b)
   ========================================================================== */

:root {
  --kbn-navy-dark: #0b132b;
  --kbn-navy-card: #141e38;
  --kbn-navy-mid: #1c2541;
  --kbn-blue-primary: #0066ff;
  --kbn-blue-light: #00d2ff;
  --kbn-blue-glow: rgba(0, 102, 255, 0.35);
  --kbn-slate-dark: #0f172a;
  --kbn-slate-muted: #475569;
  --kbn-slate-light: #f8fafc;
  --kbn-gray-border: #e2e8f0;
  --kbn-amber: #f59e0b;
  --kbn-success: #10b981;
  --kbn-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --kbn-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Global Reset & Base Typography */
body {
  font-family: var(--kbn-font-body);
  color: #334155;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--kbn-font-heading);
  font-weight: 700;
  color: var(--kbn-slate-dark);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

/* ==========================================================================
   Top Announcement & Contact Bar
   ========================================================================== */
.kbn-topbar {
  background: #070c1b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  font-size: 13px;
  color: #94a3b8;
  position: relative;
  z-index: 1040;
}

.kbn-topbar a {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.2s ease;
}

.kbn-topbar a:hover {
  color: var(--kbn-blue-light);
}

.kbn-topbar .badge-iso {
  background: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.4);
}

.kbn-topbar .badge-cgwa {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Executive Navbar Styling (Fixes & Redesign)
   ========================================================================== */
.kbn-navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(11, 19, 43, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kbn-navbar-accent-line {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #0066ff 0%, #00d2ff 50%, #0066ff 100%);
}

.kbn-navbar {
  padding: 8px 0;
}

/* Brand Logo Lockup */
.brand-logo-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.brand-emblem-img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(0, 210, 255, 0.4);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: block;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

.brand-company-name {
  font-family: var(--kbn-font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-company-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--kbn-blue-light);
  line-height: 1.2;
  margin-top: 2px;
}

/* Nav Links & Items */
.kbn-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kbn-nav-link {
  position: relative;
  font-family: var(--kbn-font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: #e2e8f0 !important;
  padding: 8px 12px !important;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.kbn-nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.kbn-nav-link.active {
  color: #ffffff !important;
  background: rgba(0, 102, 255, 0.18);
}

.kbn-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--kbn-blue-light);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 -2px 6px var(--kbn-blue-light);
}

/* Dropdown Menu Overhaul */
.kbn-dropdown-menu {
  background: #0e172e;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 6px;
  margin-top: 6px;
  min-width: 250px;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--kbn-blue-light);
  font-weight: 800;
  padding: 6px 8px 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.kbn-dropdown-item {
  color: #cbd5e1 !important;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s ease;
}

.kbn-dropdown-item:hover {
  color: #ffffff !important;
  background: var(--kbn-blue-primary) !important;
  transform: translateX(3px);
}

.kbn-dropdown-item i {
  font-size: 11px;
  width: 14px;
  text-align: center;
  color: var(--kbn-blue-light);
}

.kbn-dropdown-item:hover i {
  color: #ffffff;
}

/* Request Quote Button */
.btn-nav-quote {
  background: linear-gradient(135deg, #0066ff 0%, #0284c7 100%);
  color: #ffffff !important;
  font-family: var(--kbn-font-heading);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 6px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(0, 102, 255, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-nav-quote:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0066ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.btn-nav-quote i {
  transition: transform 0.2s ease;
}

.btn-nav-quote:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   Mobile Offcanvas Navbar (Drawer)
   ========================================================================== */
.offcanvas-kbn {
  background: #0b132b;
  color: #ffffff;
  width: 320px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-kbn .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
}

.offcanvas-kbn .btn-close {
  filter: invert(1);
}

.mobile-nav-link {
  font-family: var(--kbn-font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(0, 102, 255, 0.2);
  color: #ffffff;
}

.mobile-submenu {
  padding-left: 16px;
  margin-bottom: 10px;
}

.mobile-submenu-item {
  color: #cbd5e1;
  font-size: 14px;
  padding: 8px 12px;
  display: block;
  border-radius: 6px;
}

.mobile-submenu-item:hover {
  color: var(--kbn-blue-light);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.kbn-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 19, 43, 0.92) 0%, rgba(15, 23, 42, 0.85) 100%),
              url('../img/hero_bg_new.jpg') center/cover no-repeat;
  padding: 120px 0 100px;
  color: #ffffff;
  overflow: hidden;
}

.kbn-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #ffffff, transparent);
  pointer-events: none;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--kbn-blue-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #0066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-features-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #e2e8f0;
}

.hero-features-list i {
  color: var(--kbn-blue-light);
}

/* Custom Buttons */
.btn-kbn-primary {
  background: linear-gradient(135deg, #0066ff 0%, #0284c7 100%);
  color: #ffffff !important;
  font-family: var(--kbn-font-heading);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-kbn-primary:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0066ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.45);
}

.btn-kbn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-family: var(--kbn-font-heading);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-kbn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Stats Section */
.kbn-stats-section {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stats-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--kbn-gray-border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 30px;
}

.stat-item {
  text-align: center;
  padding: 10px 15px;
  border-right: 1px solid #f1f5f9;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--kbn-font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--kbn-navy-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--kbn-blue-primary);
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kbn-slate-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Common Styling */
.section-padding {
  padding: 90px 0;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--kbn-slate-dark);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1rem;
  color: var(--kbn-slate-muted);
  max-width: 680px;
}

/* About Section */
.about-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--kbn-navy-dark);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 16px 22px;
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-floating-badge h4 {
  color: var(--kbn-blue-light);
  font-size: 1.4rem;
  margin: 0;
}

.about-feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.about-feature-box:hover {
  border-color: var(--kbn-blue-primary);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.08);
}

.about-feature-box i {
  color: var(--kbn-blue-primary);
  font-size: 1.2rem;
}

/* Product Cards & Filters */
.product-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-family: var(--kbn-font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--kbn-navy-dark);
  border-color: var(--kbn-navy-dark);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11, 19, 43, 0.25);
}

.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.1);
}

.product-card-img-wrap {
  position: relative;
  height: 220px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.product-card-img-wrap img {
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.06);
}

.product-badge-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kbn-slate-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-desc {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 12.5px;
  color: #475569;
}

.product-specs-list li {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-specs-list i {
  color: var(--kbn-blue-primary);
  font-size: 11px;
}

.product-card-actions {
  display: flex;
  gap: 8px;
}

.btn-card-details {
  flex: 1;
  background: #f1f5f9;
  color: var(--kbn-slate-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 6px;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-card-details:hover {
  background: var(--kbn-navy-dark);
  color: #ffffff;
}

.btn-card-pdf {
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.2);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-card-pdf:hover {
  background: #e11d48;
  color: #ffffff;
}

/* Telemetry Section */
.kbn-telemetry-section {
  background: linear-gradient(135deg, #0b132b 0%, #0f172a 100%),
              url('../img/telemetry_bg_new.jpg') center/cover no-repeat;
  color: #ffffff;
  position: relative;
}

.telemetry-widget-card {
  background: rgba(20, 30, 56, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.25);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.widget-status-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.widget-status-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.telemetry-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.telemetry-metric-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
}

.telemetry-metric-item small {
  font-size: 12px;
  color: #94a3b8;
  display: block;
}

.telemetry-metric-item h4 {
  font-size: 1.5rem;
  color: var(--kbn-blue-light);
  margin: 4px 0 0;
  font-family: var(--kbn-font-heading);
}

/* PDF Catalogs Download Hub */
.catalog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s ease;
}

.catalog-card:hover {
  border-color: var(--kbn-blue-primary);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.1);
  transform: translateY(-3px);
}

.catalog-icon {
  width: 52px;
  height: 52px;
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.catalog-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--kbn-slate-dark);
}

.catalog-info p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.catalog-btn {
  margin-left: auto;
  background: var(--kbn-navy-dark);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.catalog-card:hover .catalog-btn {
  background: var(--kbn-blue-primary);
}

/* Applications Grid */
.app-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.app-card:hover {
  background: #ffffff;
  border-color: var(--kbn-blue-primary);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.08);
}

.app-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--kbn-blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.app-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kbn-slate-dark);
  margin-bottom: 8px;
}

.app-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Inquiry Form Section */
.inquiry-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 40px;
}

.form-control-kbn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #0f172a;
  transition: all 0.2s ease;
}

.form-control-kbn:focus {
  background: #ffffff;
  border-color: var(--kbn-blue-primary);
  box-shadow: 0 0 0 4px var(--kbn-blue-glow);
  outline: none;
}

/* Corporate Footer */
.kbn-footer {
  background-color: var(--kbn-navy-dark);
  color: #94a3b8;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kbn-footer h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.kbn-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kbn-footer ul li {
  margin-bottom: 12px;
}

.kbn-footer ul a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.2s ease;
}

.kbn-footer ul a:hover {
  color: var(--kbn-blue-light);
}

.kbn-footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}

/* ==========================================================================
   Inner Pages - Common Hero Banner & Breadcrumbs
   ========================================================================== */
.page-header-banner {
  position: relative;
  background: linear-gradient(135deg, #070c1b 0%, #0b132b 50%, #141e38 100%);
  padding: 60px 0 50px;
  color: #ffffff;
  border-bottom: 1px solid rgba(0, 210, 255, 0.15);
  overflow: hidden;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(0, 102, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.breadcrumb-kbn {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  padding: 0;
  list-style: none;
}

.breadcrumb-kbn li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}

.breadcrumb-kbn a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-kbn a:hover {
  color: var(--kbn-blue-light);
}

.breadcrumb-kbn .separator {
  color: #64748b;
  font-size: 11px;
}

.breadcrumb-kbn .active {
  color: var(--kbn-blue-light);
  font-weight: 600;
}

.page-header-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.page-header-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #0066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 720px;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ==========================================================================
   Product Detail View & Specification Tables
   ========================================================================== */
.product-detail-hero-box {
  background: #ffffff;
  border: 1px solid var(--kbn-gray-border);
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  padding: 32px;
  margin-bottom: 40px;
}

.product-gallery-view {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
}

.product-gallery-view img {
  max-height: 320px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-gallery-view:hover img {
  transform: scale(1.04);
}

.product-badge-float {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--kbn-navy-dark);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.spec-table-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.spec-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.spec-table th {
  background: #0f172a;
  color: #ffffff;
  font-family: var(--kbn-font-heading);
  font-weight: 700;
  font-size: 13.5px;
  padding: 14px 18px;
  border: none;
}

.spec-table td {
  padding: 12px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.spec-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.spec-table tr:hover td {
  background-color: #f1f5f9;
}

.spec-param-title {
  font-weight: 600;
  color: var(--kbn-slate-dark);
  width: 38%;
}

.spec-param-val {
  color: #334155;
  font-weight: 500;
}

/* Feature Bullet Cards */
.feature-bullet-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.25s ease;
  height: 100%;
}

.feature-bullet-card:hover {
  border-color: var(--kbn-blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.08);
}

.feature-bullet-card .icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--kbn-blue-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-bullet-card h5 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--kbn-slate-dark);
}

.feature-bullet-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Gallery Showcase Styling
   ========================================================================== */
.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--kbn-blue-primary);
  box-shadow: 0 18px 36px rgba(0, 102, 255, 0.12);
}

.gallery-card-img-wrap {
  height: 240px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.gallery-card-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 43, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay .btn-zoom {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--kbn-blue-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.gallery-card:hover .gallery-card-overlay .btn-zoom {
  transform: scale(1);
}

.gallery-card-body {
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.gallery-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--kbn-slate-dark);
  margin-bottom: 4px;
}

.gallery-card-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-hero-card:hover {
  transform: translateY(-3px);
  border-color: var(--kbn-blue-primary);
}

.contact-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--kbn-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Client Portal / Login Styles
   ========================================================================== */
.portal-login-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.portal-login-header {
  text-align: center;
  margin-bottom: 30px;
}

.portal-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--kbn-blue-primary);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}


/* Main Products Highlight */
.main-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--kbn-gray-border);
  border-top: 4px solid var(--kbn-blue-primary);
  border-radius: 12px;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.main-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
  color: #334155;
}

.main-product-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--kbn-blue-primary);
  font-size: 22px;
  margin-bottom: 18px;
}

.main-product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.main-product-card p {
  font-size: 14.5px;
  color: var(--kbn-slate-muted);
  flex-grow: 1;
}

.main-product-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--kbn-blue-primary);
}

.main-valves-panel {
  padding: 32px;
  border-radius: 14px;
  background: var(--kbn-navy-dark);
}

.main-valves-panel h3 {
  color: #ffffff;
  font-size: 1.4rem;
}

.main-valves-panel p {
  color: #94a3b8;
  font-size: 14.5px;
}

.valve-material-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 20px 12px;
  border-radius: 10px;
  background: var(--kbn-navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.valve-material-tile:hover {
  border-color: var(--kbn-amber);
  transform: translateY(-3px);
  color: #ffffff;
}

.valve-material-tile i {
  font-size: 24px;
  color: var(--kbn-amber);
  margin-bottom: 10px;
}

.valve-material-tile strong {
  font-family: var(--kbn-font-heading);
  font-size: 15px;
}

.valve-material-tile small {
  color: #94a3b8;
  font-size: 12.5px;
}

@media (max-width: 575px) {
  .main-valves-panel {
    padding: 22px 16px;
  }
}

/* Outline button on light backgrounds (e.g. "Download Catalog" on product pages) */
.btn-kbn-outline.text-dark {
  color: var(--kbn-slate-dark) !important;
  background: #ffffff;
  border-color: #cbd5e1;
}

.btn-kbn-outline.text-dark:hover {
  background: var(--kbn-slate-light);
  border-color: var(--kbn-slate-dark);
}

/* Nav dropdowns use their own chevron icon; hide Bootstrap's default caret */
.kbn-nav-link.dropdown-toggle::after {
  display: none;
}

/* Live telemetry widget readings */
.telemetry-value {
  font-variant-numeric: tabular-nums;
  border-radius: 4px;
}

.telemetry-tick {
  animation: telemetry-tick 0.8s ease-out;
}

@keyframes telemetry-tick {
  from { background-color: rgba(52, 211, 153, 0.25); }
  to   { background-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .telemetry-tick { animation: none; }
}
