/* ==========================================================================
   Infinity Transoft Solutions (ITSPL) - Modern Enterprise Responsive Stylesheet
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #c80626;
  --primary-hover: #a3051f;
  --primary-light: #fff1f2;
  --primary-glow: rgba(200, 6, 38, 0.25);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #2563eb;
  --accent-light: #eff6ff;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #0ea5e9;
  
  /* Neutral Palette */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #c80626;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-page: #0b0f19;
  --bg-card: #131b2e;
  --bg-subtle: #1c2742;
  --border-color: #273553;
  --border-focus: #f43f5e;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --primary-light: rgba(200, 6, 38, 0.15);
  --shadow-card: 0 4px 25px -2px rgba(0, 0, 0, 0.4);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 6px 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.top-pill {
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-marquee {
  white-space: nowrap;
  color: #cbd5e1;
}

.top-marquee strong {
  color: #fff;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-link {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.top-link:hover {
  color: #fff;
}

.top-link.highlight {
  color: #fca5a5;
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.status-pulse {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-fallback-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, #830016 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-company-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.brand-company-title span {
  color: var(--primary);
}

.brand-company-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Header Live Clock */
.header-clock-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-lg);
}

.clock-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-data {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.clock-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.clock-time {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.clock-tz {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  margin-left: 2px;
}

/* Header Action Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-theme-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

.btn-header-action {
  background: linear-gradient(135deg, var(--primary) 0%, #aa041f 100%);
  color: #fff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-header-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--primary-glow);
}

/* ==========================================================================
   Main Layout & Content Grid
   ========================================================================== */
.main-wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
}

/* Top Banner / Welcome Ribbon */
.portal-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #830016 100%);
  border-radius: var(--radius-xl);
  padding: 1.8rem 2rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.portal-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 6, 38, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.8rem;
  color: #fca5a5;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.banner-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.banner-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.banner-pill-link {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.banner-pill-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.banner-stats {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.banner-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 120px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-value span {
  color: #f87171;
}

.stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Dashboard Main 2-Column Grid
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 1.8rem;
  align-items: start;
}

/* Section Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
  border-color: rgba(200, 6, 38, 0.3);
  box-shadow: var(--shadow-xl);
}

/* Card Header */
.card-header {
  padding: 1.1rem 1.4rem;
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-card) 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Login Box Specifics (Interactive Tabbed Login)
   ========================================================================== */
.login-card {
  border-top: 4px solid var(--primary);
}

.login-body {
  padding: 1.6rem 1.4rem;
}

/* Tab Switcher */
.login-type-tabs {
  display: flex;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.login-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all var(--transition-fast);
}

.login-tab-btn:hover {
  color: var(--text-main);
}

.login-tab-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.2rem;
  position: relative;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-label .required {
  color: var(--primary);
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 12px;
  color: var(--text-subtle);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-control {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 38px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-btn-right {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.input-btn-right:hover {
  color: var(--text-main);
}

/* Helper / Preset Quick-fill */
.preset-help {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-fill-btn {
  color: var(--primary);
  background: none;
  border: none;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Remember & Forgot Row */
.form-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  font-size: 0.82rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.forgot-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Submit Button */
.btn-submit-login {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #aa041f 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-submit-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 6, 38, 0.4);
}

.btn-submit-login:active {
  transform: translateY(0);
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit-login.loading .btn-text {
  display: none;
}
.btn-submit-login.loading .spinner {
  display: block;
}

/* Login Security Notice */
.login-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.2rem;
  padding: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Right Column: Stack of Modules (Downloads, Support, Demo, News)
   ========================================================================== */
.modules-stack {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* Download Grid */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1.2rem;
}

.download-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  position: relative;
}

.download-card:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dl-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fee2e2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-content {
  flex: 1;
}

.dl-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.dl-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.dl-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.dl-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}

.dl-meta {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Support & Helpdesk Card */
.support-body {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.support-channel {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.support-channel:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.support-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-phone {
  background: #dbeafe;
  color: #2563eb;
}

.icon-email {
  background: #fef3c7;
  color: #d97706;
}

.icon-remote {
  background: #dcfce7;
  color: #16a34a;
}

.icon-chat {
  background: #f3e8ff;
  color: #9333ea;
}

.support-channel-info {
  display: flex;
  flex-direction: column;
}

.support-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.support-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.support-value:hover {
  color: var(--primary);
}

/* Demo / Showcase Card */
.demo-banner-box {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-banner-content {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.demo-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #f87171;
  background: rgba(200, 6, 38, 0.15);
  border: 1px solid rgba(200, 6, 38, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.demo-banner-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.demo-banner-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 12px;
}

.demo-btn-group {
  display: flex;
  gap: 10px;
}

.btn-demo-primary {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-demo-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-demo-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-demo-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.demo-illustration {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.demo-illustration img {
  max-width: 140px;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
}

/* ==========================================================================
   Latest News & Updates Section
   ========================================================================== */
.news-body {
  padding: 1.2rem;
}

/* ==========================================================================
   Modern Innovation & Bulletins Hub (Enterprise Platform Innovations)
   ========================================================================== */
.bulletin-hub-container {
  padding: 1.5rem;
}

.bulletin-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.news-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-filter-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-filter-btn:hover {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-focus);
}

.news-filter-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #aa041f 100%);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.bulletin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.4rem;
}

@media (max-width: 768px) {
  .bulletin-grid {
    grid-template-columns: 1fr;
  }
}

.bulletin-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.bulletin-card:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 4px 12px var(--primary-glow);
}

.bulletin-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.bulletin-card:hover::after {
  opacity: 1;
}

.bulletin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bulletin-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bulletin-icon-badge.crimson {
  background: rgba(200, 6, 38, 0.12);
  color: var(--primary);
}

.bulletin-icon-badge.blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.bulletin-icon-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.bulletin-icon-badge.purple {
  background: rgba(147, 51, 234, 0.12);
  color: #9333ea;
}

.bulletin-icon-badge.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.bulletin-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bulletin-tag-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.bulletin-tag-pill.crimson {
  background: rgba(200, 6, 38, 0.1);
  color: var(--primary);
}

.bulletin-tag-pill.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.bulletin-tag-pill.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.bulletin-tag-pill.purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.bulletin-tag-pill.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.bulletin-date-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.bulletin-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.bulletin-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.bulletin-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.1rem;
}

.bulletin-highlight-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bulletin-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.bulletin-read-btn {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast);
}

.bulletin-card:hover .bulletin-read-btn {
  gap: 8px;
}

.bulletin-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
}

/* Bottom Network Telemetry Bar */
.bulletin-telemetry-strip {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.03) 0%, rgba(200, 6, 38, 0.03) 100%);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modals (Glassmorphism & Authentic ITSPL Behaviors)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--danger);
  background: var(--border-color);
}

.modal-body {
  padding: 1.5rem;
}

.otp-box-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 1.5rem 0;
}

.otp-digit {
  width: 48px;
  height: 54px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  background: var(--bg-subtle);
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.otp-digit:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.otp-resend-row {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.otp-resend-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.otp-resend-btn:disabled {
  color: var(--text-subtle);
  cursor: not-allowed;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-secondary {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--border-color);
}

/* Self-Serve Live Operator Demo Form Elements */
#selfServeDemoForm .form-control {
  padding: 0 12px;
  height: 42px;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-subtle);
  color: var(--text-main);
  box-sizing: border-box;
  width: 100%;
}

#selfServeDemoForm .form-control:focus {
  border-color: #059669;
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

#selfServeDemoForm select.form-control {
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}

