/* =========================================================
   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: hidden;
}

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: hidden;
  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)
   ========================================================= */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 119, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-muted);
  height: var(--topbar-height);
  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: 1.25rem;
}

.top-bar a:hover {
  color: var(--primary-color);
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.2);
  color: var(--primary-color);
  font-size: 0.76rem;
  font-weight: 600;
}

.badge-pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* Sticky Custom Navbar */
.custom-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 119, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 119, 255, 0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.custom-navbar.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 119, 255, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.75rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo-badge {
  height: 48px;
  border-radius: 12px;
  background: #3f474b;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-badge img {
  height: 38px;
  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.2);
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 119, 255, 0.35);
}

.logo-texts {
  min-width: 0;
}

.logo-texts h1 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-texts span {
  font-size: 0.72rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

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

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid rgba(0, 119, 255, 0.15);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgba(0, 119, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1002;
}

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

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.nav-dropdown-item:hover {
  background: rgba(0, 119, 255, 0.08);
  color: var(--primary-color);
  padding-left: 1.25rem;
}

/* =========================================================
   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: grayscale(85%) opacity(0.85);
  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: grayscale(0%) opacity(1);
}

/* =========================================================
   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) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 119, 255, 0.15);
    box-shadow: 0 25px 50px rgba(8, 32, 50, 0.18);
    flex-direction: column;
    padding: 1.5rem clamp(1rem, 4vw, 2rem) 2.5rem;
    gap: 0.5rem;
    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;
  }

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

  .nav-menu .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.96rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    border: 1px solid transparent;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(0, 119, 255, 0.08);
    border-color: rgba(0, 119, 255, 0.15);
    color: var(--primary-color);
  }

  .nav-menu .nav-link::after {
    display: none;
  }

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

  .nav-dropdown .nav-dropdown-menu {
    position: static;
    width: 100%;
    background: #f8fbff;
    border: 1px solid rgba(0, 119, 255, 0.1);
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.35rem;
  }

  .nav-dropdown.dropdown-open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-dropdown.dropdown-open .nav-link i[data-lucide="chevron-down"] {
    transform: rotate(180deg);
  }

  .nav-menu [data-modal-open] {
    width: 100%;
    min-height: 44px;
    margin-top: 0.75rem;
    justify-content: center;
  }
}

/* =========================================================
   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) {
  .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;
}
