/* ─────────────────────────────────────────────────────────────────────────────
   ManPower Pro — Design System
   Single CSS file used by ALL pages (public + dashboards).
   ───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ────────────────────────────────────────────────── */
:root {
  /* Restrained Enterprise Corporate Palette */
  --primary-color:    #0f172a;    /* Deep corporate navy */
  --secondary-color:  #1e293b;    /* Dark slate */
  --accent-color:     #2563eb;    /* Clean blue accent */
  --text-color:       #0f172a;    /* Dark charcoal body */
  --text-secondary:   #64748b;    /* Muted secondary gray */
  --muted-color:      #64748b;    /* Neutral secondary text */
  --background-color: #f8fafc;    /* Clean very light neutral gray */
  --surface-color:    #ffffff;    /* Card & surface white */
  --border-color:     #e2e8f0;    /* Crisp subtle light gray border */
  --dark-surface:     #0f172a;    /* Deep slate surface */

  /* Compatibility aliases */
  --brand-primary: var(--primary-color);
  --brand-accent:  #2563eb;
  --brand-light:   #3b82f6;
  --brand-grad:    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

  /* Neutrals */
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic - Restrained Corporate */
  --success: #15803d;
  --warning: #b45309;
  --danger:  #b91c1c;
  --info:    #1d4ed8;

  /* Layout */
  --sidebar-w:  240px;
  --topbar-h:   54px;
  --radius:     6px;
  --radius-sm:  4px;
  --radius-lg:  8px;
  --shadow-sm:  none;
  --shadow:     none;
  --shadow-lg:  none;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  font-size: 15px;
}
a { color: var(--brand-accent); text-decoration: none; }
a:hover { color: var(--brand-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}
.container-fluid {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(20px, 3.5vw, 56px);
}
.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.text-center { text-align: center; }
.text-sm  { font-size: 13px; }
.text-xs  { font-size: 12px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ── 1. Public Site Header & Navigation ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  width: 100%;
}
.nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 clamp(30px, 3.5vw, 50px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--primary-color);
  flex-shrink: 0;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand-title {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--primary-color);
  line-height: 1.2;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark.small {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  line-height: 1.15;
}
.brand-sub {
  font-size: 11px;
  color: var(--muted-color);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 12px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px clamp(10px, 1.1vw, 16px);
  font-size: 14.5px;
  font-weight: 500;
  color: #334155;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #1d4ed8;
  background-color: #f1f5f9;
}
.nav-links a.active {
  color: #1d4ed8;
  background-color: #eff6ff;
  font-weight: 600;
}
.btn-portal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--primary-color);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  transition: all 0.2s ease;
}
.btn-portal-cta:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-login-nav {
  padding: 10px 22px;
  background-color: var(--primary-color);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-login-nav:hover {
  background-color: var(--secondary-color);
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--gray-700);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 2. Standard Buttons & Interactive Elements ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff !important;
}
.btn-primary:hover {
  background-color: var(--secondary-color);
  color: #ffffff !important;
}
.btn-secondary-hero {
  background-color: transparent;
  color: var(--primary-color) !important;
  border-color: var(--gray-300);
}
.btn-secondary-hero:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-400);
}
.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-color) !important;
  border-color: var(--primary-color);
}
.btn-outline-dark:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
}
.btn-white {
  background-color: #ffffff;
  color: var(--primary-color) !important;
}
.btn-white:hover {
  background-color: var(--gray-100);
}
.btn-outline {
  background-color: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}
.btn-primary-cta {
  background-color: #ffffff;
  color: var(--primary-color) !important;
  font-size: 15px;
  padding: 13px 32px;
}
.btn-primary-cta:hover {
  background-color: var(--gray-100);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}