#selfServeDemoForm select.form-control:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background-color: var(--bg-card);
}

[data-theme="dark"] #selfServeDemoForm select.form-control option {
  background-color: #131b2e;
  color: #f8fafc;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999999 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.info {
  border-left-color: var(--info);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-msg {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
  padding: 2.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-about-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.footer-about-text {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-host-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  border: 1px solid var(--border-color);
}

.footer-host-badge a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}

.footer-copy {
  color: var(--text-subtle);
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-link {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .portal-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-stats {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }

  .header-container {
    padding: 0.75rem 1rem;
  }

  .header-clock-widget {
    display: none;
  }

  .main-wrapper {
    padding: 1.2rem 1rem;
  }

  .banner-title {
    font-size: 1.4rem;
  }

  .support-body {
    grid-template-columns: 1fr;
  }

  .demo-banner-box {
    flex-direction: column;
    text-align: center;
  }

  .demo-btn-group {
    justify-content: center;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .banner-stats {
    flex-direction: column;
  }

  .banner-stat-box {
    width: 100%;
  }

  .otp-digit {
    width: 38px;
    height: 46px;
    font-size: 1.2rem;
  }
}


/* ==========================================================================
   Corporate Showcase Sections (Imported from web.itspl.net)
   ========================================================================== */

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

/* Tech Marquee / Ecosystem Pills */
.tech-ticker-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.tech-ticker-inner {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ticker-slide 30s linear infinite;
}

.tech-ticker-inner:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.tech-pill span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Section Headings */
.section-intro-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.section-main-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}

.section-main-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Corporate About Section */
.corporate-about-section {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-illus-wrap {
  text-align: center;
  position: relative;
}

.about-illus-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px var(--primary-glow);
  text-align: left;
}

.badge-years {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-content-block p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-color);
}

.about-stat-item {
  text-align: left;
}

.about-stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.about-stat-lbl {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Solutions Showcase Tabs (Products & Modules) */
.solutions-section {
  padding: 3rem 0;
}

.solutions-tabs-header {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.sol-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sol-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--primary);
}

.sol-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.solutions-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.solutions-panel.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sol-text-block h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.sol-text-block p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 1.5rem;
}

.feature-check-list li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-check-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

.sol-image-wrap {
  text-align: center;
}

.sol-image-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.06));
}

/* 6 Pillars Grid (Why Choose ITS) */
.pillars-section {
  padding: 3rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #aa041f 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(200, 6, 38, 0.15);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Innovation Milestones Timeline */
.timeline-section {
  padding: 3rem 0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: all var(--transition-fast);
  position: relative;
}

.timeline-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.timeline-year-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.timeline-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mobile App Showcase Section */
.app-showcase-section {
  padding: 3rem 0;
}

.app-showcase-card {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 60%, #830016 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.app-showcase-card h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.app-showcase-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.store-buttons-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  transition: all var(--transition-fast);
}

.store-badge-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.store-badge-btn img {
  height: 24px;
  width: auto;
}

.store-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-small {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #cbd5e1;
}

.store-bold {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
}

.app-phone-mockup {
  text-align: center;
}

.app-phone-mockup img {
  max-height: 380px;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* Awards Showcase */
.awards-section {
  padding: 3rem 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.award-card img {
  max-height: 110px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* Branch Offices Grid */
.offices-section {
  padding: 3rem 0;
}

.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--transition-normal);
}

.office-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.office-city-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.office-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.office-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  display: flex;
  gap: 8px;
}

.office-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.office-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
}

