/* ==========================================================================
   UNITECH RESEARCH SOLUTIONS (URS) - DESIGN SYSTEM & CORE STYLESHEET
   "Where Research Meets Innovation"
   ========================================================================== */

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

/* --- 2. CSS Custom Properties / Tokens --- */
:root {
  /* Brand Primary Colors (Matched with URS Logo Prism Accent) */
  --color-primary: #0284c7;
  --color-primary-rgb: 2, 132, 199;
  --color-primary-hover: #0369a1;
  --color-primary-light: #e0f2fe;
  --color-primary-tint: #f0f9ff;
  
  /* Modern Tech & Scientific Accents */
  --color-cyan: #06b6d4;
  --color-cyan-glow: rgba(6, 182, 212, 0.35);
  --color-indigo: #4f46e5;
  --color-accent: #0ea5e9;
  
  /* Status Colors */
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;
  --color-info: #0284c7;
  
  /* Dark Tech Themes (for Hero, Stats, Headers, Footers) */
  --bg-dark-deep: #060d1a;
  --bg-dark: #0a1329;
  --bg-dark-surface: #111d38;
  --bg-dark-card: #162444;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(14, 165, 233, 0.4);
  
  /* Light Scientific Surface Themes */
  --bg-light: #ffffff;
  --bg-surface-alt: #f8fafc;
  --bg-surface-muted: #f1f5f9;
  --border-light: #e2e8f0;
  --border-light-hover: #cbd5e1;
  
  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light-muted: #94a3b8;
  --text-inverse: #ffffff;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-subheading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -8px rgba(2, 132, 199, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.22);
  
  /* Layout & Geometry */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 3. Base & Resets --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --- 4. Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   INTERACTIVE INVERTED FLUID LENS CURSOR (AGENCY-GRADE TEXT MAGNIFIER)
   ========================================================================== */
.cursor-follower-lens {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ffffff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999999;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  opacity: 0;
  transition: width 0.28s cubic-bezier(0.2, 0, 0.2, 1),
              height 0.28s cubic-bezier(0.2, 0, 0.2, 1),
              opacity 0.2s ease;
  will-change: transform, width, height;
}

.cursor-follower-lens.active {
  opacity: 1;
}

/* Over text/headings: expands to the exact inverted circular lens in the screenshot */
.cursor-follower-lens.text-hover {
  width: 64px;
  height: 64px;
}

/* Over buttons & links: subtle magnetic expansion */
.cursor-follower-lens.link-hover {
  width: 44px;
  height: 44px;
}

/* Clicking effect */
.cursor-follower-lens.clicking {
  transform: translate(-50%, -50%) scale(0.85);
}

/* Disable on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-follower-lens {
    display: none !important;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #00b4d8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-alt {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- 5. Layout & Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: var(--text-inverse);
}

.section-dark .lead,
.section-dark p {
  color: var(--text-light-muted);
}

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

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

/* Section Header Styles */
.section-header {
  margin-bottom: 3.5rem;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary-hover);
  margin-bottom: 1rem;
}

.badge-tag.badge-dark {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-tag.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-tag.badge-amber {
  background: var(--color-warning-bg);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.section-title {
  margin-bottom: 1rem;
}

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

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* --- 6. Buttons & Interactive Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--bg-dark-surface);
  color: #ffffff;
  border: 1px solid var(--border-dark);
}

.btn-dark:hover {
  background: var(--bg-dark-card);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--bg-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--color-cyan-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  color: #ffffff;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.08rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: 0.75rem;
  color: var(--color-primary-hover);
}

/* --- 7. Header, Top Bar & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  transition: all var(--transition-normal);
  border-bottom: 1px solid var(--border-light);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Top Announcement / Accreditation Bar */