.btn-danger { background-color: var(--danger); color: #fff; }
.btn-success { background-color: var(--success); color: #fff; }
.btn-secondary { background-color: var(--gray-200); color: var(--gray-700); }
.btn-secondary:hover { background-color: var(--gray-300); }

/* ── 3. Home Hero Section ─────────────────────────────────────────────────── */
.home-hero {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 68px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background-color: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.kicker-dot {
  width: 7px;
  height: 7px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}
.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-lead {
  font-size: 17px;
  color: var(--muted-color);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  width: 100%;
}
.visual-card {
  background-color: var(--dark-surface);
  border-radius: var(--radius);
  border: 1px solid var(--gray-700);
  padding: 16px;
  box-shadow: var(--shadow);
}
.visual-badge-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 12px;
}
.status-indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
}
.hero-svg {
  width: 100%;
  height: auto;
  display: block;
}
.visual-caption {
  margin-top: 10px;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}
.visual-caption code {
  color: #cbd5e1;
  background: rgba(255,255,255,0.08);
  padding: 2px 4px;
  border-radius: 3px;
}

/* ── 4. Section Utilities & Typography ───────────────────────────────────── */
.section {
  padding: 64px 0;
}
.subheading-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.subheading-tag-light {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.section-header {
  margin-bottom: 40px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted-color);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Intro Section */
.section-intro {
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}
.intro-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.intro-headline {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 14px;
}
.intro-body {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.7;
}

/* Services Preview Grid */
.section-services-preview {
  background-color: #ffffff;
}
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-preview-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
}
.service-preview-card:hover {
  transform: translateY(-2px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow);
}
.card-icon-box {
  width: 46px;
  height: 46px;
  background-color: #eff6ff;
  color: var(--secondary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-preview-card .card-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.service-preview-card .card-desc {
  font-size: 14px;
  color: var(--muted-color);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover {
  color: var(--primary-color);
}

/* Why Choose Us Section */
.section-why {
  background-color: var(--background-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
}
.why-number {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 12px;
}
.why-heading {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.why-text {
  font-size: 14px;
  color: var(--muted-color);
  line-height: 1.6;
}

/* About Preview Section */
.section-about-preview {
  background-color: #ffffff;
}
.about-preview-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  align-items: center;
}
.about-preview-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 14px;
}
.about-preview-text {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 24px;
}
.about-preview-stats-box {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stats-item-simple {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}
.stats-item-simple:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.stats-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.stats-desc {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Process Section */
.section-process {
  background-color: var(--background-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.process-step {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step-num-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #ebf4ff;
  color: var(--secondary-color);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 13px;
  color: var(--muted-color);
  line-height: 1.55;
}
.process-arrow {
  display: none;
}

/* CTA Section */
.section-cta {
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-heading {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  line-height: 1.6;
}
.cta-btn-wrap {
  display: flex;
  justify-content: center;
}

/* ── 5. Internal Page Headers ────────────────────────────────────────────── */
.page-header {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 52px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-header-content {
  max-width: 720px;
}
.page-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

/* ── 6. Services Detailed Page ───────────────────────────────────────────── */
.section-services-list {
  background-color: #ffffff;
}
.services-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.service-detail-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: #ffffff;
  align-items: flex-start;
}
.service-detail-icon {
  width: 64px;
  height: 64px;
  background-color: #eff6ff;
  color: var(--secondary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-meta-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.service-detail-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.service-detail-desc {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-key-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── 7. About Us Page Sections ───────────────────────────────────────────── */
.section-about-intro {
  background-color: #ffffff;
}
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: flex-start;
}
.paragraph-lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.7;
  margin-bottom: 16px;
}
.paragraph-body {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-overview-card {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
}
.callout-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.callout-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}
.callout-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.callout-checklist li {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}

/* Mission & Vision */
.section-mission-vision {
  background-color: var(--background-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
}
.mv-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.mv-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.mv-text {
  font-size: 15px;
  color: var(--muted-color);
  line-height: 1.65;
}

/* Approach Grid */
.section-approach {
  background-color: #ffffff;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.approach-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
}
.approach-index {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 12px;
}
.approach-heading {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.35;
}
.approach-desc {
  font-size: 14px;
  color: var(--muted-color);
  line-height: 1.6;
}

/* ── 8. Gallery Page Components ──────────────────────────────────────────── */
.section-gallery {
  background-color: #ffffff;
}
.gallery-dev-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 32px;
}
.notice-badge {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  background-color: #2563eb;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.gallery-dev-notice code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 4px;
  border-radius: 3px;
}
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.gallery-filter-btn {
  padding: 8px 18px;
  background-color: var(--gray-100);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.15s ease;
}
.gallery-filter-btn:hover {
  background-color: var(--gray-200);
  color: var(--primary-color);
}
.gallery-filter-btn.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.gallery-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--dark-surface);
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-card:hover .gallery-img {
  transform: scale(1.03);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #ffffff;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-zoom-icon {
  font-size: 20px;
}
.gallery-view-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.gallery-card-body {
  padding: 16px 18px;
}
.gallery-cat-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
.gallery-item-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}
.gallery-item-desc {
  font-size: 13px;
  color: var(--muted-color);
  line-height: 1.45;
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gallery-lightbox.is-open {
  display: flex;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
}
.lightbox-dialog {
  position: relative;
  z-index: 1000;
  background-color: #ffffff;
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.lightbox-close:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.lightbox-media-wrap {
  width: 100%;
  background-color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}
.lightbox-caption {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-color);
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

/* ── 9. Contact Page Components ──────────────────────────────────────────── */
.section-contact {
  background-color: #ffffff;
}
.contact-two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}
.contact-info-panel {
  display: flex;
  flex-direction: column;
}
.contact-panel-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.contact-panel-desc {
  font-size: 15px;
  color: var(--muted-color);
  line-height: 1.65;
  margin-bottom: 28px;
}
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.contact-detail-icon {
  width: 42px;
  height: 42px;
  background-color: #eff6ff;
  color: var(--secondary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
}
.contact-form-panel {
  background-color: #ffffff;
}
.form-panel-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-panel-heading {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}
.form-panel-sub {
  font-size: 14px;
  color: var(--muted-color);
  margin-bottom: 24px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.btn-submit-inquiry {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  margin-top: 8px;
}

/* ── 10. Professional Site Footer ────────────────────────────────────────── */
.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  background-color: var(--primary-color);
  color: #e2e8f0;
  padding: clamp(56px, 6vh, 76px) 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 3.5vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}
.footer-col-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo .brand-name {
  color: #ffffff;
}
.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 320px;
}
.footer-heading {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-link-list,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-link-list a:hover {
  color: #ffffff;
}
.footer-contact-list li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  display: flex;
  gap: 6px;
}
.contact-label {
  font-weight: 600;
  color: #ffffff;
}
.contact-val {
  color: rgba(255, 255, 255, 0.85);
}
.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-portal-link a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.footer-portal-link a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ── 11. Portal Auth Selection Entrance — Sliding Switch Interface ───────── */
.portal-auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background-color: var(--background-color);
  background-image: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.05) 0px, transparent 50%);
}
.portal-auth-container {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}
.portal-brand-header {
  text-align: center;
  margin-bottom: 28px;
}
.portal-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}
.portal-brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}
.portal-title {
  font-family: var(--font-head);
  font-size: clamp(21px, 2.8vw, 26px);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.portal-subtitle {
  font-size: 14.5px;
  color: var(--muted-color);
  line-height: 1.5;
}
.portal-alerts {
  margin-bottom: 20px;
}

/* Auth Card */
/* Segmented Sliding Switch Bar (Above Card) */
.auth-segmented-switch {
  display: flex;
  position: relative;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
  user-select: none;
  box-sizing: border-box;
  width: 100%;
}
.auth-switch-glider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}
.auth-segmented-switch[data-active="employee"] .auth-switch-glider {
  transform: translateX(100%);
}
.auth-switch-tab {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-600);
  background: transparent;
  border: none;
  outline: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.2s ease;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  margin: 0;
}
.auth-switch-tab:hover {
  color: var(--primary-color);
}
.auth-switch-tab.active {
  color: var(--primary-color);
  font-weight: 700;
}
.auth-switch-tab:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Auth Card Panel */
.portal-auth-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  min-height: 420px;
}

/* Panes */
.auth-slide-pane {
  padding: 28px 30px 32px;
  box-sizing: border-box;
  width: 100%;
}
.auth-slide-pane.pane-active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}
.auth-slide-pane.pane-hidden {
  display: none;
}

/* Slide Transition Animations */
.auth-slide-pane.anim-out-left {
  display: block;
  animation: paneSlideOutLeft 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.auth-slide-pane.anim-in-right {
  display: block;
  animation: paneSlideInRight 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.auth-slide-pane.anim-out-right {
  display: block;
  animation: paneSlideOutRight 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.auth-slide-pane.anim-in-left {
  display: block;
  animation: paneSlideInLeft 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paneSlideInRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes paneSlideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-28px); }
}
@keyframes paneSlideInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes paneSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(28px); }
}