.office-contact-item a {
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.office-contact-item a:hover {
  color: var(--primary);
}

/* Responsive updates for new sections */
@media (max-width: 1080px) {
  .about-grid, .solutions-panel, .app-showcase-card, .offices-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-grid {
    grid-template-columns: 1fr 1fr;
  }
  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .pillars-grid, .timeline-grid, .awards-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .feature-check-list {
    grid-template-columns: 1fr;
  }
  .app-showcase-card {
    padding: 1.8rem 1.4rem;
  }
}


/* ==========================================================================
   5-Box Authentic Portal Grid (True to Login.aspx)
   ========================================================================== */
.portal-boxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}

.portal-box-full {
  width: 100%;
}

/* Products Flipbook Modal & Viewer */
.products-modal-dialog {
  max-width: 920px;
  width: 95%;
}

.products-modal-body {
  max-height: 75vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.modules-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.module-card-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.module-card-item:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.module-badge-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.module-name {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.module-summary {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.flipbook-preview-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 1.5rem;
}

.flipbook-thumb {
  flex-shrink: 0;
  width: 115px;
  height: 155px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.flipbook-thumb:hover {
  border-color: var(--primary);
  transform: scale(1.03);
}

.flipbook-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Branch Addresses Tooltip / Quick Box */
.branch-pill-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.branch-pill-box strong {
  color: var(--text-main);
}

@media (max-width: 900px) {
  .portal-boxes-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Interactive Booking Cycle Simulator (Client Demo Mode)
   ========================================================================== */
.demo-console-dialog {
  max-width: 1040px;
  width: 96%;
}

.demo-console-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 1.2rem 1.6rem;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-operator-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-op-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.demo-op-info {
  display: flex;
  flex-direction: column;
}

.demo-op-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.demo-op-sub {
  font-size: 0.74rem;
  color: #94a3b8;
}

/* Stepper Progress Bar */
.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 1.5rem;
  overflow-x: auto;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.step-item.active {
  color: var(--primary);
}

.step-item.completed {
  color: #10b981;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.step-item.active .step-num {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.step-item.completed .step-num {
  border-color: #10b981;
  background: #10b981;
  color: #fff;
}

.step-arrow {
  color: var(--border-color);
  margin: 0 6px;
}

/* Booking Body Panes */
.booking-pane {
  display: none;
  padding: 1.8rem;
  animation: fadeIn 0.3s ease;
}

.booking-pane.active {
  display: block;
}

/* Bus Search Cards */
.search-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 1.5rem;
  background: var(--bg-subtle);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.bus-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bus-schedule-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr auto;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.bus-schedule-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bus-schedule-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.bus-title-group h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.bus-amenities {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bus-timing-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.time-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.city-val {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.duration-tag {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
}

.fare-block {
  text-align: right;
}

.fare-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.fare-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Bus Coach Layout */
.coach-deck-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.deck-header {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
}

.deck-seats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.seat-btn {
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.seat-btn:hover:not(.booked):not(.ladies-booked) {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: scale(1.05);
}

.seat-btn.selected {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.seat-btn.booked {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.7;
}

.seat-btn.ladies {
  border-color: #f472b6;
  background: #fdf2f8;
}

.seat-type-indicator {
  font-size: 0.6rem;
  text-transform: uppercase;
}

/* Legend */
.seat-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

/* Dynamic Pricing Engine Box */
.dynamic-pricing-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 1rem 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

[data-theme="dark"] .dynamic-pricing-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border-color: #059669;
}

.dp-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #166534;
}

[data-theme="dark"] .dp-title {
  color: #a7f3d0;
}

.dp-desc {
  font-size: 0.78rem;
  color: #15803d;
}

[data-theme="dark"] .dp-desc {
  color: #d1fae5;
}

/* QR Payment Section */
.qr-payment-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px dashed var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}

.qr-code-img {
  width: 140px;
  height: 140px;
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* Confirmed Ticket Presentation */
.ticket-confirmation-container {
  background: var(--bg-card);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  margin-bottom: 1.5rem;
}

.ticket-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}

.ticket-pnr-badge {
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.ticket-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.ticket-cell-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.ticket-cell-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.ticket-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Thermal POS Ticket Simulator */
.thermal-pos-modal {
  max-width: 380px;
  font-family: 'Courier New', Courier, monospace;
}

.thermal-slip-body {
  background: #fffef2;
  color: #111;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  font-size: 0.85rem;
  line-height: 1.4;
}

.thermal-divider {
  border-top: 1px dashed #555;
  margin: 8px 0;
}

@media (max-width: 768px) {
  .search-form-row {
    grid-template-columns: 1fr;
  }
  .bus-schedule-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .coach-deck-container {
    grid-template-columns: 1fr;
  }
  .ticket-details-grid {
    grid-template-columns: 1fr 1fr;
  }
  .qr-payment-box {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   Social Media Channels & SEO Elements
   ========================================================================== */
.social-links-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.2rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-icon-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-icon-btn.x-twitter:hover {
  background: #000000;
  border-color: #000000;
}

.social-icon-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: #d6249f;
}

.social-icon-btn.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}
.social-icon-btn.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}


/* Top bar social quick icons */
.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}

.top-social-link {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.top-social-link:hover {
  color: #ffffff;
}

.top-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}


/* ==========================================================================
   Modernized Download Zone (Ultra-Modern High-Tech Style)
   ========================================================================== */
.modern-downloads-container {
  padding: 1.5rem;
}

.modern-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.modern-dl-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.modern-dl-card:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(200, 6, 38, 0.12), 0 10px 10px rgba(0, 0, 0, 0.04);
}

.modern-dl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #f43f5e 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modern-dl-card:hover::before {
  opacity: 1;
}

.dl-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dl-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-icon-circle.primary-glow {
  background: linear-gradient(135deg, rgba(200, 6, 38, 0.12) 0%, rgba(200, 6, 38, 0.25) 100%);
  color: var(--primary);
  box-shadow: 0 6px 14px var(--primary-glow);
}

.dl-icon-circle.blue-glow {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.25) 100%);
  color: #2563eb;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.dl-icon-circle.green-glow {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.25) 100%);
  color: #10b981;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.2);
}

