/* =========================================================
   ALL IN ONE TECHNOLOGY - CORPORATE DESIGN SYSTEM
   Inspired by & Built to the Standards of abhimo.com
   ========================================================= */

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

:root {
  /* abhimo.com Primary Brand Palette */
  --primary-color: #0077ff;
  --primary-blue: #2563eb;
  --primary-dark: #005eff;
  --primary-light: #00a2ff;
  --primary-gradient: linear-gradient(135deg, #0099ff 0%, #005eff 100%);
  --secondary-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);

  /* Luminous Light Background (abhimo.com) */
  --bg-main: #f8fbff;
  --bg-gradient: linear-gradient(135deg, #f8fbff 0%, #eef6fc 100%);
  --bg-section-alt: #ffffff;

  /* Text Colors */
  --text-main: #082032;
  --text-title: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Frosted Glassmorphism (abhimo.com standard) */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(0, 119, 255, 0.12);
  --glass-border-hover: rgba(0, 119, 255, 0.35);
  --glass-shadow: 0 15px 35px rgba(0, 119, 255, 0.08);
  --glass-shadow-hover: 0 20px 45px rgba(0, 119, 255, 0.16);

  /* Dimensions & Spacing */
  --header-height: 80px;
  --topbar-height: 40px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 10px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   SCROLLBAR REMOVAL (abhimo.com standard)
   ========================================================= */
html,
body,
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  box-sizing: border-box;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Base Setup */
html {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  overflow-x: clip;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  position: relative;
  line-height: 1.7;
  color: var(--text-body);
  overflow-x: clip;
  width: 100%;
}

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

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

/* Typography Standards */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.text-gradient {
  background: linear-gradient(135deg, #0077ff 0%, #00d2ff 35%, #005eff 70%, #0099ff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: gradientFlow 6s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.text-justify {
  text-align: justify;
  line-height: 1.8;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
}

/* =========================================================
   BACKGROUND CIRCLES (Directly from abhimo.com)
   ========================================================= */
.bg-circle {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
}

.circle1 {
  width: 450px;
  height: 450px;
  background: #00d2ff;
  top: -120px;
  left: -120px;
  animation: orbDrift1 18s ease-in-out infinite alternate;
}

.circle2 {
  width: 550px;
  height: 550px;
  background: #3a7bd5;
  bottom: -150px;
  right: -150px;
  animation: orbDrift2 22s ease-in-out infinite alternate;
}

.circle3 {
  width: 380px;
  height: 380px;
  background: #2563eb;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.22;
  animation: orbDrift1 25s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(45px, -35px) scale(1.08);
  }

  100% {
    transform: translate(-30px, 40px) scale(0.95);
  }
}

@keyframes orbDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-40px, 35px) scale(1.06);
  }

  100% {
    transform: translate(35px, -45px) scale(0.96);
  }
}

/* Scroll Progress Indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary-gradient);
  z-index: 99999;
  box-shadow: 0 0 10px rgba(0, 119, 255, 0.6);
  transition: width 0.1s ease-out;
}

/* =========================================================
   TOP BAR & CUSTOM NAVBAR (abhimo.com Style)
   ========================================================= */
/* =========================================================
   REDESIGNED MODERN ENGINEERING HEADER / NAVBAR
   Reference-based Precision Engineering UI
   ========================================================= */

/* Top Utility Bar */
.top-bar {
  background: #F0F6FF;
  border-bottom: 1px solid rgba(0, 119, 255, 0.12);
  font-size: 0.78rem;
  color: #334155;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: #0F172A;
}

.top-bar-sep {
  color: #94A3B8;
  margin: 0 0.2rem;
}

.top-bar-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: #CBD5E1;
  margin: 0 0.6rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1E293B;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar-link:hover {
  color: #0066FF;
}