/* Panel Header */
.portal-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.portal-icon-box {
  width: 46px;
  height: 46px;
  background-color: #eff6ff;
  color: var(--secondary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portal-panel-heading-text {
  flex: 1;
}
.portal-role-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.25;
  margin-bottom: 4px;
}
.portal-role-desc {
  font-size: 13.5px;
  color: var(--muted-color);
  line-height: 1.5;
  margin: 0;
}

/* Form Elements */
.auth-form .form-group {
  margin-bottom: 18px;
}
.auth-form .form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.auth-form .form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-color);
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.auth-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.auth-form .form-hint {
  font-size: 11.5px;
  color: var(--muted-color);
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}
.btn-portal-submit {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--primary-color);
  color: #ffffff !important;
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  margin-top: 8px;
}
.btn-portal-submit:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
}
.portal-panel-footer {
  text-align: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}
.forgot-link {
  font-size: 13px;
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}
.forgot-link:hover {
  text-decoration: underline;
  color: var(--accent-color);
}
.forgot-notice-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-color);
  line-height: 1.5;
  text-align: left;
}

/* Bottom Return Navigation */
.portal-bottom-nav {
  text-align: center;
  font-size: 13.5px;
}
.back-link {
  color: var(--muted-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.back-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Legacy fallback classes */
.portal-cards-grid {
  display: block;
}
.portal-card {
  background-color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 580px) {
  .portal-auth-wrapper {
    padding: 24px 16px;
  }
  .portal-auth-card {
    border-radius: 12px;
  }
  .auth-segmented-switch {
    margin: 16px 16px 4px;
  }
  .auth-switch-tab {
    padding: 9px 10px;
    font-size: 13.5px;
    gap: 6px;
  }
  .auth-slide-pane {
    padding: 18px 18px 24px;
  }
  .portal-panel-header {
    flex-direction: column;
    gap: 12px;
  }
}
.nav-divider {
  color: var(--gray-400);
}
.admin-discreet-link {
  color: var(--muted-color);
  text-decoration: none;
  font-size: 12px;
}
.admin-discreet-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ── 12. Cards and Enterprise Panels ─────────────────────────────────────── */
.card, .panel {
  background: var(--surface-color);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: none;
  overflow: hidden;
  margin-bottom: 20px;
}
.card-body, .panel-body { padding: 20px; }
.card-header, .panel-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-title, .panel-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}
.panel-header-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
}
.panel-header-link:hover {
  text-decoration: underline;
}