.dl-icon-circle.purple-glow {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.12) 0%, rgba(147, 51, 234, 0.25) 100%);
  color: #9333ea;
  box-shadow: 0 6px 14px rgba(147, 51, 234, 0.2);
}

.dl-version-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.dl-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  letter-spacing: -0.3px;
}

.dl-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
}

.dl-meta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.dl-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.btn-download-action {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, var(--primary) 0%, #aa041f 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-download-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 6, 38, 0.35);
  color: #fff;
}

.btn-download-secondary {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-download-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Dedicated Console Sign-In Modal */
.signin-modal-dialog,
#signinModal .modal-card {
  max-width: 420px !important;
  width: 92% !important;
  margin: auto !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
}

.signin-modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 1.15rem 1.35rem;
  border-bottom: 2.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signin-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

/* Console Gateway Card */
.console-gateway-card {
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
}

.btn-console-launch {
  transition: all var(--transition-fast);
}

.btn-console-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 6, 38, 0.38) !important;
}

.btn-open-signin {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-open-signin:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Version Radio Button Group (New Version / Old Version Option)
   ========================================================================== */
.version-radio-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  margin-bottom: 1.15rem;
}

.radio-custom-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  user-select: none;
  flex: 1;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
  background: transparent;
}

.radio-custom-label:hover {
  background: rgba(200, 6, 38, 0.05);
}

.radio-custom-label.active {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(200, 6, 38, 0.12);
}

.radio-custom-label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  margin: 0;
  display: grid;
  place-content: center;
  background: var(--bg-card);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.radio-custom-label input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--primary);
}

.radio-custom-label input[type="radio"]:checked {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.radio-custom-label input[type="radio"]:checked::before {
  transform: scale(1);
}

.radio-version-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: auto;
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
}

.radio-version-badge.legacy {
  background: rgba(100, 116, 139, 0.14);
  color: var(--text-muted);
}

.dl-version-radio-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 3px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   ENTERPRISE HERO SECTION (Enterprise Bus Cloud)
   ========================================================================== */
.hero-enterprise-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(200, 6, 38, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
              var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem 2.5rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04);
}

.hero-enterprise-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #ff4b6e 50%, #2563eb 100%);
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(200, 6, 38, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200, 6, 38, 0.2);
}

.hero-title-main {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-main);
  letter-spacing: -0.8px;
  margin-bottom: 1.25rem;
  max-width: 950px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #aa041f 40%, #ff4b6e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 880px;
  margin-bottom: 2.2rem;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  height: 52px;
  padding: 0 28px;
  background: linear-gradient(135deg, var(--primary) 0%, #aa041f 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 6, 38, 0.4);
  color: #fff;
}

.btn-hero-secondary {
  height: 52px;
  padding: 0 24px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero-stat-number span {
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   360° ARCHITECTURE EXPLORER (Integrated Bus Management System from Charts)
   ========================================================================== */
.arch-section {
  margin-bottom: 3rem;
}

.arch-header-box {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.arch-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.arch-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

.arch-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.arch-nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
}

.arch-tab-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.arch-tab-btn:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.arch-tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #aa041f 100%);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.arch-panel-container {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.arch-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.arch-panel-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.arch-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 6, 38, 0.1);
  color: var(--primary);
}

.arch-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.arch-node-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.arch-node-card:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.arch-node-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-sub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.arch-sub-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   END-TO-END BOOKING-TO-FLEET LIFECYCLE (12 Stages)
   ========================================================================== */
.lifecycle-section {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.lifecycle-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.lifecycle-step-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.lifecycle-step-card:hover, .lifecycle-step-card.active {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(200, 6, 38, 0.12);
}

.lifecycle-step-num {
  display: none !important;
}

.lifecycle-step-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.lifecycle-step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   AWARDS & ACHIEVEMENTS SECTION (from web.itspl.net)
   ========================================================================== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.award-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.award-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.15);
}