/* Sticky Custom Navbar */
.custom-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  background-color: #ffffff;
  /* Subtle Hairline CAD Blueprint Grid Pattern on Edges */
  background-image:
    linear-gradient(to right, rgba(0, 119, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 119, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid rgba(0, 119, 255, 0.12);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
  z-index: 1000;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.custom-navbar.scrolled {
  height: 72px;
  box-shadow: 0 8px 30px rgba(0, 119, 255, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.5rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Brand Logo & Corporate Tagline */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0 !important;
}

.brand-logo-badge {
  height: 46px;
  border-radius: 12px;
  background: #1d4ed8;
  /* Caltronics logo blue */
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.brand-logo-badge img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-brand:hover .brand-logo-badge {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.logo-texts {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo-texts h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0A2540;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-texts span {
  font-size: 0.68rem;
  color: #0066FF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  white-space: nowrap;
  margin-top: 2px;
}

/* Navigation Items System */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-icon {
  width: 16px;
  height: 16px;
  color: #64748B;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.nav-arrow {
  width: 13px;
  height: 13px;
  color: #94A3B8;
  margin-left: 0.1rem;
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

.nav-item:hover {
  background: rgba(0, 119, 255, 0.06);
  color: #0066FF;
}

.nav-item:hover .nav-icon {
  color: #0066FF;
  transform: translateY(-1px);
}

.nav-item:hover .nav-arrow {
  color: #0066FF;
}

/* Active Nav State: Soft Blue Rounded Pill */
.nav-item.active,
.nav-item-pill.active {
  background: #EBF3FF !important;
  color: #0066FF !important;
  font-weight: 700 !important;
  border-color: rgba(0, 119, 255, 0.15) !important;
}

.nav-item.active .nav-icon,
.nav-item-pill.active .nav-icon {
  color: #0066FF !important;
}

.nav-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: #CBD5E1;
  margin: 0 0.25rem;
  flex-shrink: 0;
}

/* Navigation Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.16);
  border-radius: 18px;
  padding: 0.6rem;
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1002;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

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

.nav-dropdown:hover>.nav-item {
  background: #EBF3FF !important;
  color: #0066FF !important;
  border-color: rgba(0, 119, 255, 0.15) !important;
}

.nav-dropdown:hover>.nav-item .nav-icon,
.nav-dropdown:hover>.nav-item .nav-arrow {
  color: #0066FF !important;
}

/* Services & Instruments Dropdown Cards (Premium Flexbox Layout) */
.dropdown-link-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.85rem !important;
  padding: 0.75rem 0.85rem !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.dropdown-link-card:hover {
  background: #F8FAFC !important;
  border-color: rgba(0, 102, 255, 0.3) !important;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.08) !important;
  transform: translateY(-1px) !important;
}

.dropdown-icon-wrap {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.dropdown-link-card:hover .dropdown-icon-wrap {
  transform: scale(1.08) !important;
}

.dropdown-title {
  display: block !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1.25 !important;
  margin-bottom: 0.2rem !important;
  transition: color 0.2s ease !important;
}

.dropdown-link-card:hover .dropdown-title {
  color: #0066FF !important;
}

.dropdown-desc {
  display: block !important;
  font-size: 0.73rem !important;
  color: #64748B !important;
  line-height: 1.35 !important;
  font-weight: 450 !important;
}

/* Services Dropdown Menu (2-Column 8 Services Grid) */
.services-dropdown-menu {
  width: 630px !important;
  max-width: 95vw !important;
  padding: 1rem !important;
  border-radius: 22px !important;
  border: 1px solid rgba(0, 119, 255, 0.18) !important;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.16) !important;
}

.services-dropdown-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.55rem !important;
}

/* Instruments Dropdown Menu (6 Instrument Categories) */
.instruments-dropdown-menu {
  width: 360px !important;
  max-width: 95vw !important;
  padding: 0.85rem !important;
  border-radius: 20px !important;
  border: 1px solid rgba(0, 119, 255, 0.18) !important;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.16) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
}

/* Mega Dropdown Menu for Divisions (Exact Reference UI) */
.mega-dropdown-menu {
  width: 890px;
  max-width: 95vw;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 119, 255, 0.18);
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.16);
}

.mega-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 119, 255, 0.18);
  border-left: 1px solid rgba(0, 119, 255, 0.18);
  z-index: 1003;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

/* Left Promo Panel (Upgraded Deep Navy-Blue Corporate Gradient) */
.mega-left-panel {
  background: linear-gradient(135deg, #0F172A 0%, #0044BB 100%);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 102, 255, 0.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.mega-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.mega-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.mega-desc {
  font-size: 0.82rem;
  color: #CBD5E1;
  line-height: 1.48;
  margin-bottom: 1.4rem;
}

.mega-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  border-radius: 9999px;
  background: #0066FF;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
  transition: all 0.22s ease;
}

.mega-cta-btn:hover {
  background: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
}

/* Right 6-Card Grid */
.mega-right-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.mega-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.mega-card:hover {
  background: #F8FAFC;
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
  transform: translateY(-1px);
}

.mega-card-img {
  width: 68px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
}

.mega-card-body {
  flex-grow: 1;
  min-width: 0;
}

.mega-card-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.mega-card:hover .mega-card-title {
  color: #0066FF;
}

.mega-card-sub {
  display: block;
  font-size: 0.73rem;
  color: #64748B;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-card-arrow {
  color: #94A3B8;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mega-card:hover .mega-card-arrow {
  color: #0066FF;
  transform: translateX(3px);
}

/* Mega Footer Bar */
.mega-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mega-footer-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mega-stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mega-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EBF3FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066FF;
  flex-shrink: 0;
}

.mega-stat-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.mega-stat-lbl {
  display: block;
  font-size: 0.68rem;
  color: #64748B;
  font-weight: 500;
}

