/* ============================================
   InfraMindTech — Main Stylesheet
   Intelligent Infrastructure. Secure Future.
   ============================================ */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --secondary: #3B82F6;
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-height: 72px;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-hero: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 50%, #F8FAFC 100%);
}

[data-theme="dark"] {
  --bg: #0F172A;
  --card: #1E293B;
  --text: #F1F5F9;
  --muted: #94A3B8;
  --border: #334155;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

section[id],
.hero[id] {
  scroll-margin-top: var(--navbar-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ---- Typography ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 600px;
}

/* ---- Buttons ---- */
.btn-imt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-imt-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-imt-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  color: #fff;
}

.btn-imt-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-imt-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-imt-ghost {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.btn-imt-ghost:hover {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}

.btn-imt-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-imt-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

.btn-imt-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ---- Navbar ---- */
.navbar-imt {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  height: var(--navbar-height);
  transition: all var(--transition);
  overflow: visible;
}

.navbar-imt .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  max-width: 1320px;
  margin: 0 auto;
  overflow: visible;
}

.navbar-imt.scrolled,
body.page-inner .navbar-imt {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .navbar-imt.scrolled,
[data-theme="dark"] body.page-inner .navbar-imt {
  background: rgba(15, 23, 42, 0.95);
}

#site-header {
  height: var(--navbar-height);
}

.navbar-brand-imt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  flex-shrink: 0;
  line-height: 1.1;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text);
  line-height: 1.1;
}

.brand-name .brand-highlight {
  color: var(--primary);
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.navbar-brand-imt .brand-mark {
  height: calc(var(--navbar-height) - 10px);
  width: auto;
  max-width: 52px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}

.navbar-brand-imt .brand-logo {
  height: calc(var(--navbar-height) - 8px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.navbar-brand-imt .brand-logo-sm {
  height: calc(var(--navbar-height) - 14px);
  max-width: 180px;
}

.brand-logo-footer,
.footer-brand-link .brand-mark {
  height: 48px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.1;
  text-decoration: none;
}

.footer-brand-link .brand-name {
  font-size: 1.15rem;
  color: #60A5FA;
}

.footer-brand-link .brand-name span,
.footer-brand-link .brand-name .brand-highlight {
  color: #60A5FA;
}

.footer-brand-link .brand-tagline {
  font-size: 0.58rem;
  color: #93C5FD;
  letter-spacing: 0.1em;
}

.navbar-brand-imt .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
}

.navbar-brand-imt .brand-tag {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  letter-spacing: 0.02em;
}

.mobile-nav-header .brand-copy {
  display: flex;
}

.nav-links-imt {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links-imt a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-links-imt a:hover,
.nav-links-imt a.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

.nav-actions-imt {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--navbar-height) + 48px) 0 40px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-stacked .hero-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero-content-top {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero-content-top .hero-tags,
.hero-content-top .hero-cta {
  justify-content: center;
}

.hero-content-top .hero-cta {
  margin-bottom: 0;
}

.hero-content-top .hero-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-bg-shapes {
  z-index: 1;
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(37, 99, 235, 0.2);
  top: -100px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.15);
  bottom: -50px;
  left: -100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tag {
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-visual {
  position: relative;
  z-index: 3;
}

.hero-video-slot {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(6, 182, 212, 0.08));
  border: 2px dashed rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-lg);
}

.hero-video-player,
.hero-video-embed {
  display: none;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0F172A;
}

.hero-video-player {
  object-fit: cover;
}

.hero-video-slot.has-video {
  border-style: solid;
  border-color: var(--border);
}

.hero-video-slot.has-video.video-type-file .hero-video-player {
  display: block;
}

.hero-video-slot.has-video.video-type-embed .hero-video-embed {
  display: block;
}

.hero-video-slot.has-video .hero-video-placeholder {
  display: none;
}

.hero-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--muted);
}

.hero-video-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.hero-video-placeholder strong {
  display: block;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-video-placeholder p {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.hero-video-hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-main-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.hero-float-card-1 {
  top: -20px;
  right: -20px;
}

.hero-float-card-2 {
  bottom: 40px;
  left: -30px;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.hero-float-icon.blue { background: rgba(37, 99, 235, 0.12); color: var(--primary); }
.hero-float-icon.cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent); }

.hero-float-text strong {
  display: block;
  font-size: 0.9375rem;
}

.hero-float-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

[data-cms-template] {
  display: none !important;
}

.cms-list-item {
  opacity: 1 !important;
  transform: none;
}
.card-imt {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-imt h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  min-height: 2.4em;
}

.card-imt p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.card-imt .product-features {
  margin-bottom: 20px;
}

.card-imt .btn-imt,
.card-imt .card-link {
  margin-top: auto;
  align-self: flex-start;
}

.card-imt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card-imt:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.card-imt:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 20px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.card-link:hover {
  gap: 10px;
}

/* ---- Products ---- */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-header {
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(6, 182, 212, 0.04) 100%);
  border-bottom: 1px solid var(--border);
  flex: 1;
}

.product-card-header .product-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  margin-bottom: 12px;
}

.product-card-header h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
  min-height: 2.2em;
}

.product-card-header p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.product-card-body {
  padding: 24px 32px 32px;
  margin-top: auto;
}

.product-features {
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.product-features li i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  position: relative;
}

/* ---- Contact Form ---- */
.form-imt .form-group {
  margin-bottom: 20px;
}

.form-imt label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-imt .form-control,
.form-imt .form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  transition: all var(--transition);
}

.form-imt .form-control:focus,
.form-imt .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-imt textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  padding: 40px 0 48px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

body.page-inner {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-inner main,
body.page-inner > section:first-of-type {
  flex: 1;
}


.page-inner .page-header {
  position: relative;
}

.page-inner .page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

main.page-content {
  min-height: 50vh;
}

body.page-enter main.page-content {
  animation: pageEnter 0.45s ease-out;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.page-header .breadcrumb-imt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.page-header .breadcrumb-imt a:hover {
  color: var(--primary);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
}

/* ---- About / Team ---- */
.team-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.team-card h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
}

.timeline-item .year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---- Footer ---- */
.footer {
  background: #0B1120;
  color: #94A3B8;
  padding: 80px 0 0;
}

[data-theme="dark"] .footer {
  background: #020617;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand .footer-brand-link {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer h5 {
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 1040;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---- Industries / Solutions pills ---- */
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

.industry-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.industry-pill i {
  color: var(--primary);
}

/* ---- Utilities ---- */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-light-section {
  background: rgba(37, 99, 235, 0.03);
}

[data-theme="dark"] .bg-light-section {
  background: rgba(37, 99, 235, 0.05);
}

.container-imt {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1045;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--card);
  z-index: 1060;
  padding: 24px;
  transition: right var(--transition);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.125rem;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  margin-bottom: 4px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.mobile-nav-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