.award-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.3) 100%);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.award-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.award-presenter {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.award-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   REFERRAL & BEST DEAL SECTION
   ========================================================================== */
.referral-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.referral-banner::after {
  content: 'REFERRAL';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.referral-perk-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
}

/* ==========================================================================
   Ultra-Attractive Header & Modern Nav System
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #c80626 0%, #059669 50%, #3b82f6 100%) 1;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.brand-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200, 6, 38, 0.08);
  border: 1px solid rgba(200, 6, 38, 0.2);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

[data-theme="dark"] .brand-tag-pill {
  background: rgba(200, 6, 38, 0.2);
  border-color: rgba(200, 6, 38, 0.4);
  color: #ff6b7e;
}

.header-center-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 1;
  min-width: 0;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: var(--radius-md);
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header-nav-link:hover {
  background: var(--bg-subtle);
  color: var(--primary);
}

.header-nav-link.video-link {
  background: linear-gradient(135deg, rgba(200, 6, 38, 0.09) 0%, rgba(200, 6, 38, 0.03) 100%);
  border: 1px solid rgba(200, 6, 38, 0.25);
  color: var(--primary);
}

.header-nav-link.video-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(200, 6, 38, 0.3);
}

.nav-badge-pill {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.header-nav-link:hover .nav-badge-pill {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-new-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: pulse-ring 2s infinite;
}

/* Header Controls & Action Buttons - Never Cut Off */
.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0 !important;
  margin-left: auto;
}

.header-controls .btn-open-self-demo,
.header-controls .btn-open-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  font-size: 0.80rem;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
  flex-shrink: 0 !important;
  transition: all var(--transition-fast);
}

.header-controls .btn-open-self-demo {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.32);
}

.header-controls .btn-open-signin {
  background: linear-gradient(135deg, #c80626 0%, #990011 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(200, 6, 38, 0.32);
}

.header-controls .btn-open-self-demo:hover,
.header-controls .btn-open-signin:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.1);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

/* Responsive Compacting: Guarantees Buttons Fit Flawlessly On All Resolutions */
@media (max-width: 1400px) {
  .brand-tag-pill {
    display: none !important;
  }
  .nav-badge-pill {
    display: none !important;
  }
  .header-nav-link {
    padding: 6px 7px;
    font-size: 0.78rem;
    gap: 4px;
  }
}

@media (max-width: 1220px) {
  .header-container {
    padding: 0.45rem 0.85rem;
    gap: 8px;
  }
  .brand-logo-img {
    height: 42px;
    max-width: 140px;
  }
  .header-nav-link {
    padding: 5px 6px;
    font-size: 0.75rem;
    gap: 3px;
  }
  .header-nav-link svg {
    width: 13px;
    height: 13px;
  }
  .header-controls {
    gap: 6px;
  }
  .header-controls .btn-open-self-demo,
  .header-controls .btn-open-signin {
    padding: 6px 10px;
    font-size: 0.76rem;
    gap: 4px;
  }
}

@media (max-width: 1040px) {
  .header-center-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 50vw;
    padding: 2px 0;
  }
  .header-center-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0.4rem 0.65rem;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 130px;
  }
  .header-center-nav {
    display: none;
  }
  .header-controls .btn-open-self-demo,
  .header-controls .btn-open-signin {
    padding: 6px 9px;
    font-size: 0.74rem;
  }
}

@media (max-width: 420px) {
  .header-controls .btn-open-self-demo span {
    display: none;
  }
  .header-controls .btn-open-self-demo {
    padding: 6px 8px;
  }
  .header-controls .btn-open-signin {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   YouTube Video Showcase & Modal Components
   ========================================================================== */
.corporate-video-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .corporate-video-card {
    grid-template-columns: 1fr;
  }
}

.video-thumb-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.85;
}

.video-thumb-container:hover .video-thumb-img {
  transform: scale(1.05);
  opacity: 0.95;
}

.video-play-pulse-btn {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c80626 0%, #ff1744 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(200, 6, 38, 0.7);
  animation: playPulse 2s infinite;
  transition: transform var(--transition-fast);
  z-index: 2;
  cursor: pointer;
}

.video-thumb-container:hover .video-play-pulse-btn {
  transform: scale(1.12);
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 6, 38, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(200, 6, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 6, 38, 0); }
}

.video-info-container {
  padding: 2.2rem 2.5rem;
  color: #fff;
}