.mega-footer-help {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}

.mega-footer-help a {
  color: #0066FF;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-footer-help a:hover {
  text-decoration: underline;
}

.dropdown-title {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

.dropdown-desc {
  display: block;
  font-size: 0.73rem;
  color: #64748B;
  margin-top: 1px;
}

/* Premium "Request a Quote" Header Button */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0077FF 0%, #0055FF 100%);
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 119, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0 !important;
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, #0066FF 0%, #0044EE 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.5);
}

.btn-header-cta .cta-arrow {
  transition: transform 0.25s ease;
}

.btn-header-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* =========================================================
   BUTTONS (abhimo.com Standard)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.hero-btn,
.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 119, 255, 0.3);
}

.hero-btn:hover,
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 119, 255, 0.45);
  filter: brightness(1.05);
}

.hero-btn-outline,
.btn-outline {
  background: #ffffff;
  border: 1.5px solid rgba(0, 119, 255, 0.25);
  color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.hero-btn-outline:hover,
.btn-outline:hover {
  background: rgba(0, 119, 255, 0.06);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.15);
}

.btn-emerald {
  background: var(--secondary-gradient);
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.45);
}

/* =========================================================
   HERO SECTION (abhimo.com Standard)
   ========================================================= */
/* =========================================================
   HERO SECTION & NATIVE GRID ARCHITECTURE
   Robust, Self-Contained Grid - Zero Tailwind Dependency
   ========================================================= */
.hero-section {
  padding: clamp(35px, 6vw, 85px) 0 clamp(40px, 5vw, 75px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: center;
  position: relative;
}

.hero-content-col {
  min-width: 0;
  z-index: 2;
}

.hero-visual-col {
  min-width: 0;
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.22);
  color: var(--primary-color);
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 119, 255, 0.08);
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  text-align: left;
  transition: var(--transition-smooth);
}

.hero-badge:hover {
  background: rgba(0, 119, 255, 0.14);
  border-color: rgba(0, 119, 255, 0.4);
  transform: translateY(-2px);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4.8vw + 0.2rem, 3.5rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-text {
  font-size: clamp(0.92rem, 1.1vw + 0.35rem, 1.05rem);
  color: var(--text-body);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

/* Multi-Axis Floating Showcase Card */
.hero-visual-card {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.18);
  border-radius: var(--border-radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 25px 60px rgba(0, 119, 255, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-visual-card.floating {
  animation: floatLevitate 5.5s ease-in-out infinite;
}

@keyframes floatLevitate {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-13px) rotate(0.4deg);
  }
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

/* Hero Showcase Auto-Carousel System */
.hero-carousel-frame {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: #f8fbff;
  border: 1px solid rgba(0, 119, 255, 0.12);
  width: 100%;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: clamp(250px, 32vw, 380px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #f1f5f9;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-slide.active .hero-showcase-img {
  transform: scale(1.04);
}

.hero-slide-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.badge-model {
  display: inline-block;
  background: rgba(0, 119, 255, 0.92);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.35);
  backdrop-filter: blur(8px);
}

.hero-slide-overlay {
  position: absolute;
  bottom: clamp(10px, 2vw, 16px);
  left: clamp(10px, 2vw, 16px);
  right: clamp(10px, 2vw, 16px);
  padding: clamp(0.7rem, 1.8vw, 1rem) clamp(0.85rem, 2vw, 1.25rem);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 119, 255, 0.16);
  box-shadow: 0 15px 35px rgba(8, 32, 50, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 3;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, opacity 0.5s ease 0.12s;
}

.hero-slide.active .hero-slide-overlay {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide-info {
  min-width: 0;
  flex: 1;
}

.hero-slide-cat {
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-slide-title {
  font-size: clamp(0.78rem, 1.2vw, 0.96rem);
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Carousel Navigation Arrows */
.hero-carousel-prev,
.hero-carousel-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 119, 255, 0.2);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.hero-carousel-prev {
  left: 10px;
}

.hero-carousel-next {
  right: 10px;
}

.hero-carousel-frame:hover .hero-carousel-prev,
.hero-carousel-frame:hover .hero-carousel-next {
  opacity: 1;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 119, 255, 0.4);
}

/* Progress Indicator Dots */
.hero-carousel-dots {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 119, 255, 0.35);
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 119, 255, 0.5);
}

@media (max-width: 640px) {

  .hero-carousel-prev,
  .hero-carousel-next {
    opacity: 0.85;
    width: 30px;
    height: 30px;
  }
}

/* =========================================================
   NATIVE SECTION GRIDS (Mobile, Tablet, Laptop, Desktop)
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.featured-instruments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.govt-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
}

/* =========================================================
   SCROLL REVEAL & MICRO-ANIMATION SUITE
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* Interactive Shimmer Sweep */
.shimmer-card {
  position: relative;
  overflow: hidden;
}

.shimmer-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.shimmer-card:hover::after {
  animation: shimmerSweep 1.1s ease-in-out;
}

@keyframes shimmerSweep {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* Pulsing Beacon */
.pulse-beacon {
  position: relative;
}

.pulse-beacon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--primary-color);
  animation: beaconWave 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes beaconWave {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Touch & Click Feedback */
.btn {
  transform: translateZ(0);
  will-change: transform;
}

.btn:active {
  transform: scale(0.96) !important;
}

.division-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  will-change: transform, box-shadow;
}

.division-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 119, 255, 0.16);
  border-color: rgba(0, 119, 255, 0.35);
}

