/* ==========================================================================
   B.H. TURBO - Engineering & Power Solutions
   Color Palette: Deep Corporate Navy (#0c2340) & Refined Steel Blue (#1d5f96)
   Theme Support: Auto system detection + Light/Dark toggle
   No emojis - Clean corporate industrial UI
   ========================================================================== */

:root {
  --primary-navy: #0c2340;
  --primary-navy-dark: #071629;
  --primary-navy-light: #163861;
  --accent-blue: #1d5f96;
  --accent-blue-hover: #154874;
  --accent-blue-light: #eef4f9;
  --accent-cyan: #2b6d9e;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border-light: #e2e8f0;
  --border-focus: #1d5f96;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(12, 35, 64, 0.08);
  --shadow-lg: 0 10px 25px rgba(12, 35, 64, 0.12);
  --shadow-hover: 0 10px 24px rgba(29, 95, 150, 0.14);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --transition: all 0.2s ease-in-out;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1240px;
}

/* ==========================================================================
   DARK MODE VARIABLES (High-Contrast Obsidian & Electric Cobalt Engineering)
   ========================================================================== */
[data-theme="dark"] {
  --primary-navy: #0e1726;
  --primary-navy-dark: #070c14;
  --primary-navy-light: #16243b;
  
  /* Toned-down, refined corporate steel blue (no neon/flashy tint) */
  --accent-blue: #2372b8;
  --accent-blue-hover: #1c5e98;
  --accent-blue-light: rgba(35, 114, 184, 0.12);
  --accent-cyan: #6ba5d6;
  
  --text-dark: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #8fa0b5;
  --text-light: #ffffff;
  
  /* Deep, calm obsidian slate surfaces */
  --bg-white: #0a0e17;
  --bg-light: #060910;
  --bg-card: #111827;
  --bg-subtle: #162032;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #2372b8;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.5);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-white);
  color: var(--text-body);
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a:hover {
  color: var(--accent-blue-hover);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: #94a3b8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #cbd5e1;
}

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

.top-bar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  fill: none;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.badge-gst {
  background: var(--accent-blue-light);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.76rem;
  border: 1px solid rgba(107, 165, 214, 0.3);
}

/* ==========================================================================
   PRIMARY NAVIGATION BAR (Sticky)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.logo-dark {
  display: none !important;
}

.logo-light {
  display: block !important;
}

[data-theme="dark"] .logo-light {
  display: none !important;
}

[data-theme="dark"] .logo-dark {
  display: block !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--accent-blue);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-blue);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1100;
}

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

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
}

.dropdown-link:hover {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  padding-left: 1.45rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-theme-toggle:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.btn-theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Show correct icon based on mode */
[data-theme="dark"] .icon-moon {
  display: none;
}
[data-theme="dark"] .icon-sun {
  display: block;
}
:root:not([data-theme="dark"]) .icon-sun {
  display: none;
}
:root:not([data-theme="dark"]) .icon-moon {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

[data-theme="dark"] .btn-primary {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: none;
}

[data-theme="dark"] .btn-primary:hover {
  background-color: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  color: #ffffff !important;
  box-shadow: none;
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: #ffffff;
}

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

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

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background-color: var(--accent-blue-light);
}

[data-theme="dark"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

[data-theme="dark"] .btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-cyan);
  background-color: var(--accent-blue-light);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text-dark);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #0b111a;
  color: #ffffff;
  padding: 6.5rem 0 6rem;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center right;
  opacity: 1;
  pointer-events: none;
}

.hero-bg-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 17, 26, 0.95) 0%, rgba(11, 17, 26, 0.82) 42%, rgba(11, 17, 26, 0.25) 75%, rgba(11, 17, 26, 0.1) 100%);
}

.hero-clean-wrap {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   FEATURE STRIP
   ========================================================================== */
.feature-strip {
  background: var(--bg-card);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-blue);
  stroke-width: 2;
  fill: none;
}

[data-theme="dark"] .feature-icon {
  background-color: var(--accent-blue-light);
  border: 1px solid rgba(107, 165, 214, 0.25);
}

[data-theme="dark"] .feature-icon svg {
  stroke: var(--accent-cyan);
}