.video-modal-dialog {
  max-width: 900px;
  width: 95%;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.video-container-169 {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  background: #000;
}

.video-container-169 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   WhatsApp Floating Chatbot Widget
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  z-index: 9998;
  transition: all var(--transition-normal);
  border: 2.5px solid #fff;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsappPulse 2s infinite;
  pointer-events: none;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #e11d48;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #0f172a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Chat Widget Panel */
.whatsapp-chat-box {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 375px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #efeae2;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpChat 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="dark"] .whatsapp-chat-box {
  background: #0b141a;
  border-color: rgba(255, 255, 255, 0.1);
}

.whatsapp-chat-box.open {
  display: flex;
}

@keyframes slideUpChat {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-chat-header {
  background: #075E54;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-chat-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-agent-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.whatsapp-agent-info p {
  margin: 0;
  font-size: 0.72rem;
  color: #bbf7d0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.whatsapp-agent-online {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.whatsapp-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.whatsapp-chat-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.whatsapp-chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-chat-date {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  align-self: center;
  margin-bottom: 4px;
}

[data-theme="dark"] .whatsapp-chat-date {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.whatsapp-msg {
  max-width: 84%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-msg.incoming {
  background: #ffffff;
  color: #111827;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

[data-theme="dark"] .whatsapp-msg.incoming {
  background: #202c33;
  color: #e9edef;
}

.whatsapp-msg.outgoing {
  background: #d9fdd3;
  color: #111827;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

[data-theme="dark"] .whatsapp-msg.outgoing {
  background: #005c4b;
  color: #e9edef;
}

.whatsapp-msg-time {
  font-size: 0.65rem;
  color: #64748b;
  text-align: right;
  margin-top: 3px;
}

[data-theme="dark"] .whatsapp-msg-time {
  color: #8696a0;
}

.whatsapp-quick-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.whatsapp-chip-btn {
  background: #ffffff;
  border: 1px solid #10b981;
  color: #047857;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="dark"] .whatsapp-chip-btn {
  background: #111b21;
  border-color: #059669;
  color: #34d399;
}

.whatsapp-chip-btn:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateX(3px);
}

.whatsapp-chat-footer {
  background: #f0f2f5;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .whatsapp-chat-footer {
  background: #202c33;
  border-color: rgba(255, 255, 255, 0.08);
}

.whatsapp-input-field {
  flex: 1;
  border: none;
  background: #fff;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  color: var(--text-main);
  outline: none;
}

[data-theme="dark"] .whatsapp-input-field {
  background: #2a3942;
  color: #fff;
}

.whatsapp-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.whatsapp-send-btn:hover {
  transform: scale(1.08);
  background: #128C7E;
}

/* ==========================================================================
   Live Ticket Booking & Real-Time GDS Telemetry Hub
   ========================================================================== */
.live-telemetry-section {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .live-telemetry-section {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.live-telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.telemetry-title-wrap h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.telemetry-title-wrap p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.telemetry-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* APM Production Status Banner (From Real Infrastructure) */
.apm-alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 4px solid #10b981;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.05);
}

.apm-alert-icon {
  display: flex;
  align-items: center;
  color: #10b981;
  flex-shrink: 0;
}

.apm-alert-text {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-main);
}

.apm-alert-text strong {
  color: #059669;
  font-weight: 800;
}

[data-theme="dark"] .apm-alert-text strong {
  color: #34d399;
}

/* APM Multi-Channel & Window Filter Row */
.apm-filter-row {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.apm-window-group, .apm-channel-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.apm-group-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  min-width: 75px;
}

.apm-btn-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.apm-btn-pill:hover, .apm-btn-pill.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.apm-channel-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.apm-pill-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.apm-pill-tag:hover {
  border-color: #059669;
  color: #059669;
}

.apm-pill-tag.active {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

/* APM Telemetry 5-Card Metrics Strip */
.apm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}

@media (max-width: 1100px) {
  .apm-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .apm-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.apm-metric-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.apm-metric-title {
  font-size: 0.70rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.apm-metric-value {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.apm-metric-value small {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.apm-metric-sub {
  font-size: 0.70rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

/* APM Live Waveform Requests In vs Out Chart Box */
.apm-chart-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .apm-chart-box {
  background: #090e1a;
  border-color: rgba(255, 255, 255, 0.12);
}

.apm-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.apm-chart-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.apm-chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 700;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot.in {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2563eb;
}

.legend-dot.out {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f97316;
}

.apm-chart-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.apm-canvas-wrap {
  width: 100%;
  height: 140px;
  position: relative;
}

.apm-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.apm-chart-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-subtle);
  font-family: monospace;
  margin-top: 6px;
  border-top: 1px dashed var(--border-color);
  padding-top: 6px;
}

/* Stability & Health Metrics Strip (Legacy Fallback Support) */
.telemetry-metrics-bar {
  display: none;
}

/* Two-Column Grid: Live Bookings + API Terminal */
.telemetry-stream-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.5rem;
}

@media (max-width: 980px) {
  .telemetry-stream-grid {
    grid-template-columns: 1fr;
  }
}

/* Left Column: Live Booking Ticker Feed */
.booking-stream-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.panel-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 6px;
}

.panel-sub-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-feed-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 440px;
  max-height: 440px;
  overflow: hidden;
  position: relative;
  overflow-anchor: none;
}

.live-booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  animation: slideInBooking 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all var(--transition-fast);
  min-height: 94px;
  box-sizing: border-box;
}


.live-booking-card:hover {
  border-color: #10b981;
  transform: translateX(4px);
}

@keyframes slideInBooking {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.live-booking-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.booking-route-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.booking-operator-row {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.booking-amount-tag {
  font-size: 0.95rem;
  font-weight: 900;
  color: #059669;
}

.booking-channel-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.booking-channel-pill.web {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.25);
}

.booking-channel-pill.android {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.booking-channel-pill.ios {
  background: rgba(147, 51, 234, 0.1);
  color: #7c3aed;
  border-color: rgba(147, 51, 234, 0.25);
}

.booking-channel-pill.branch {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.25);
}

.booking-channel-pill.agent {
  background: rgba(219, 39, 119, 0.1);
  color: #db2777;
  border-color: rgba(219, 39, 119, 0.25);
}

.booking-channel-pill.api,
.booking-channel-pill.redbus,
.booking-channel-pill.abhibus {
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  border-color: rgba(14, 165, 233, 0.25);
}

.booking-channel-pill.counter {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.25);
}

.booking-channel-pill.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
  border-color: rgba(37, 211, 102, 0.3);
}

.booking-channel-pill.ewaybill {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
  border-color: rgba(20, 184, 166, 0.3);
}

.booking-channel-pill.gps {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.3);
}

.booking-channel-pill.schedule {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  border-color: rgba(249, 115, 22, 0.3);
}

.booking-channel-pill.fastag {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.3);
}

.booking-channel-pill.pay {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.3);
}