.division-card:active {
  transform: scale(0.98);
}

/* =========================================================
   STATS BOX SECTION (abhimo.com Standard)
   ========================================================= */
.stats-box {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.12);
  border-radius: var(--border-radius-md);
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stats-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.stats-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(0, 119, 255, 0.35);
}

.stats-box:hover::before {
  opacity: 1;
}

.stats-box h2,
.stats-box .counter {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.8rem);
  font-weight: 800;
  color: var(--primary-color);
  display: inline;
  line-height: 1;
}

.stats-box span {
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 2.2rem);
  font-weight: 800;
  color: var(--primary-color);
}

.stats-box p {
  color: var(--text-main);
  font-weight: 600;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  margin-top: 0.75rem;
  text-transform: capitalize;
}

.stats-box .stat-sub {
  color: var(--text-muted);
  font-size: clamp(0.72rem, 1vw, 0.8rem);
  margin-top: 0.2rem;
}

/* =========================================================
   CARDS & SURFACES (Glass Panels abhimo.com)
   ========================================================= */
.glass-panel {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px);
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw + 0.4rem, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-body);
  font-size: clamp(0.92rem, 1.2vw + 0.4rem, 1.05rem);
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Division Cards */
.division-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.division-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.2);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.division-card:hover .division-icon-wrap {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.35);
}

/* Service Cards (100% Authentic from Our Services.docx) */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 119, 255, 0.12);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px rgba(8, 32, 50, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 119, 255, 0.14);
  border-color: rgba(0, 119, 255, 0.32);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.25);
}

.service-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: inline-block;
}

/* =========================================================
   TIMELINE (Inspection & Certification Workflow)
   ========================================================= */
.timeline-track {
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, #0099ff, #005eff, #10b981);
  border-radius: 3px;
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-node {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-dot {
  position: absolute;
  left: 17px;
  top: 1.5rem;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.5);
  z-index: 2;
  transition: var(--transition-smooth);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-node:hover .timeline-dot {
  transform: scale(1.3);
  background: var(--primary-color);
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 119, 255, 0.8);
}

@media (min-width: 768px) {
  .timeline-node:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
  }
}

/* =========================================================
   CLIENTS MARQUEE
   ========================================================= */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 2rem;
  position: relative;
  padding: 1.5rem 0;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-main), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-main), transparent);
}

.marquee-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2.5rem;
  min-width: 100%;
  animation: scrollMarquee 35s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track.marquee-reverse {
  animation-direction: reverse;
}

.text-justify-relaxed {
  text-align: justify;
  line-height: 1.8;
}

@keyframes scrollMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 2.5rem));
  }
}

.client-logo-card {
  width: 160px;
  height: 90px;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  transition: var(--transition-smooth);
}

.client-logo-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 119, 255, 0.15);
}

.client-logo-card:hover img {
  filter: none;
}

/* =========================================================
   MODALS & FORMS (abhimo.com Standard)
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 32, 50, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.modal-content {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: var(--border-radius-lg);
  max-width: 740px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 119, 255, 0.25);
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-smooth);
}

.modal-content.modal-specs-wide {
  max-width: 860px;
  width: 95%;
  max-height: 88vh;
  padding: clamp(1.25rem, 2.8vw, 2.25rem);
}

.specs-item-card {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid rgba(0, 119, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-fast);
}

.specs-item-card:hover {
  background: #ffffff;
  border-color: rgba(0, 119, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.08);
}

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

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

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid rgba(0, 119, 255, 0.15);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.2);
}

/* Modal Overlay & Responsive Content */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 32, 50, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-content {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: var(--border-radius-lg);
  max-width: 740px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  box-shadow: 0 25px 60px rgba(0, 119, 255, 0.25);
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-smooth);
}

/* =========================================================
   RESPONSIVE NAVIGATION DRAWER & MEDIA QUERIES
   ========================================================= */

/* Mobile Toggle Button (44px Accessible Touch Target) */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.2);
  color: var(--primary-color);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  touch-action: manipulation;
  z-index: 1002;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  outline: none;
}