/* ── KPI & Stat Blocks (Compact & Professional) ─────────────────────────── */
.kpi-grid, .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .kpi-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .kpi-grid, .stat-grid { grid-template-columns: 1fr; }
}

.kpi-card, .stat-card {
  background: var(--surface-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kpi-label, .stat-label {
  font-size: 12px;
  color: var(--muted-color);
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.3;
}
.kpi-value, .stat-value {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
}
.kpi-positive { color: var(--success); }
.kpi-muted { color: var(--muted-color); }
.kpi-negative { color: var(--danger); }
.stat-icon { display: none; } /* Hide large decorative icons for clean minimal layout */

/* ── Enterprise Tables ───────────────────────────────────────────────────── */
.table-container, .table-wrap {
  overflow-x: auto;
  border: none;
  border-radius: 0;
  background: var(--surface-color);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-color);
  font-size: 13px;
}
.data-table thead {
  background: var(--gray-50);
}
.data-table th {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-color);
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--text-color);
  vertical-align: middle;
}
.data-table tbody tr:hover {
  background: var(--gray-50);
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.table-file-name {
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
}
.table-file-name:hover {
  text-decoration: underline;
  color: var(--accent-color);
}
.table-company-name {
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
}
.table-company-name:hover {
  text-decoration: underline;
  color: var(--accent-color);
}
.code-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--border-color);
}
.btn-table-action,
.btn-table-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  box-sizing: border-box;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  transition: all 0.15s ease;
  font-family: inherit;
}
.btn-table-action:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--text-color);
}
.btn-table-deactivate {
  color: var(--text-secondary);
  background: var(--surface-color);
}
.btn-table-deactivate:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--text-color);
}
.btn-table-activate {
  color: var(--success);
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.btn-table-activate:hover {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.btn-table-danger {
  font-size: 12px;
  font-weight: 500;
  color: var(--danger);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  text-decoration: none;
}
.btn-table-danger:hover {
  text-decoration: underline;
  color: #991b1b;
}
.btn-table-delete {
  color: var(--danger);
  background: #fff5f5;
  border-color: #fecaca;
}
.btn-table-delete:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #991b1b;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* ── Enterprise Confirmation Modal ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.modal-dialog {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  animation: modalFadeIn 0.15s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}
.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-btn:hover {
  color: var(--text-color);
  background: var(--gray-100);
}
.modal-body {
  padding: 20px;
}
.modal-footer {
  padding: 12px 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ── Restrained Enterprise Badges ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}
.badge-green, .badge-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.badge-red, .badge-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.badge-amber, .badge-warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.badge-blue, .badge-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.badge-gray, .badge-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border-color);
}
.badge-purple {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}
.badge-dark {
  background: #1e293b;
  color: #f8fafc;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group.mb-0 { margin-bottom: 0; }
.form-label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
}
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-color);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(37,99,235,.15);
}
.form-control.error { border-color: var(--danger); }
.form-hint { font-size: 12px; color: var(--muted-color); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-sm {
  font-size: 12px;
  padding: 6px 12px;
}
.btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}
.btn-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}
.btn-secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid var(--gray-300);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: #0f172a;
}
.btn-danger {
  background: var(--danger);
  color: #ffffff;
  border: 1px solid var(--danger);
}
.btn-danger:hover {
  background: #991b1b;
}