.booking-channel-pill.cargo {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
}

/* Right Column: Live API Request Terminal */
.api-terminal-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.api-terminal-box {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  overflow: hidden;
  height: 440px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.terminal-titlebar {
  background: #111827;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.terminal-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

.terminal-status-info {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-logs-body {
  flex: 1;
  padding: 10px 14px;
  overflow: hidden; /* Zero scrollbar, zero jitter, zero automatic jumping */
  overflow-anchor: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #cbd5e1;
  font-size: 0.72rem;
  line-height: 1.45;
}

.terminal-log-row {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: fadeInLog 0.22s ease-out;
  min-width: 0;
}

.terminal-log-row .log-path {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

@keyframes fadeInLog {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.log-time {
  color: #64748b;
  flex-shrink: 0;
}

.log-channel {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.log-channel.web { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.35); }
.log-channel.android { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.log-channel.ios { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.log-channel.branch { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.log-channel.agent { background: rgba(236, 72, 153, 0.2); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.35); }
.log-channel.api { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.35); }
.log-channel.whatsapp { background: rgba(37, 211, 102, 0.2); color: #25d366; border: 1px solid rgba(37, 211, 102, 0.4); }
.log-channel.ewaybill { background: rgba(20, 184, 166, 0.2); color: #2dd4bf; border: 1px solid rgba(20, 184, 166, 0.4); }
.log-channel.gps { background: rgba(6, 182, 212, 0.2); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.4); }
.log-channel.schedule { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }
.log-channel.fastag { background: rgba(99, 102, 241, 0.2); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.4); }
.log-channel.pay { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.log-channel.cargo { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }

/* Technology, Priority & Security Meta Badges in Terminal */
.log-tech {
  font-size: 0.65rem;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}

.log-priority {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.log-priority.p0 { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }
.log-priority.p1 { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.log-priority.p2 { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.35); }
.log-priority.p3 { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.35); }

.log-security {
  font-size: 0.65rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Technology, Priority & Security 3-Pillar Overview Grid */
.telemetry-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 1.5rem;
}

@media (max-width: 980px) {
  .telemetry-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.telemetry-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition-fast);
}

.telemetry-pillar-card:hover {
  transform: translateY(-2px);
  border-color: #059669;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .telemetry-pillar-card {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
}

.t-pillar-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-pillar-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.2;
}

.t-pillar-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.t-pillar-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t-tag {
  font-size: 0.76rem;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-pillar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}

.log-method {
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.68rem;
}
.log-method.post { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.log-method.get { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.log-path {
  color: #f1f5f9;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-status {
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

.log-latency {
  color: #f59e0b;
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Complete 17-Award Showcase Gallery (from web.itspl.net)
   ========================================================================== */
.awards-gallery-container {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.awards-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 12px;
}

.awards-gallery-grid {
  display: grid;
  grid-template-rows: repeat(2, minmax(285px, auto));
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 18px 4px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.awards-gallery-grid::-webkit-scrollbar {
  height: 8px;
}

.awards-gallery-grid::-webkit-scrollbar-track {
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
}

.awards-gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
}

.awards-gallery-grid::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

@media (max-width: 640px) {
  .awards-gallery-grid {
    grid-auto-columns: 170px;
    grid-template-rows: repeat(2, minmax(260px, auto));
    gap: 0.85rem;
  }
}

.award-item-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
}

.award-item-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.2);
}

.award-img-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.award-item-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.award-item-card:hover .award-item-img {
  transform: scale(1.06);
}

.award-item-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.35;
}

.award-item-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.award-zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.award-item-card:hover .award-zoom-icon {
  opacity: 1;
}

/* ===================================================================
   MOBILE APPS ECOSYSTEM SHOWCASE SECTION
   =================================================================== */
.apps-hero-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(14, 165, 233, 0.07) 100%);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.apps-hero-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.apps-hero-content {
  position: relative;
  z-index: 1;
}

.apps-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.apps-hero-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.apps-hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.apps-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.apps-hero-stat-item {
  display: flex;
  flex-direction: column;
}

.apps-hero-stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.apps-hero-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.apps-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.apps-hero-mockup-img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition-base);
}

.apps-hero-mockup-img:hover {
  transform: translateY(-4px) scale(1.02);
}

.apps-floating-chip {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.apps-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.app-ecosystem-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.app-ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.12);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-card-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-header-info {
  flex: 1;
}

.app-role-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.app-name-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0 0 4px 0;
}

.app-package-id {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: var(--text-muted);
  word-break: break-all;
}

.app-card-body {
  flex: 1;
  margin-bottom: 1.25rem;
}

.app-feature-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.4;
}