/* Mobile Nav Backdrop Overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 32, 50, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Tablet & Mobile Navigation Breakpoint (<= 1150px) */
@media (max-width: 1150px) {
  .custom-navbar {
    height: 72px;
  }

  .custom-navbar.scrolled {
    height: 64px;
  }

  .mobile-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1002;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 119, 255, 0.15);
    box-shadow: 0 25px 50px rgba(8, 32, 50, 0.2);
    flex-direction: column;
    padding: 1.25rem 1rem 2.5rem;
    gap: 0.4rem;
    align-items: stretch;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    display: flex;
  }

  .custom-navbar.scrolled .nav-menu {
    top: 64px;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
  }

  .nav-menu.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu .nav-item {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    border: 1px solid #F1F5F9;
    background: #F8FAFC;
    width: 100%;
  }

  .nav-menu .nav-item:hover,
  .nav-menu .nav-item.active {
    background: #EBF3FF !important;
    border-color: rgba(0, 119, 255, 0.2) !important;
    color: #0066FF !important;
  }

  /* Universal Dropdown Accordion in Mobile Drawer */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .nav-dropdown-menu,
  .nav-dropdown .services-dropdown-menu,
  .nav-dropdown .mega-dropdown-menu,
  .nav-dropdown .instruments-dropdown-menu {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 119, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 0.6rem !important;
    box-shadow: none !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin-top: 0.35rem !important;
  }

  .nav-dropdown.dropdown-open .nav-dropdown-menu,
  .nav-dropdown.dropdown-open .services-dropdown-menu,
  .nav-dropdown.dropdown-open .mega-dropdown-menu,
  .nav-dropdown.dropdown-open .instruments-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
  }

  .nav-dropdown.dropdown-open .mega-menu-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .nav-dropdown.dropdown-open .mega-left-panel {
    padding: 0.85rem !important;
    border-radius: 12px !important;
  }

  .nav-dropdown.dropdown-open .mega-right-grid,
  .nav-dropdown.dropdown-open .services-dropdown-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
  }

  .nav-dropdown.dropdown-open .mega-footer {
    display: none !important;
  }

  .nav-dropdown.dropdown-open .dropdown-link-card,
  .nav-dropdown.dropdown-open .mega-card {
    padding: 0.55rem 0.65rem !important;
    border-radius: 10px !important;
    gap: 0.6rem !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
  }

  .nav-dropdown.dropdown-open .dropdown-icon-wrap {
    width: 34px !important;
    height: 34px !important;
  }

  .nav-dropdown.dropdown-open .nav-arrow {
    transform: rotate(180deg);
  }

  .nav-menu [data-modal-open],
  .nav-menu .btn-header-cta {
    width: 100% !important;
    min-height: 46px !important;
    margin-top: 0.5rem !important;
    justify-content: center !important;
  }
}

/* =========================================================
   RESPONSIVE LAYOUT ENGINE (Laptop, Tablet, Mobile)
   ========================================================= */

/* Laptops & Standard Desktops (1025px - 1280px) */
@media (max-width: 1280px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }

  .divisions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

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