/* ── Alerts / Flash messages ──────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; border-left: 3px solid var(--success); }
.alert-danger  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-left: 3px solid var(--danger); }
.alert-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; border-left: 3px solid var(--warning); }
.alert-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; border-left: 3px solid var(--info); }
.flash-messages-wrap { padding: 0 24px; }

/* ── Compact Enterprise Sidebar & Dashboard Layout ────────────────────────── */
.dash-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  background: #0f172a;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
}
.sidebar-logo {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-logo .logo-box {
  width: 28px;
  height: 28px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-logo .logo-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
}
.sidebar-logo .logo-sub {
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.sidebar-nav {
  flex: 1;
  padding: 10px 0;
}
.nav-section-label {
  padding: 12px 18px 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  margin: 1px 10px;
  border-radius: var(--radius-sm);
  transition: all .15s ease;
  text-decoration: none;
}
.sidebar-link:hover {
  background: rgba(255,255,255,.05);
  color: #f8fafc;
}
.sidebar-link.active {
  background: #1e293b;
  color: #fff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #3b82f6;
}
.nav-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
}
.sidebar-user .avatar {
  width: 26px;
  height: 26px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  color: #94a3b8;
  flex-shrink: 0;
}
.sidebar-user .user-info { overflow: hidden; line-height: 1.2; }
.sidebar-user .user-name { font-size: 12px; font-weight: 500; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .user-role { font-size: 10px; color: #64748b; text-transform: capitalize; }

.sidebar-logout-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .15s ease;
}
.sidebar-logout-link:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Dashboard main content */
.dash-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--background-color);
}
@media (max-width: 768px) {
  .dash-main { margin-left: 0; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
}

.dash-topbar {
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  cursor: pointer;
  color: var(--text-color);
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: inline-flex; }
}

.dash-topbar .page-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-color);
}
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-user-email { font-size: 12px; color: var(--muted-color); }

.dash-content {
  padding: 24px 32px 36px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-title-main {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.01em;
  margin: 0;
}
.page-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.empty-state-simple {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted-color);
  font-size: 13px;
}
.empty-state-simple p {
  margin-bottom: 12px;
  color: var(--muted-color);
}
.empty-state-simple .btn {
  margin-top: 4px;
}

/* Pagination in panels */
.pagination-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-color);
  font-size: 12px;
}
.pagination-info {
  color: var(--muted-color);
}
.pagination-controls {
  display: flex;
  gap: 4px;
  align-items: center;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--surface-color);
  color: var(--text-color);
  font-size: 12px;
  text-decoration: none;
}
.page-link:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}
.page-link.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
}
.page-ellipsis {
  padding: 0 4px;
  color: var(--muted-color);
}
.sidebar-overlay.is-visible {
  display: block !important;
}


/* ── Page Headers ─────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
}
.page-header p { font-size: 14px; color: var(--gray-500); margin-top: 4px; }

/* ── Login pages ──────────────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -200px;
  right: -200px;
}
.login-page::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -150px;
  left: -100px;
}
.login-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  padding: 40px 40px 36px;
  position: relative;
  z-index: 1;
}
.login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-logo .logo-box {
  width: 56px;
  height: 56px;
  background: var(--brand-grad);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}
.login-logo h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
}
.login-logo p { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.login-btn {
  width: 100%;
  padding: 13px;
  background: var(--brand-grad);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  margin-top: 8px;
}
.login-btn:hover { opacity: .92; transform: translateY(-1px); }
.login-footer { text-align: center; margin-top: 24px; font-size: 13px; color: var(--gray-400); }
.login-footer a { color: var(--brand-accent); font-weight: 600; }

/* Login select cards */
.login-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.login-option-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  color: var(--gray-700);
  display: block;
}
.login-option-card:hover {
  border-color: var(--brand-accent);
  background: #eff6ff;
  transform: translateY(-3px);
  color: var(--brand-accent);
  box-shadow: var(--shadow);
}
.login-option-card .opt-icon { font-size: 32px; margin-bottom: 10px; }
.login-option-card .opt-title { font-weight: 700; font-size: 15px; }
.login-option-card .opt-desc { font-size: 12px; color: var(--gray-400); margin-top: 4px; }

/* ── Section Styles (public pages) ───────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.section-sub { font-size: 17px; color: var(--gray-500); max-width: 560px; }

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .25s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--brand-light);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: #dbeafe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ── Gallery Grid ─────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-200);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  transition: transform .2s;
  position: relative;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; margin-top: 48px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #dbeafe;
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-text .label { font-weight: 700; font-size: 14px; color: var(--gray-900); }
.contact-info-text .value { font-size: 14px; color: var(--gray-500); margin-top: 2px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 40px 0 24px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: #fff; font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--gray-400); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; text-align: center; font-size: 13px; }

/* ── Placeholder / Coming Soon ────────────────────────────────────────────── */
.placeholder-box {
  text-align: center;
  padding: 64px 32px;
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
}
.placeholder-box .ph-icon { font-size: 56px; margin-bottom: 16px; opacity: .4; }
.placeholder-box h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.placeholder-box p { font-size: 14px; color: var(--gray-400); max-width: 440px; margin: 0 auto; }