.app-feature-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.app-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #000000;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.app-play-btn:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}

.app-play-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.app-rating-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d97706;
  background: rgba(245, 158, 11, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .apps-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .apps-hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .apps-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .apps-hero-stats {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .apps-grid-6 {
    grid-template-columns: 1fr;
  }
  .apps-hero-banner {
    padding: 1.5rem;
  }
}

/* Award Lightbox Navigation Arrows */
.award-nav-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.7);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.award-nav-arrow-btn:hover {
  background: #d97706;
  color: #000000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}

#awardPrevFloatingBtn {
  left: 12px;
}

#awardNextFloatingBtn {
  right: 12px;
}

/* ===================================================================
   CLIENT VISITS & NATIONAL EXPOS GALLERY
   =================================================================== */
.events-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.event-photo-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.event-photo-card:hover {
  transform: translateY(-5px);
  border-color: #0284c7;
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.12);
}

.event-photo-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: #0f172a;
  overflow: hidden;
}

.event-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-photo-card:hover .event-photo-img {
  transform: scale(1.05);
}

.event-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(4px);
}

.event-photo-card:hover .event-zoom-badge {
  opacity: 1;
}

.event-caption-box {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.event-tag-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  align-self: flex-start;
}

.event-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.event-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 640px) {
  .events-gallery-grid {
    grid-template-columns: 1fr;
  }
  .event-photo-wrap {
    height: 200px;
  }
}

/* ==========================================================================
   Team Culture & Active Engaged People Showcase
   ========================================================================== */
.team-hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.team-hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(200, 6, 38, 0.15);
}

.team-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  background: #0f172a;
  overflow: hidden;
}

.team-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-hero-card:hover .team-hero-img {
  transform: scale(1.03);
}

.team-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(15, 23, 42, 0.85) 75%, rgba(15, 23, 42, 0.96) 100%);
  pointer-events: none;
}

.team-hero-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.team-hero-card:hover .team-hero-zoom-btn {
  opacity: 1;
  transform: scale(1.08);
}

.team-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2.2rem;
  z-index: 2;
  color: #fff;
}

.team-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(6px);
}

.team-badge-pill.gold {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.team-badge-pill.green {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.team-badge-pill.blue {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.team-hero-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.team-hero-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  margin: 0;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .team-hero-img-wrap {
    height: 300px;
  }
  .team-hero-content {
    padding: 1.25rem 1.4rem;
  }
  .team-hero-title {
    font-size: 1.25rem;
  }
  .team-hero-desc {
    display: none;
  }
}

/* 5-Card Team Culture Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1279px) and (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) and (min-width: 520px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 519px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(200, 6, 38, 0.12);
}

.team-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0f172a;
  overflow: hidden;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-img {
  transform: scale(1.05);
}

.team-card:hover .event-zoom-badge {
  opacity: 1;
}

.team-caption-box {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

/* Team Stats Strip */
.team-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 1.8rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

@media (max-width: 900px) {
  .team-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .team-stats-strip {
    grid-template-columns: 1fr;
  }
}

.team-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-stat-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
}

.team-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}

/* ==========================================================================
   Multi-Step Operator Self-Onboarding Wizard (Mobile -> GST API -> Documents)
   ========================================================================== */
.ob-step-pane {
  animation: fadeInPane 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ob-dropzone {
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ob-dropzone:hover {
  border-color: #059669;
  background: rgba(5, 150, 105, 0.05);
  transform: translateY(-1px);
}

.ob-dropzone.uploaded {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border-style: solid;
}

.doc-status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.doc-status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.doc-status-badge.uploaded {
  background: #10b981;
  color: #ffffff;
}



/* Inline Video Player Support */
.video-thumb-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 10;
}


/* Apple App Store & Google Play Dual Buttons */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  background: #000000;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: var(--radius-md, 8px);
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.app-store-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  color: #ffffff !important;
}

.app-store-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.app-card-footer .app-play-btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}


/* Sticky Header Anchor Scroll Offset */
section[id], div[id].portal-boxes-grid, div[id].corporate-video-card, div[id].live-telemetry-section {
  scroll-margin-top: 85px;
}

.header-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

.dropdown-arrow {
    font-size: 15px;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.header-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    width: 265px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 7px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 9999;
}

.header-nav-dropdown:hover .header-dropdown-menu,
.header-nav-dropdown:focus-within .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.header-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 10px;
    color: #1e293b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 7px;
    transition: all 0.2s ease;
}

    .header-dropdown-link:hover {
        background: #f1f5f9;
        color: #dc143c;
    }

.dropdown-list-icon {
    width: 16px;
    min-width: 16px;
    font-size: 13px;
    color: #64748b;
}

.header-dropdown-link:hover .dropdown-list-icon {
    color: #dc143c;
}

.header-dropdown-link small {
    color: #64748b;
    font-size: 10px;
    font-weight: 500;
}