.top-bar {
  background: var(--bg-dark-deep);
  color: var(--text-light-muted);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item i {
  color: var(--color-accent);
}

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

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Navbar */
.navbar-main {
  position: relative;
  padding: 0.5rem 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  transition: all var(--transition-fast);
}

.site-header.scrolled .navbar-main {
  padding: 0.35rem 0;
  min-height: 60px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

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

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

.brand-logo img {
  height: 44px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  transition: all var(--transition-fast);
}

.site-header.scrolled .brand-logo img {
  height: 38px;
}

/* Nav Menu Items - Single Line, Never Wraps */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap !important;
  flex-shrink: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link i {
  font-size: 0.68rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link i,
.nav-item.is-open .nav-link i {
  transform: rotate(180deg);
}

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

.header-action-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-cta-btn {
  white-space: nowrap !important;
  padding: 0.5rem 1rem;
  font-size: 0.84rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0284c7 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
  transition: all var(--transition-fast);
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.38);
}

/* Simple Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
  pointer-events: none;
}

/* Invisible Bridge to prevent mouse hover gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -26px;
  left: -20px;
  right: -20px;
  height: 32px;
  background: transparent;
  pointer-events: auto;
  z-index: 10;
}

.nav-item:hover .dropdown-menu,
.nav-item.is-open .dropdown-menu,
.dropdown-menu:hover,
.dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--bg-surface-alt);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

.dropdown-item i {
  color: var(--color-primary);
  width: 18px;
  font-size: 0.88rem;
}

/* Mega Menu for Services */
.nav-item.has-mega-menu {
  position: static !important;
}

.mega-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1020px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(226, 232, 240, 0.85);
  border: 1px solid var(--border-light);
  padding: 1.65rem 2rem 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1100;
  pointer-events: none;
}

/* Hover Tunnel Bridge: ensures cursor never drops out between header and mega menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -45px;
  left: -40px;
  right: -40px;
  height: 50px;
  background: transparent;
  pointer-events: auto;
  z-index: 10;
}

.nav-item.has-mega-menu:hover .mega-menu,
.nav-item.has-mega-menu.is-open .mega-menu,
.mega-menu:hover,
.mega-menu.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

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

.mega-category-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-links li {
  margin-bottom: 0.35rem;
}

.mega-link-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-md);
  color: var(--text-body);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mega-link-item:hover {
  background: var(--color-primary-tint);
  transform: translateX(3px);
  color: var(--color-primary);
}

.mega-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition-fast);
}

.mega-link-item:hover .mega-link-icon {
  background: var(--color-primary);
  color: #ffffff;
}

.mega-link-content {
  display: flex;
  flex-direction: column;
}

.mega-link-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

.mega-link-item:hover .mega-link-title {
  color: var(--color-primary);
}

.mega-link-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.mega-cta-banner {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #111d38 100%);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Mobile Toggle & Mobile Drawer */
.mobile-toggle {
  display: none;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 360px;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: #ffffff;
  z-index: 1200;
  padding: 1.5rem 1.25rem 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  transition: right var(--transition-smooth);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1190;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-close-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all var(--transition-fast);
}

.mobile-close-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.mobile-menu-list .mobile-menu-item {
  margin-bottom: 0.35rem;
}

.mobile-menu-list .mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.75rem;
  min-height: 48px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  border-bottom: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-menu-list .mobile-link:hover {
  color: var(--color-primary);
  background: var(--bg-surface-alt);
}

.mobile-submenu {
  padding-left: 1rem;
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  display: none;
  border-left: 2px solid var(--border-light);
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-submenu a:hover {
  color: var(--color-primary);
  background: var(--color-primary-tint);
}

/* --- 8. Hero Section --- */
/* --- 8. Hero Section: Modern Content-Based Showcase Slider --- */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.28) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.18) 0%, transparent 55%),
              linear-gradient(180deg, rgba(6, 13, 26, 0.85) 0%, rgba(10, 19, 41, 0.98) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
  opacity: 0.35;
}

/* Ambient Luminous Glowing Blobs */
.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  animation: blobFloat 9s ease-in-out infinite alternate;
}