/* ── Empty state ──────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}
.empty-state .empty-icon { font-size: 48px; opacity: .3; margin-bottom: 12px; }
.empty-state h4 { font-family: var(--font-head); font-weight: 700; color: var(--gray-500); margin-bottom: 6px; }
.empty-state p { font-size: 13px; color: var(--gray-400); }

/* ── Pagination ───────────────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  transition: all .2s;
}
.pagination a:hover { background: var(--gray-100); }
.pagination .active { background: var(--brand-accent); color: #fff; border-color: var(--brand-accent); }

/* ── Filters / Search bar ─────────────────────────────────────────────────── */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-input-wrap { position: relative; }
.search-input-wrap .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 15px; }
.search-input-wrap input { padding-left: 36px; }

/* ── About page ───────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-visual {
  background: var(--brand-grad);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,.6);
}
.about-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #dbeafe;
  color: var(--brand-accent);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.value-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.value-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray-600); }
.value-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); margin-top: 6px; flex-shrink: 0; }

/* ── Mobile responsive overrides ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .mobile-menu-btn { display: flex; }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 24px 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid var(--border-color);
    align-items: stretch;
    gap: 16px;
  }
  .nav-menu.nav-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    padding: 11px 16px;
    font-size: 15px;
  }
  .btn-login-nav {
    display: block;
    text-align: center;
    padding: 12px;
  }
  .mobile-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-preview-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }
  .about-overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-flow {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .contact-two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .portal-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 44px 0 40px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .process-flow {
    grid-template-columns: 1fr;
  }
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .form-panel-card {
    padding: 24px 20px;
  }
  .dash-content {
    padding: 16px;
  }
}

/* ── Error pages ──────────────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--gray-50);
}
.error-code {
  font-family: var(--font-head);
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.error-page h2 { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--gray-800); margin-bottom: 12px; }
.error-page p { font-size: 16px; color: var(--gray-500); max-width: 440px; margin: 0 auto 28px; }

/* ── 13. Employee Portal Design System & Layout ───────────────────────────── */

/* Scope override: ensure no oversized dark banners inside dash-content */
.dash-content .page-header {
  background: none !important;
  color: var(--text-color) !important;
  padding: 0 !important;
  border-bottom: none !important;
  margin-bottom: 20px !important;
}
.dash-content .page-header h1 {
  color: var(--text-color) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}
.dash-content .page-header p {
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  margin-top: 2px !important;
}

/* Employee Summary Grid — responsive full-width */
.emp-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}
@media (max-width: 640px) {
  .emp-summary-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Multi-column Employee Dashboard Layout (Fixed Sidebar | Full-width Content) */
.emp-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.6fr);
  gap: 24px;
  width: 100%;
  align-items: start;
}
@media (max-width: 1080px) {
  .emp-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Multi-column Profile Info Grid */
.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 32px;
  width: 100%;
}
@media (max-width: 640px) {
  .profile-info-grid {
    grid-template-columns: 1fr;
  }
}

.emp-summary-grid .kpi-card {
  background: var(--surface-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kpi-value-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Two-column Info Grid */
.info-grid {
  display: flex;
  flex-direction: column;
}
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}
.info-row:last-child {
  border-bottom: none;
}
.info-label {
  color: var(--muted-color);
  font-weight: 500;
  width: 140px;
  flex-shrink: 0;
}
.info-value {
  color: var(--text-color);
  flex: 1;
  text-align: left;
}
@media (max-width: 540px) {
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }
  .info-label, .info-value {
    width: 100%;
  }
}

/* Topbar user badge */
.topbar-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.topbar-user-name {
  font-weight: 500;
  color: var(--text-color);
}
@media (max-width: 640px) {
  .topbar-user-name {
    display: none;
  }
}

/* Compact empty state */
.empty-state-simple {
  padding: 36px 20px;
  text-align: center;
}
.empty-state-simple .empty-state-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}
.empty-state-simple .empty-state-desc {
  font-size: 13px;
  color: var(--muted-color);
  margin: 0;
}