.feature-content h4 {
  font-size: 0.96rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.feature-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

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

.section-header {
  margin-bottom: 2.75rem;
}

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

.section-tag {
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .section-tag {
  color: var(--accent-cyan);
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCT SHOWCASE CARDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .product-card {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .product-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-hover);
}

.product-img-wrap {
  position: relative;
  height: 210px;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-size: 1.18rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.product-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}

.product-specs span {
  display: flex;
  justify-content: space-between;
}

.product-specs strong {
  color: var(--text-muted);
  font-weight: 500;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ==========================================================================
   APPLICATIONS & SECTORS
   ========================================================================== */
.app-tabs {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.app-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.app-tab-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.app-tab-btn.active {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.app-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 310px;
  box-shadow: var(--shadow-md);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.app-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(8, 15, 30, 0.92) 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: #ffffff;
}

.app-card-overlay h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.app-card-overlay p {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.app-badge-list {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.app-badge-list span {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 500;
}

/* ==========================================================================
   PART FINDER & SEARCH WIDGET
   ========================================================================== */
.finder-wrapper {
  background: var(--primary-navy-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.finder-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.finder-header h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
}

.finder-header p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.finder-search-box {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.finder-input {
  flex: 1;
  min-width: 250px;
  padding: 0.8rem 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.finder-input::placeholder {
  color: #94a3b8;
}

.finder-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.14);
}

.finder-filter-select {
  padding: 0.8rem 1.15rem;
  background: #080f1e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.92rem;
  cursor: pointer;
  outline: none;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
}

.turbo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.turbo-table th {
  background-color: rgba(0, 27, 59, 0.85);
  color: var(--accent-cyan);
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.turbo-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.turbo-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.turbo-table .badge-status {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
}

/* ==========================================================================
   SERVICES & QUALITY COMMITMENT
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-blue);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.service-icon-wrap {
  width: 50px;
  height: 50px;
  background: var(--accent-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-blue);
  stroke-width: 2;
  fill: none;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT CARD & DETAILS (Matches User Image 2)
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: stretch;
}

.contact-card-box {
  background: var(--bg-card);
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-header {
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-card-header .brand-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.contact-card-header .brand-name span {
  color: var(--accent-blue);
}

.contact-card-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-blue);
  stroke-width: 2;
  fill: none;
}

.contact-detail-text h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.contact-detail-text a:hover {
  color: var(--accent-blue);
}

.gst-badge-banner {
  background: var(--primary-navy-dark);
  color: #ffffff;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--accent-blue);
}

.gst-badge-banner span {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.gst-badge-banner strong {
  font-size: 1rem;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

/* Contact Form Box */
.rfq-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.rfq-form-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.rfq-form-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
  font-family: inherit;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  background: var(--bg-card);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-blue);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-navy-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--accent-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col .brand-logo-footer {
  margin-bottom: 1.15rem;
}

.footer-col .brand-logo-footer img {
  height: 52px;
  width: auto;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  color: #cbd5e1;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: var(--accent-cyan);
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   FLOATING ACTIONS (WhatsApp & Back To Top)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 990;
}

.btn-float {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  transform: scale(1.06);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-back-top {
  background-color: var(--primary-navy);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.btn-back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-top:hover {
  background-color: var(--accent-blue);
}

.btn-back-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   MODAL POPUP
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 35, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(15px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .brand-logo-img {
    height: 48px;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: var(--transition);
    align-items: flex-start;
    gap: 1rem;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    width: 100%;
  }
  .hero-section {
    padding: 4.5rem 0 3.5rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .product-grid,
  .app-grid,
  .services-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-overview-grid,
  .app-sector-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .app-sector-grid > div:nth-child(2) {
    order: 2 !important;
  }
  .app-sector-grid > div:nth-child(1) {
    order: 1 !important;
  }
}

@media (max-width: 480px) {
  .top-bar-item:nth-child(1) {
    display: none; /* Hide city on narrow mobile to keep phone and email visible on one clean line */
  }
  .brand-logo-img {
    height: 42px;
  }
  .nav-actions .btn-open-quote {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-desc {
    font-size: 0.98rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .modal-content {
    padding: 1.25rem;
    max-height: 92vh;
    overflow-y: auto;
  }
}

/* Grid Classes for Responsive Pages */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.app-sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

/* Form Submit Loading Spinner */
.spinner-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: bh-spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes bh-spin {
  to { transform: rotate(360deg); }
}

/* Inquiry Success Card (Light & Dark Mode Adaptive) */
.inquiry-success-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.inquiry-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 2px solid #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
}

.inquiry-success-title {
  color: var(--text-dark);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.inquiry-success-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.inquiry-success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp-direct {
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-color: #25d366 !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-whatsapp-direct:hover {
  background-color: #1eb854 !important;
  color: #ffffff !important;
}