/* Compact Laptops & Large Tablets (992px - 1100px) */
@media (max-width: 1100px) {
  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .govt-feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Tablet Screens (768px - 991px) */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    text-align: left;
  }

  .hero-visual-col {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

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

  .govt-feature-grid {
    grid-template-columns: 1fr;
  }

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

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  .custom-navbar {
    height: 64px;
  }

  .custom-navbar.scrolled {
    height: 60px;
  }

  .custom-navbar .nav-menu {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  .custom-navbar.scrolled .nav-menu {
    top: 60px;
    max-height: calc(100vh - 60px);
  }

  .top-bar {
    height: auto;
    padding: 0.35rem 0;
    font-size: 0.72rem;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar-right {
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    font-size: 0.74rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .divisions-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .featured-instruments-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .marquee-container::before,
  .marquee-container::after {
    width: 45px;
  }

  .hero-btn-group,
  .hero-section .flex.flex-wrap {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-btn-group .btn,
  .hero-section .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }
}

/* Extra-Compact Mobile (320px - 480px) */
@media (max-width: 480px) {
  .brand-logo-badge {
    height: 38px;
    padding: 2px 6px;
    flex-shrink: 0;
  }

  .brand-logo-badge img {
    height: 28px;
  }

  .logo-texts h1 {
    font-size: 0.88rem;
  }

  .logo-texts span {
    display: none;
  }

  .logo-brand {
    gap: 0.45rem;
  }

  .mobile-toggle {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
}

@media (max-width: 360px) {
  .logo-texts span {
    display: none;
  }
}

/* Large Displays & 4K (1920px - 2560px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1560px;
    padding: 0 2.5rem;
  }

  .circle1 {
    width: 650px;
    height: 650px;
  }

  .circle2 {
    width: 750px;
    height: 750px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Corporate Footer */
.footer-corporate {
  background: #081628;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-corporate h2,
.footer-corporate h4 {
  color: #ffffff;
}

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

.footer-corporate a:hover {
  color: #38bdf8;
}

/* =========================================================
   OUR OFFICES COMPONENT (Main Office & Registered Office)
   Corporate Clean, Data-Driven & Fully Responsive
   ========================================================= */

.offices-section {
  position: relative;
  z-index: 20;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .offices-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.office-card {
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.14);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 10px 30px rgba(0, 119, 255, 0.04);
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  animation: officeCardFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes officeCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.office-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0.95;
}

.office-card.card-registered::before {
  background: var(--secondary-gradient);
}

.office-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(0, 119, 255, 0.12);
  border-color: rgba(0, 119, 255, 0.35);
}

.office-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.75rem;
}

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(0, 119, 255, 0.08);
  color: var(--primary-color);
  border: 1px solid rgba(0, 119, 255, 0.2);
}

.office-badge.badge-registered {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.office-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f7ff;
  border: 1px solid rgba(0, 119, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.office-card.card-registered .office-icon-wrapper {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.2);
  color: #059669;
}

.office-card:hover .office-icon-wrapper {
  transform: scale(1.08);
}

/* Subtle Location Pin Ripple Effect */
.office-pin-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.office-pin-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 119, 255, 0.25);
  animation: officePinPulse 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.office-card.card-registered .office-pin-pulse::after {
  background: rgba(16, 185, 129, 0.25);
}

@keyframes officePinPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.8;
  }

  65% {
    transform: translate(-50%, -50%) scale(1.7);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.7);
    opacity: 0;
  }
}

.office-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #082032;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.office-address-lines {
  background: #f8fbff;
  border: 1px solid rgba(0, 119, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #334155;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.office-card:hover .office-address-lines {
  background: #f0f7ff;
  border-color: rgba(0, 119, 255, 0.16);
}

.office-address-lines .line-1 {
  font-weight: 600;
  color: #0f172a;
}

.office-address-lines .line-2 {
  color: #475569;
}

.office-address-lines .city-state {
  font-weight: 600;
  color: #1e293b;
  margin-top: 0.25rem;
}

.office-address-lines .country {
  display: inline-block;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.office-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}

.office-meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #475569;
}

.office-meta-item strong {
  color: #1e293b;
  min-width: 54px;
}

.office-meta-item a {
  color: var(--primary-color);
  font-weight: 500;
}

.office-meta-item a:hover {
  text-decoration: underline;
}

/* Map Action Slot (Extensible for when map coordinates are available) */
.office-map-action {
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.office-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: rgba(0, 119, 255, 0.08);
  color: var(--primary-color);
  border: 1px solid rgba(0, 119, 255, 0.2);
  transition: var(--transition-smooth);
}

.office-map-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.office-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

.office-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .office-pin-pulse::after {
    animation: none !important;
  }

  .office-card:hover {
    transform: none !important;
  }

  .office-card {
    transition: none !important;
  }
}

/* =========================================================
   HERO BACKGROUND VIDEO (Landing Page)
   Scoped under .hero-bg-video class only
   ========================================================= */