/* Clean Enterprise Login Portal */
.login-page-enterprise {
  min-height: 100vh;
  width: 100%;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  box-sizing: border-box;
}
.login-page-enterprise::before,
.login-page-enterprise::after {
  display: none !important;
}
.login-page-enterprise .login-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
  padding: 36px 32px 28px;
}
.login-page-enterprise .login-logo {
  text-align: center;
  margin-bottom: 24px;
}
.login-page-enterprise .logo-box {
  width: 44px;
  height: 44px;
  background: var(--primary-color);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}
.login-page-enterprise .login-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 4px;
}
.login-page-enterprise .login-subtitle {
  font-size: 13px;
  color: var(--muted-color);
}
.login-page-enterprise .form-group {
  margin-bottom: 16px;
}
.login-page-enterprise .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 6px;
}
.login-page-enterprise .form-control {
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-color);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.login-page-enterprise .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.login-page-enterprise .btn-login-submit {
  width: 100%;
  height: 40px;
  background: var(--primary-color);
  color: #ffffff;
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.login-page-enterprise .btn-login-submit:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}
.login-page-enterprise .login-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
}
.login-page-enterprise .login-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
}
.login-page-enterprise .login-footer a:hover {
  color: var(--text-color);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TEAM WORK MANPOWER SERVICES — Modern Corporate Design System
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Hero Section & Corporate Full-Width Slider ────────────────────────────── */
.twm-hero-section {
  position: relative;
  width: 100%;
  height: clamp(580px, 80vh, 760px);
  min-height: 580px;
  overflow: hidden;
  background-color: #060c17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-slider-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Professional dark gradient overlay over the image:
   Stronger behind text on the left, gradually lighter toward the opposite side */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 10, 20, 0.95) 0%,
    rgba(6, 12, 23, 0.90) 35%,
    rgba(8, 15, 29, 0.78) 55%,
    rgba(8, 15, 29, 0.42) 78%,
    rgba(8, 15, 29, 0.20) 100%
  );
  z-index: 1;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 20, 0.35) 0%,
    transparent 25%,
    transparent 70%,
    rgba(5, 10, 20, 0.75) 100%
  );
  z-index: 1;
}

.hero-slide-container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-left: clamp(24px, 4vw, 50px);
  padding-right: clamp(24px, 4vw, 50px);
}
.hero-slide-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 2.5s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.75; }
}
.hero-headline {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}
.hero-accent-text {
  color: #60a5fa;
  background: linear-gradient(135deg, #93c5fd 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-paragraph {
  font-size: clamp(16px, 1.15vw, 18.5px);
  color: #e2e8f0;
  line-height: 1.68;
  margin-bottom: 34px;
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-twm-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}
.btn-twm-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.5);
}
.btn-twm-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.btn-twm-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.hero-portal-link {
  display: inline-flex;
  align-items: center;
  color: #93c5fd;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 10px 14px;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.hero-portal-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Hero Slider Navigation */
.hero-slider-nav {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: auto;
}
.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.slider-arrow:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: scale(1.08);
}
.slider-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.5);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.slider-indicators .dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-indicators .dot.active {
  width: 32px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* ── Section Globals & Typography ─────────────────────────────────────────── */
.twm-section {
  padding: clamp(64px, 7.5vh, 96px) 0;
  width: 100%;
}
.twm-section-light {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.twm-section-header {
  margin-bottom: clamp(36px, 4.5vw, 54px);
}
.twm-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.twm-section-heading {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 12px;
}
.twm-section-subheading {
  font-size: 16px;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── 2. Company Introduction Section ──────────────────────────────────────── */
.twm-intro-section {
  background: #ffffff;
  padding: clamp(54px, 6vh, 76px) 0;
  border-bottom: 1px solid #f1f5f9;
}
.intro-content-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.intro-main-text {
  font-size: clamp(17px, 1.35vw, 20px);
  color: #334155;
  line-height: 1.7;
  font-weight: 400;
  margin-top: 16px;
  text-wrap: balance;
}

/* ── 3. Why Choose Us (4 Columns) ─────────────────────────────────────────── */
.twm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 28px);
  width: 100%;
}
.twm-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(26px, 2.5vw, 34px) clamp(22px, 2vw, 26px);
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.twm-value-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
}
.card-number {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1;
  margin-bottom: 16px;
}
.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-indigo { background: #eef2ff; color: #4f46e5; }
.icon-cyan { background: #ecfeff; color: #0891b2; }
.icon-emerald { background: #ecfdf5; color: #059669; }

.card-title {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.card-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ── 4. Services Grid (6 Cards) ───────────────────────────────────────────── */
.twm-services-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.2vw, 30px);
  width: 100%;
}
.twm-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(26px, 2.6vw, 34px) clamp(22px, 2.2vw, 28px);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.twm-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.twm-service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
}
.twm-service-card:hover::before {
  opacity: 1;
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-badge {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-title {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.service-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 22px;
  flex-grow: 1;
}
.service-link {
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.service-link:hover {
  color: #1d4ed8;
  gap: 10px;
}

/* ── 5. Process Methodology (4-Step Workflow) ─────────────────────────────── */
.twm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 28px);
  width: 100%;
}
.twm-process-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(26px, 2.5vw, 32px) clamp(20px, 2vw, 24px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.twm-process-step:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
}
.step-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
}
.step-heading {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── 6. About Company Summary ─────────────────────────────────────────────── */
.twm-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 4.5vw, 68px);
  align-items: center;
  width: 100%;
}
.twm-about-text .lead-text {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.62;
  margin-bottom: 16px;
}
.twm-about-text .body-text {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 26px;
}
.about-highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
.highlight-check {
  color: #10b981;
  font-weight: 800;
}
.btn-twm-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid #0f172a;
  color: #0f172a;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-twm-outline-dark:hover {
  background: #0f172a;
  color: #ffffff;
}
.about-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.about-image-card img {
  width: 100%;
  height: clamp(360px, 28vw, 440px);
  object-fit: cover;
  display: block;
}
.about-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.5) 70%, transparent 100%);
  padding: 24px 22px 18px;
}
.overlay-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #60a5fa;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}
.overlay-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