.hero-glow-blob.blob-1 {
  top: 10%;
  right: 12%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
}

.hero-glow-blob.blob-2 {
  bottom: 12%;
  left: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  animation-delay: -4s;
}

@keyframes blobFloat {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(-25px, 20px); }
  100% { transform: scale(0.95) translate(20px, -15px); }
}

/* Slider Master Container & Slide Track */
.hero-slider-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 500px;
}

/* Individual Slide (Inactive state) */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s;
  z-index: 1;
}

/* Active Slide (Displayed with Staggered Entrance Animations) */
.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* 2-Column Responsive Slide Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 690px;
}

/* Badge with Pulse Dot */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
}

.badge-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: badgeDotPulse 2s infinite;
}

@keyframes badgeDotPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.35rem;
  line-height: 1.14;
  font-size: 3.35rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  line-height: 1.72;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.hero-stats-inline {
  display: flex;
  gap: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item h4 {
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.hero-stat-item p {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Staggered Entrance Animations for Active Slide */
.hero-slide.active .hero-badge {
  animation: heroStaggerIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-slide.active .hero-title {
  animation: heroStaggerIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-slide.active .hero-desc {
  animation: heroStaggerIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-slide.active .hero-btns {
  animation: heroStaggerIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-slide.active .hero-stats-inline {
  animation: heroStaggerIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-slide.active .hero-visual {
  animation: heroVisualEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes heroStaggerIn {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroVisualEntrance {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- Hero Visual Card with 3D Parallax & Futuristic Scanlines --- */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.65), 0 0 50px rgba(2, 132, 199, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  background: #0b1329;
}

.hero-img-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Holographic Laser Scanline Animation */
.cyber-laser-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.95) 50%, transparent 100%);
  box-shadow: 0 0 16px #38bdf8, 0 0 35px #0ea5e9;
  z-index: 4;
  opacity: 0.85;
  pointer-events: none;
  animation: cyberneticLaserScan 5s ease-in-out infinite alternate;
}

@keyframes cyberneticLaserScan {
  0% { top: 2%; opacity: 0.25; }
  50% { opacity: 0.95; }
  100% { top: 97%; opacity: 0.25; }
}

/* Floating Glass Telemetry Cards with Optical 3D Space */
.floating-glass-card {
  position: absolute;
  background: rgba(13, 24, 48, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(14, 165, 233, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 5;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.floating-glass-card.top-right {
  top: -18px;
  right: -20px;
  transform: translateZ(40px);
}

.floating-glass-card.bottom-left {
  bottom: -20px;
  left: -20px;
  transform: translateZ(60px);
}

.floating-glass-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(56, 189, 248, 0.35);
}

.card-metric-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.card-metric-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 1px;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
}

/* Radar Beacon Pulse LED */
.live-radar-beacon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
}

.live-radar-beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: radarPulse 1.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Live ECG / Chromatogram Wave Line */
.live-ecg-wave {
  width: 55px;
  height: 20px;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.ecg-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ecg-svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawEcgWave 2.8s linear infinite;
}

@keyframes drawEcgWave {
  0% { stroke-dashoffset: 100; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

/* --- Hero Slider Footer: Pillar Navigation Tabs & Modern Controls --- */
.hero-slider-footer {
  margin-top: 3.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

/* Interactive Pillar Tabs Grid */
.hero-pillar-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  flex-grow: 1;
}

.pillar-tab-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  outline: none;
}

.pillar-tab-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.pillar-tab-item.active {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 4px 22px rgba(2, 132, 199, 0.25);
}

.pillar-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.pillar-tab-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  box-shadow: 0 0 10px #38bdf8;
  transition: width 0.08s linear;
}

.pillar-tab-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pillar-tab-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  font-family: var(--font-heading);
}

.pillar-tab-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-light-muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.pillar-tab-item.active .pillar-tab-name,
.pillar-tab-item:hover .pillar-tab-name {
  color: #ffffff;
}

/* Glassmorphic Slider Controls */
.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.slider-counter {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  display: flex;
  align-items: baseline;
}

.counter-current {
  color: #38bdf8;
  font-size: 1.35rem;
  min-width: 2ch;
  text-align: right;
  display: inline-block;
  font-weight: 800;
}

.counter-divider {
  margin: 0 0.25rem;
  color: rgba(255, 255, 255, 0.3);
}

.counter-total {
  color: var(--text-light-muted);
}

.slider-arrow-group {
  display: flex;
  gap: 0.5rem;
}

.slider-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.slider-arrow-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.5);
  transform: scale(1.06);
}

.slider-arrow-btn:active {
  transform: scale(0.96);
}

/* --- Hero Responsive Breakpoints --- */
@media (max-width: 1220px) {
  .hero-pillar-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.85rem;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-img-card img {
    height: 380px;
  }
  .hero-slider-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 1.5rem;
  }
  .hero-slider-controls {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 5.5rem 0 3.5rem;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-stats-inline {
    gap: 1.25rem;
    flex-wrap: wrap;
  }
  .hero-stat-item h4 {
    font-size: 1.35rem;
  }
  .hero-img-card img {
    height: 300px;
  }
  .floating-glass-card {
    padding: 0.65rem 0.85rem;
    gap: 0.6rem;
  }
  .floating-glass-card.top-right {
    top: -12px;
    right: -8px;
  }
  .floating-glass-card.bottom-left {
    bottom: -12px;
    left: -8px;
  }
  .floating-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
  .card-metric-title {
    font-size: 0.82rem;
  }
  .card-metric-sub {
    font-size: 0.72rem;
  }
  .hero-pillar-tabs {
    grid-template-columns: 1fr;
  }
}

/* --- 9. Stats Counter Banner --- */
.stats-counter-strip {
  background: var(--bg-dark-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.75rem 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-item {
  position: relative;
}

.counter-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-label {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

/* --- 10. Core Capabilities & Service Grid --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

/* Service Card Styles */
.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

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

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
}

.service-title {
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  font-size: 0.75rem;
  background: var(--bg-surface-muted);
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Operational Badge for RT-PCR */
.operational-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--color-warning-bg);
  color: #b45309;
  font-weight: 600;
}

/* --- 11. Interactive Research Workflow Diagram --- */
.workflow-section {
  background-color: var(--bg-dark-deep);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.workflow-pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 2rem;
}

.workflow-pipeline::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, #0284c7, #06b6d4, #10b981, #38bdf8);
  z-index: 1;
}

.workflow-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 0.5rem;
}

.step-bubble {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 2px solid var(--color-primary);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  transition: all var(--transition-normal);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
}

.workflow-step:hover .step-bubble {
  transform: scale(1.15);
  background: var(--color-primary);
  border-color: #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
  margin-bottom: 0.35rem;
}

.step-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

/* --- 12. Research Solutions Dual-Path (Academic vs Industry) --- */
.solution-split-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.solution-split-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.solution-header {
  padding: 2.25rem 2rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.solution-header.academic-theme {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-top: 4px solid var(--color-primary);
}

.solution-header.industry-theme {
  background: linear-gradient(135deg, #0a1329 0%, #162444 100%);
  border-top: 4px solid var(--color-cyan);
  color: #ffffff;
}

.solution-header.industry-theme h3 {
  color: #ffffff;
}

.solution-header.industry-theme p {
  color: var(--text-light-muted);
}

.solution-body {
  padding: 2rem;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.feature-check-list li i {
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* --- 13. Team Profiles & Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.team-card-premium {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.team-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

.team-img-wrap {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface-muted);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.team-card-premium:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-social-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0077b5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.team-social-badge:hover {
  transform: scale(1.15);
  color: #ffffff;
}

.team-info {
  padding: 1.75rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.team-name {
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.team-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.specialty-pill {
  font-size: 0.75rem;
  background: var(--color-primary-light);
  color: var(--color-primary-hover);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* Secondary Specialists Grid */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.specialist-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.specialist-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* --- 14. Facilities Showcase & Instrument Tour --- */
.facility-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.facility-media {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.facility-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.facility-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.facility-content {
  padding: 1.75rem;
}

.instrument-spec-list {
  margin: 1.25rem 0;
}

.instrument-spec-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.instrument-spec-list li i {
  color: var(--color-cyan);
  font-size: 0.85rem;
}

/* --- 15. Research Areas / Disease Model Cards --- */
.disease-model-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.disease-model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.disease-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

/* --- 16. Filter Tabs & Search Bar (Services / Resources) --- */
.filter-search-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill-btn {
  background: var(--bg-surface-alt);
  color: var(--text-secondary);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.filter-pill-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.filter-pill-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.search-input-wrap {
  position: relative;
  min-width: 280px;
}

.search-input-wrap input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  background: var(--bg-surface-alt);
  transition: all var(--transition-fast);
}

.search-input-wrap input:focus {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* --- 17. Interactive Proposal & Contact Form --- */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

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

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-card) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-details h5 {
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.contact-info-details p, .contact-info-details a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.contact-info-details a:hover {
  color: #ffffff;
}

/* --- 18. FAQ Accordion --- */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-primary-light);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: var(--text-main);
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-content {
  display: block;
}

/* --- 19. Footer --- */
.site-footer {
  background: var(--bg-dark-deep);
  color: #ffffff;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.93rem;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.7;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 0.35rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: var(--text-light-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Floating Action Bar (WhatsApp & Back to Top) */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

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

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

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

.btn-back-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-back-top:hover {
  transform: scale(1.1);
  background: var(--color-primary-hover);
  color: #ffffff;
}

/* Toast / Feedback Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

/* Short/Full CTA text helper */
.cta-short-text {
  display: none;
}

/* --- 20. Responsive Media Queries & Universal Device Support --- */

/* ── Large Laptops & Small Desktops (<= 1220px) ── */
@media (max-width: 1220px) {
  .nav-menu {
    display: none !important;
  }
  .mega-menu {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 650px;
    margin: 0 auto;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-pipeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .workflow-pipeline::before {
    display: none;
  }
}

/* ── Tablets Landscape & Medium Screens (<= 992px) ── */
@media (max-width: 992px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
  .section {
    padding: 4rem 0;
  }
  .svc-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  .svc-inquiry-card {
    position: static !important;
  }
}

/* ── Tablets Portrait & Large Handhelds (<= 768px) ── */
@media (max-width: 768px) {
  /* Prevent iOS automatic input zoom (Requires font-size >= 16px) */
  input, select, textarea,
  .form-input, .form-select, .form-textarea,
  .search-input-wrap input {
    font-size: 16px !important;
    min-height: 48px;
  }

  .section {
    padding: 3.25rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .top-bar {
    display: none;
  }
  .brand-logo img {
    height: 40px;
  }
  .grid-3, .grid-4, .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .counter-item:not(:last-child)::after {
    display: none;
  }
  .workflow-pipeline {
    grid-template-columns: 1fr;
  }
  
  /* Hero section mobile typography & spacing */
  .hero-section {
    padding: 4.5rem 0 3.5rem;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
    line-height: 1.22;
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats-inline {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .floating-glass-card {
    display: none;
  }
  
  /* Services Directory Filter Toolbar */
  .filter-search-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .filter-pills {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    width: 100%;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .filter-pill-btn {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
  }
  .search-input-wrap {
    min-width: 100%;
  }

  /* Key Facts Strip on Service Pages: 2x2 Grid */
  .svc-facts-strip .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .svc-fact-item {
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.1rem 0.75rem;
  }
  .svc-fact-item:nth-child(2n) {
    border-right: none;
  }
  .svc-fact-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Form & Contact Cards */
  .form-card, .contact-info-card {
    padding: 1.75rem 1.25rem;
    height: auto;
    border-radius: var(--radius-lg);
  }
  .contact-info-item {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  /* Floating WhatsApp & Back-To-Top */
  .floating-actions {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

/* ── Standard Smartphones (<= 640px) ── */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .header-cta-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    min-height: 38px;
  }
  .header-cta-btn .cta-full-text {
    display: none;
  }
  .header-cta-btn .cta-short-text {
    display: inline;
  }
  .brand-logo img {
    height: 38px;
    max-width: 140px;
  }
  .mobile-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.1rem;
  }
  .hero-section {
    padding: 4rem 0 3rem;
  }
  .hero-pillar-tabs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .hero-slider-controls {
    width: 100%;
    justify-content: space-between;
  }
  .method-step {
    gap: 0.85rem;
  }
  .method-step-num {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  .methodology-steps::before {
    left: 20px;
  }
  .svc-section-img img {
    height: 220px;
  }
  .specialists-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Compact Smartphones (<= 480px) ── */
@media (max-width: 480px) {
  /* Facts strip: 1 column stack */
  .svc-facts-strip .grid-4 {
    grid-template-columns: 1fr !important;
  }
  .svc-fact-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
  }
  .svc-fact-item:last-child {
    border-bottom: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .counter-number {
    font-size: 2.25rem;
  }

  /* Full-width touch buttons for mobile ease */
  .btn:not(.header-cta-btn):not(.slider-arrow-btn):not(.filter-pill-btn) {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .application-card {
    flex-direction: column;
    gap: 0.65rem;
  }
  .modal-box {
    padding: 1.75rem 1.25rem;
    width: 95%;
  }
}

/* ── Ultra-Compact / Foldable External Screens (<= 380px) ── */
@media (max-width: 380px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .brand-logo img {
    height: 32px;
    max-width: 115px;
  }
  .header-cta-btn {
    padding: 0.38rem 0.55rem;
    font-size: 0.74rem;
  }
  .header-action-wrap {
    gap: 0.35rem;
  }
  .mobile-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .hero-stats-inline {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-stat-item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    padding-left: 0;
  }
}


/* ==========================================================================
   SERVICE PAGE DETAIL STYLES — Rich Content Layout
   ========================================================================== */

/* Service Hero with image */
.svc-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-dark-deep);
}
.svc-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  transition: transform 8s ease;
}
.svc-hero:hover .svc-hero-img { transform: scale(1.04); }
.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6,13,26,0.92) 45%, rgba(6,13,26,0.55) 100%);
}
.svc-hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3.5rem;
  max-width: 760px;
}
.svc-hero-content h1 { color: #ffffff; margin-bottom: 1rem; font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
.svc-hero-content .lead { color: var(--text-light-muted); max-width: 680px; }

/* Key Facts Strip */
.svc-facts-strip {
  background: #ffffff;
  border-bottom: 3px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.svc-fact-item {
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-light);
}
.svc-fact-item:last-child { border-right: none; }
.svc-fact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; margin-bottom: 0.35rem; }
.svc-fact-value { font-size: 1rem; font-weight: 700; color: var(--color-primary); }

/* Two-column service layout */
.svc-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3.5rem; align-items: flex-start; }
@media (max-width: 1024px) { .svc-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Technique Cards */
.technique-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.technique-card:hover { box-shadow: 0 6px 24px rgba(2,132,199,0.12); transform: translateY(-2px); }
.technique-card h4 { color: var(--color-primary); font-size: 1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.technique-card p { font-size: 0.92rem; color: var(--text-body); margin: 0 0 0.75rem; }
.technique-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.technique-tag { background: var(--color-primary-light); color: var(--color-primary-hover); font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 20px; border: 1px solid #bae6fd; }

/* Methodology Steps */
.methodology-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.methodology-steps::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--color-primary), var(--color-cyan)); opacity: 0.3; }
.method-step { display: flex; gap: 1.25rem; padding: 1.25rem 0; align-items: flex-start; position: relative; }
.method-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; box-shadow: 0 0 0 4px rgba(2,132,199,0.15); }
.method-step-body h4 { margin-bottom: 0.3rem; font-size: 0.97rem; color: var(--text-main); }
.method-step-body p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* Equipment Grid */
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.equipment-item { background: var(--bg-surface-alt); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1rem 0.75rem; text-align: center; transition: border-color 0.2s, background 0.2s; }
.equipment-item:hover { background: var(--color-primary-tint); border-color: #bae6fd; }
.equipment-item i { font-size: 1.5rem; color: var(--color-primary); margin-bottom: 0.5rem; display: block; }
.equipment-item span { font-size: 0.78rem; font-weight: 600; color: var(--text-body); line-height: 1.3; }

/* Application Cards */
.application-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); margin-bottom: 0.85rem; transition: border-color 0.2s; }
.application-card:hover { border-color: var(--color-primary); }
.application-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--color-primary-light); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.application-card h5 { font-size: 0.92rem; margin-bottom: 0.2rem; color: var(--text-main); }
.application-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* FAQ Accordion */
.svc-faq-item { border: 1px solid var(--border-light); border-radius: var(--radius-lg); margin-bottom: 0.75rem; overflow: hidden; }
.svc-faq-question { width: 100%; text-align: left; background: #ffffff; border: none; padding: 1.1rem 1.25rem; font-size: 0.95rem; font-weight: 600; color: var(--text-main); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: background 0.2s; font-family: inherit; }
.svc-faq-question:hover { background: var(--bg-surface-alt); }
.svc-faq-question.open { background: var(--color-primary-tint); color: var(--color-primary); }
.svc-faq-question .faq-arrow { transition: transform 0.3s; font-size: 0.85rem; flex-shrink: 0; }
.svc-faq-question.open .faq-arrow { transform: rotate(180deg); }
.svc-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; padding: 0 1.25rem; font-size: 0.9rem; color: var(--text-body); background: #fff; line-height: 1.7; }
.svc-faq-answer.open { max-height: 400px; padding: 0.75rem 1.25rem 1.25rem; }

/* Sticky Inquiry Card */
.svc-inquiry-card { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); position: sticky; top: 90px; }
.inquiry-header { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); padding: 1.5rem 1.75rem; }
.inquiry-header h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; }
.inquiry-header p { color: rgba(255,255,255,0.8); font-size: 0.83rem; margin: 0; }
.inquiry-body { padding: 1.5rem 1.75rem; }
.svc-related-links { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-light); }
.svc-related-links h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 0.75rem; }
.svc-related-link { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0; font-size: 0.85rem; color: var(--text-body); text-decoration: none; border-bottom: 1px solid var(--border-light); transition: color 0.2s; }
.svc-related-link:last-child { border-bottom: none; }
.svc-related-link:hover { color: var(--color-primary); }
.svc-related-link i { color: var(--color-primary); font-size: 0.75rem; }

/* Section Image Panel */
.svc-section-img { width: 100%; border-radius: var(--radius-xl); overflow: hidden; position: relative; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.svc-section-img img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.svc-section-img:hover img { transform: scale(1.04); }
.svc-section-img-badge { position: absolute; bottom: 1rem; left: 1rem; background: rgba(6,13,26,0.75); backdrop-filter: blur(8px); color: #fff; padding: 0.4rem 0.85rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.15); }

/* Disclaimer */
.svc-disclaimer { background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid #f59e0b; border-radius: var(--radius-md); padding: 1rem 1.25rem; font-size: 0.82rem; color: #92400e; margin-top: 2rem; line-height: 1.6; }
.svc-disclaimer i { color: #d97706; margin-right: 0.4rem; }

/* Mobile */
@media (max-width: 768px) {
  .svc-hero { min-height: 320px; }
  .svc-hero-content { padding: 4rem 0 2.5rem; }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-inquiry-card { position: static; }
}