.hero-section.has-bg-video {
  min-height: 580px;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-video-overlay-landing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(8, 32, 50, 0.55) 0%,
      rgba(8, 32, 50, 0.12) 22%,
      rgba(8, 32, 50, 0.12) 78%,
      rgba(8, 32, 50, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video~.container {
  position: relative;
  z-index: 2;
}

.hero-bg-video~.container .hero-content-col {
  background: rgba(8, 32, 50, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 28px;
  padding: 2.25rem 2rem;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* High-contrast ultra-visible hero text rules for video background */
.hero-bg-video~.container .hero-title,
.hero-section.has-bg-video .hero-title,
.hero-section.has-bg-video h1.hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85) !important;
}

.hero-bg-video~.container .hero-subtitle,
.hero-section.has-bg-video .hero-subtitle,
.hero-section.has-bg-video h3.hero-subtitle {
  color: #38BDF8 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75) !important;
}

.hero-bg-video~.container .hero-text,
.hero-section.has-bg-video .hero-text,
.hero-section.has-bg-video p.hero-text {
  color: #F1F5F9 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75) !important;
}

.hero-bg-video~.container .hero-badge,
.hero-section.has-bg-video .hero-badge {
  background: rgba(6, 42, 67, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  color: #E0F2FE !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3) !important;
}

.hero-section.has-bg-video .text-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #60A5FA 50%, #93C5FD 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

/* Mobile-specific hero video & layout adjustments (<= 768px) */
@media (max-width: 768px) {
  .hero-section.has-bg-video {
    min-height: 650px;
    height: auto;
    position: relative;
    overflow: hidden;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-section.has-bg-video .hero-bg-video {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 0;
    pointer-events: none;
  }

  .hero-video-overlay-landing {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(6, 30, 49, 0.38) 0%,
        rgba(6, 30, 49, 0.15) 50%,
        rgba(6, 30, 49, 0.45) 100%) !important;
    z-index: 1;
    pointer-events: none;
  }

  .hero-bg-video~.container .hero-content-col {
    background: rgba(6, 26, 42, 0.32) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 20px !important;
    padding: 1.5rem 1.25rem !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }

  /* Mobile Hero Typography Fix (Left-aligned, bright white, normal word spacing) */
  .hero-bg-video~.container .hero-text,
  .hero-section .hero-text,
  .hero-text {
    color: #F1F5F9 !important;
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    line-height: 1.6 !important;
    font-size: 0.9rem !important;
    margin-bottom: 1.25rem !important;
  }
}

@media (max-width: 991px) {

  .hero-text,
  .hero-section .hero-text,
  .hero-bg-video~.container .hero-text {
    color: #F1F5F9 !important;
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
  }
}




/* =========================================================
   UNIVERSAL HERO CONTENT PANEL & DIVISION BADGES SYSTEM
   High-specificity & !important rules to guarantee zero UI breaking
   ========================================================= */
.hero-content-panel,
.hero-video-section .hero-content-panel {
  background: rgba(6, 42, 67, 0.65) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 28px !important;
  padding: 2.75rem 2.25rem !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  z-index: 10 !important;
}

@media (max-width: 640px) {

  .hero-content-panel,
  .hero-video-section .hero-content-panel {
    padding: 1.75rem 1.25rem !important;
    border-radius: 20px !important;
  }
}

/* Universal Division Pill Badges */
.badge-certification,
.badge-instruments,
.badge-government,
.badge-clients,
.badge-calibration,
.badge-inspection {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.45rem 1.25rem !important;
  border-radius: 9999px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.3s ease !important;
}

.badge-certification,
.badge-inspection {
  background: rgba(6, 42, 67, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #E0F2FE !important;
}

.badge-certification i,
.badge-certification svg,
.badge-inspection i,
.badge-inspection svg {
  color: #38BDF8 !important;
}

.badge-instruments {
  background: rgba(6, 47, 58, 0.75) !important;
  border: 1px solid rgba(45, 212, 191, 0.45) !important;
  color: #CCFBF1 !important;
}

.badge-instruments i,
.badge-instruments svg {
  color: #2DD4BF !important;
}

.badge-government {
  background: rgba(5, 46, 43, 0.75) !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
  color: #E0F2F1 !important;
}

.badge-government i,
.badge-government svg {
  color: #34D399 !important;
}

.badge-clients {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(96, 165, 250, 0.45) !important;
  color: #E2E8F0 !important;
}

.badge-clients i,
.badge-clients svg {
  color: #60A5FA !important;
}

.badge-calibration {
  background: rgba(30, 27, 75, 0.75) !important;
  border: 1px solid rgba(167, 139, 250, 0.45) !important;
  color: #EDE9FE !important;
}

.badge-calibration i,
.badge-calibration svg {
  color: #A78BFA !important;
}

/* Hero Feature Pills (Glassmorphic Badges inside Hero Panels) */
.hero-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.45rem 1rem !important;
  border-radius: 9999px !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.hero-pill-blue {
  background: rgba(14, 165, 233, 0.22) !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  color: #E0F2FE !important;
}

.hero-pill-blue i,
.hero-pill-blue svg {
  color: #38BDF8 !important;
}

.hero-pill-teal {
  background: rgba(20, 184, 166, 0.22) !important;
  border: 1px solid rgba(45, 212, 191, 0.5) !important;
  color: #CCFBF1 !important;
}

.hero-pill-teal i,
.hero-pill-teal svg {
  color: #2DD4BF !important;
}

.hero-pill-purple {
  background: rgba(139, 92, 500, 0.22) !important;
  border: 1px solid rgba(167, 139, 250, 0.5) !important;
  color: #EDE9FE !important;
}

.hero-pill-purple i,
.hero-pill-purple svg {
  color: #A78BFA !important;
}



/* =========================================================
   WHATSAPP CHAT WIDGET
   ========================================================= */
.wa-widget {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: 'Inter', 'Poppins', sans-serif;
}

.wa-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  min-width: 56px;
  padding: 0 18px 0 14px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: waPulse 2.6s ease-out infinite;
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.03);
}

.wa-fab-label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.wa-open .wa-fab {
  animation: none;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .55);
  }

  70% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-panel {
  width: min(360px, calc(100vw - 36px));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(8, 32, 50, 0.28);
  border: 1px solid rgba(8, 32, 50, 0.08);
}

.wa-panel[hidden] {
  display: none;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #075e54;
  color: #fff;
}

.wa-head-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-head-icon svg {
  width: 24px;
  height: 24px;
}

.wa-head-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
  flex: 1;
}