/* ── 7. Call To Action Card ───────────────────────────────────────────────── */
.twm-section-cta {
  padding: clamp(48px, 6vh, 80px) 0 clamp(64px, 8vh, 100px);
}
.twm-cta-card {
  background: linear-gradient(135deg, #090e1a 0%, #0f172a 60%, #1e3a8a 100%);
  border-radius: 18px;
  padding: clamp(44px, 5.5vw, 68px) clamp(24px, 4vw, 56px);
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.cta-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  display: inline-block;
  margin-bottom: 12px;
}
.cta-title {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta-subtitle {
  font-size: clamp(16px, 1.2vw, 19px);
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.btn-twm-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-twm-cta-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}
.btn-twm-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.btn-twm-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ── 8. Corporate Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: #0b1329;
  color: #94a3b8;
  padding: 68px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  width: 100%;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 3.5vw, 56px);
  margin-bottom: 48px;
  width: 100%;
}
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px;
}
.footer-brand-name {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.footer-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 380px;
  margin: 0;
}
.footer-heading {
  font-family: 'Plus Jakarta Sans', var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-link-list,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
  font-size: 14px;
}
.footer-link-list a:hover {
  color: #ffffff;
}
.footer-contact-list li {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact-list .contact-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}
.footer-contact-list .contact-val {
  color: #ffffff;
  font-weight: 500;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13.5px;
  color: #64748b;
}
.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-portal-link a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
}
.footer-portal-link a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ── 9. Responsive Adjustments ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .twm-services-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .twm-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .twm-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-container {
    padding: 0 20px;
  }
  .twm-hero-section {
    height: auto;
    min-height: 600px;
  }
  .hero-slide {
    display: flex;
    align-items: center;
    padding: 30px 0 68px;
    box-sizing: border-box;
  }
  .hero-slide::before {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 20, 0.94) 0%,
      rgba(6, 12, 23, 0.88) 55%,
      rgba(8, 15, 29, 0.70) 100%
    );
  }
  .hero-headline {
    font-size: clamp(30px, 4.5vw, 42px);
  }
  .twm-about-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px 28px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.15);
    border-bottom: 1px solid #e2e8f0;
    align-items: stretch;
    gap: 16px;
    z-index: 400;
  }
  .nav-menu.nav-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    padding: 12px 16px;
    font-size: 15px;
  }
  .btn-portal-cta {
    justify-content: center;
    padding: 12px 20px;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 16px;
    gap: 10px;
  }
  .nav-logo {
    gap: 10px;
    min-width: 0;
  }
  .nav-brand-title {
    font-size: 15px;
    white-space: normal;
    line-height: 1.15;
  }
  .mobile-toggle {
    flex-shrink: 0;
  }
  .twm-hero-section {
    min-height: 640px;
  }
  .hero-slide {
    padding: 24px 0 74px;
  }
  .hero-eyebrow {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }
  .hero-headline {
    font-size: clamp(26px, 6.2vw, 34px);
    margin-bottom: 14px;
  }
  .hero-paragraph {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .btn-twm-primary,
  .btn-twm-secondary,
  .hero-portal-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
  }
  .hero-slider-nav {
    bottom: 18px;
  }
  .twm-services-grid-modern,
  .twm-grid-4,
  .twm-process-grid {
    grid-template-columns: 1fr;
  }
  .about-highlights-list {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-twm-cta-primary,
  .btn-twm-cta-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