.wa-head-text strong {
  font-size: 0.95rem;
}

.wa-head-text small {
  font-size: 0.7rem;
  opacity: 0.85;
}

.wa-close {
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
}

.wa-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.wa-body {
  padding: 14px 16px 12px;
  background: #efeae2;
}

.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #1f2937;
  line-height: 1.5;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.wa-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.wa-message {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
  resize: vertical;
  background: #fff;
  color: #0f172a;
  margin-bottom: 10px;
}

.wa-message:focus {
  outline: 2px solid #25d366;
  outline-offset: 1px;
}

.wa-branches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-branch {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "n go" "p go";
  align-items: center;
  text-align: left;
  gap: 0 10px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #d1fae5;
  border-left: 4px solid #25d366;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.wa-branch:hover {
  background: #ecfdf5;
  transform: translateX(2px);
}

.wa-branch-name {
  grid-area: n;
  font-weight: 700;
  font-size: 0.85rem;
  color: #064e3b;
}

.wa-branch-num {
  grid-area: p;
  font-size: 0.72rem;
  color: #475569;
  font-family: ui-monospace, monospace;
}

.wa-branch-go {
  grid-area: go;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
}

.wa-foot {
  padding: 8px 16px;
  font-size: 0.66rem;
  color: #64748b;
  text-align: center;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 520px) {
  .wa-fab-label {
    display: none;
  }

  .wa-fab {
    padding: 0;
    width: 56px;
    justify-content: center;
  }
}

/* =========================================================
   INQUIRY FORM
   ========================================================= */
.inq-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inq-note {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}

.inq-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.inq-error a,
.inq-link {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: underline;
}

.inq-success {
  text-align: center;
  padding: 28px 12px;
}

.inq-success[hidden],
.inq-form[hidden],
.inq-error[hidden] {
  display: none;
}

.inq-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inq-success h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #082032;
  margin-bottom: 8px;
}

.inq-success-msg {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Home page inquiry section: branch cards */
.inq-branch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0, 119, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.06);
}

.inq-branch-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #082032;
  margin: 0;
}

.inq-branch-card small {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.inq-branch-card .num {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.inq-branch-actions {
  display: flex;
  gap: 8px;
}

.inq-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  background: #fff;
}

.inq-mini-btn.wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.inq-mini-btn:hover {
  filter: brightness(0.96);
}

/* =========================================================
   VIEW-ONLY CERTIFICATES
   ========================================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.cert-card {
  background: #fff;
  border: 1px solid rgba(0, 119, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 119, 255, 0.15);
}

.cert-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  cursor: zoom-in;
  background: linear-gradient(135deg, #eef6fc, #f8fbff);
}

.cert-thumb img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(8, 32, 50, 0.18);
  background: #fff;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.cert-thumb-shield {
  position: absolute;
  inset: 0;
}

/* invisible layer: blocks "save image" on the thumbnail */
.cert-thumb-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(8, 32, 50, 0.85);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.cert-meta {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cert-meta h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #082032;
  margin: 0;
}

.cert-sub {
  font-size: 0.78rem;
  color: #2563eb;
  font-weight: 600;
  margin: 0 0 6px;
}

.cert-line {
  font-size: 0.72rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.cert-valid {
  color: #059669;
  font-weight: 600;
}

.cert-valid {
  margin-bottom: 14px !important;
}

.cert-view-btn {
  margin-top: auto;
  align-self: flex-start;
}

.cert-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 20, 34, 0.985);
  display: flex;
  flex-direction: column;
}

.cert-viewer[hidden] {
  display: none;
}

.cert-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-viewer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.9rem;
}

.cert-viewer-badge {
  background: #f59e0b;
  color: #1f1300;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

.cert-viewer-tools {
  display: flex;
  gap: 6px;
}

.cert-viewer-tools button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}

.cert-viewer-tools button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cert-stage {
  flex: 1;
  overflow: auto;
  padding: 18px;
  display: block;
  -webkit-overflow-scrolling: touch;
}

.cert-frame {
  position: relative;
  width: min(820px, calc(100vw - 40px));
  margin: 0 auto;
  transition: width .15s ease;
}

.cert-img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.cert-shield {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  z-index: 2;
}

/* watermark + blocks right-click/long-press on the image */
.cert-viewer-foot {
  padding: 8px 16px;
  text-align: center;
  font-size: .68rem;
  color: rgba(255, 255, 255, 0.65);
}

@media print {

  .cert-viewer,
  .cert-thumb img,
  .cert-img {
    display: none !important;
  }
}