/* ===================================================================
   STERIFY SOLUTIONS - CLEAN ENTERPRISE DESIGN SYSTEM
   Theme: Crisp Corporate White & Royal Blue
   Clean, human-designed, professional, high-contrast & accessible.
   =================================================================== */

:root {
  /* Surfaces & Backgrounds */
  --bg-primary: #ffffff;          /* Clean Pure White */
  --bg-secondary: #f8fafc;        /* Subtle Light Slate for Alternate Sections */
  --bg-card: #ffffff;             /* Crisp White Card Surface */
  --bg-card-hover: #ffffff;       /* Card Hover State */
  --bg-card-subtle: #f1f5f9;      /* Light Gray/Blue Recessed Well */
  --bg-glass: rgba(255, 255, 255, 0.95);

  /* Borders & Dividers */
  --border-color: #e2e8f0;        /* Clean Crisp Slate Border */
  --border-hover: #cbd5e1;        /* Subtle Active Border */
  --border-focus: #2563eb;        /* Royal Blue Focus Ring */
  --border-light: #f1f5f9;        /* Delicate Divider */

  /* Primary Brand & Accents (White & Blue Palette) */
  --brand-primary: #1d4ed8;       /* Executive Royal Blue */
  --brand-primary-hover: #1e40af; /* Deep Royal Navy Blue */
  --brand-blue-light: #eff6ff;    /* Soft Tint Blue Background */
  --brand-blue-border: #bfdbfe;   /* Soft Blue Border */
  --brand-indigo: #2563eb;        /* Modern Tech Blue */
  --brand-cyan: #0284c7;          /* Classic Technical Cyan/Sky */
  --brand-purple: #4338ca;
  --brand-emerald: #059669;       /* Verification Emerald */
  --brand-amber: #d97706;         /* Warning / Review Amber */
  --brand-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  --brand-gradient-hover: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);

  /* Typography Colors */
  --text-primary: #0f172a;        /* Deep Slate Navy / Charcoal - Crisp Contrast */
  --text-secondary: #475569;      /* Refined Slate-600 Body Copy */
  --text-muted: #64748b;          /* Subtle Slate-500 Caption */
  --text-accent: #1d4ed8;         /* High-Contrast Royal Blue */

  /* Typography Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows - Soft, Clean & Modern */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.07), 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.03);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);

  /* Structure */
  --header-height: 72px;
  --container-max: 1240px;
}

/* ===================================================================
   BASE RESET & TYPOGRAPHY
   =================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Remove AI glow blur effects completely */
.bg-glow {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding-top: 84px;
  padding-bottom: 84px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
}

.gradient-text {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--brand-primary);
  font-weight: 800;
}

.text-center {
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===================================================================
   BUTTONS (CLEAN WHITE & ROYAL BLUE)
   =================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff !important;
  border-color: var(--brand-primary);
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-outline:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue-border);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.w-full {
  width: 100%;
}

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */

.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-symbol {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-symbol svg {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a !important;
  letter-spacing: -0.025em;
}

.brand-accent {
  color: #1d4ed8 !important;
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 32px;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #0f172a !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover {
  color: #1d4ed8 !important;
}

.nav-link.active {
  color: #1d4ed8 !important;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #1d4ed8;
  border-radius: 2px;
}

.badge-hiring {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* User Account Badge in Navbar */
.user-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.user-nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #ffffff;
  flex-shrink: 0;
}

.user-nav-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.btn-nav-logout {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 4px;
  transition: opacity var(--transition-fast);
}

.btn-nav-logout:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger-btn .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.hamburger-btn.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.open {
  display: block;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link.active {
  color: var(--brand-primary) !important;
}

/* ===================================================================
   HERO SECTION (CLEAN WHITE TO SOFT BLUE GRADIENT)
   =================================================================== */

.hero-section {
  padding-top: clamp(60px, 8vw, 95px);
  padding-bottom: 75px;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-section::before {
  display: none !important;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.08);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 920px;
  color: var(--text-primary);
}

.hero-subtext {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 740px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-subtext strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.badge-pulse {
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-blue-border);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 960px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 22px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===================================================================
   TRUSTED TECH ECOSYSTEM STRIP
   =================================================================== */

.trusted-strip {
  border-bottom: 1px solid var(--border-color);
  background: #f8fafc;
  padding: 26px 0;
  position: relative;
}

.trusted-label {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.trusted-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-fast);
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.trusted-logo-item:hover {
  color: var(--brand-primary);
  border-color: var(--brand-blue-border);
  background: var(--brand-blue-light);
  transform: translateY(-1px);
}

.trusted-logo-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--brand-primary);
}

/* ===================================================================
   SERVICES SECTION & CARDS
   =================================================================== */

.section-header {
  margin-bottom: 48px;
}

.services-grid, .teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card, .teaser-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.service-card:hover, .teaser-card:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(29, 78, 216, 0.08);
}

.service-card-featured {
  border: 1.5px solid var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(29, 78, 216, 0.12);
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
}

.icon-cyan, .icon-indigo, .icon-purple, .icon-emerald, .icon-gradient, .icon-sky {
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
}

.service-card h3, .teaser-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p, .teaser-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.teaser-cta {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.teaser-cta:hover {
  gap: 10px;
  color: var(--brand-primary-hover);
}

.page-hero {
  padding-top: clamp(60px, 8vw, 90px);
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hero .hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 920px;
  color: var(--text-primary);
  margin-left: auto;
  margin-right: auto;
}

.page-hero .hero-subtext {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 740px;
  line-height: 1.75;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
}

.service-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.service-tags span {
  background: #f8fafc;
  color: #334155;
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.service-card:hover .service-tags span {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--brand-primary);
}

.service-link {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  color: var(--brand-primary-hover);
  gap: 10px;
}

/* Delivery Lifecycle 5-Stage Grid */
.delivery-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 1200px) {
  .delivery-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .delivery-steps-grid {
    grid-template-columns: 1fr;
  }
}

.delivery-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.delivery-step-card:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(29, 78, 216, 0.08);
}

.delivery-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 18px;
}

.delivery-step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.delivery-step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Call to Action Banner Box */
.cta-banner-box {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 12px 30px -6px rgba(29, 78, 216, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner-box h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: #ffffff !important;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner-box p {
  color: #e0f2fe;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-banner-box .btn-primary {
  background: #ffffff;
  color: #1d4ed8 !important;
  border-color: #ffffff;
}

.cta-banner-box .btn-primary:hover {
  background: #f0f7ff;
  color: #1e40af !important;
  transform: translateY(-2px);
}

.cta-banner-box .btn-outline {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-banner-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.section-cta-center {
  text-align: center;
  margin-top: 48px;
}

/* ===================================================================
   ABOUT & ENGINEERING HIGHLIGHTS SECTION
   =================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-p strong {
  color: var(--text-primary);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Visual Highlights Box */
.visual-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.visual-header {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.circle-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.circle-btn.red { background: #ef4444; }
.circle-btn.yellow { background: #f59e0b; }
.circle-btn.green { background: #10b981; }

.window-title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: monospace;
}

.code-preview {
  background: #0f172a;
  color: #e2e8f0;
  padding: 24px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-x: auto;
}

.code-comment { color: #64748b; }
.code-keyword { color: #93c5fd; font-weight: 600; }
.code-func { color: #38bdf8; }
.code-str { color: #34d399; }
.code-bool { color: #fbbf24; }

.visual-stats-badge {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.visual-stats-badge strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.visual-stats-badge p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
}

.cap-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.cap-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.cap-box h5 {
  font-size: 0.96rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cap-box p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Values Grid & Architecture Value Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(29, 78, 216, 0.08);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================================================
   TECH STACK PILLS
   =================================================================== */

.tech-pills-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-category {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-xs);
}

.cat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 190px;
  flex-shrink: 0;
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  border-color: #93c5fd;
  color: var(--brand-primary);
  background: var(--brand-blue-light);
}

/* ===================================================================
   CAREERS & JOB LISTINGS PORTAL
   =================================================================== */

.careers-header-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.careers-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.perk-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: all var(--transition-normal);
}

.perk-box:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.perk-icon-svg {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.perk-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.perk-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Filter Tabs */
.careers-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--brand-primary);
  border-color: #93c5fd;
  background: var(--brand-blue-light);
}

.filter-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

/* Job Cards Grid */
.job-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.job-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.job-card:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(29, 78, 216, 0.08);
}

.job-card.hidden {
  display: none;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.job-dept {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 4px;
}

.job-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.job-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.badge-fulltime {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border-color);
}

.job-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.salary-highlight {
  background: #ecfdf5;
  color: #047857 !important;
  border: 1px solid #a7f3d0;
  font-weight: 700 !important;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.job-skills span {
  font-size: 0.74rem;
  color: #334155;
  background: #f8fafc;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
}

.job-card-footer {
  margin-top: auto;
}

.job-card-footer .btn {
  width: 100%;
}

/* Spontaneous Box */
.spontaneous-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.spontaneous-text h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.spontaneous-text p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* ===================================================================
   HIRING & INTERVIEW PROCESS SECTION
   =================================================================== */

.hiring-process-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.process-step-card:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(29, 78, 216, 0.08);
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.process-step-card h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.process-step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===================================================================
   CONTACT & INQUIRY SECTION
   =================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.detail-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.contact-detail-item span, .contact-detail-item a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-detail-item a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Styled Form Components */
.styled-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="password"],
.styled-form input[type="tel"],
.styled-form input[type="url"],
.styled-form select,
.styled-form textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
  border-color: var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.styled-form input[readonly] {
  background: #f8fafc;
  cursor: not-allowed;
  border-color: var(--border-color);
  color: var(--text-muted);
}

.styled-form select {
  cursor: pointer;
}

.styled-form select option {
  background-color: #ffffff;
  color: var(--text-primary);
}

/* Dropzone */
.file-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all var(--transition-fast);
  position: relative;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--brand-primary);
  background: var(--brand-blue-light);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.dropzone-icon {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
}

.dropzone-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.dropzone-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ===================================================================
   MODALS: AUTH, CAREER APPLICATION & ADMIN DASHBOARD
   =================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.auth-modal-card {
  max-width: 480px;
}

.admin-modal-card {
  max-width: 1120px;
  width: 95%;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
  border: 1px solid var(--border-color);
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.25);
}

.auth-switch-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

.auth-switch-text a {
  color: var(--brand-primary);
  text-decoration: underline;
}

.applicant-badge-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #047857;
  margin-top: 12px;
}

.status-indicator-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* Google Auth Button & Divider */
.google-auth-wrapper {
  margin-bottom: 16px;
}

.btn-google-signin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.btn-google-signin:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.google-icon {
  width: 18px;
  height: 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0 20px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
  padding: 0 12px;
}

/* ===================================================================
   ADMIN DASHBOARD STYLES
   =================================================================== */

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-actions-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.admin-stat-box strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-heading);
  color: var(--brand-primary);
}

.admin-stat-box span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.table-responsive-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  max-height: 480px;
  overflow-y: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
  white-space: nowrap;
}

.admin-data-table th {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 5;
}

.admin-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: #334155;
}

.admin-data-table tr:hover td {
  background: #f8fafc;
}

.applicant-email-badge {
  font-weight: 500;
  color: var(--brand-primary);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
}

.status-badge-approved {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge-review {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-admin-action {
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-blue-border);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-admin-action:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

/* Candidate Applications List */
.candidate-apps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.candidate-app-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.candidate-app-info h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.candidate-app-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

/* ===================================================================
   TOAST NOTIFICATION
   =================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 320px;
  max-width: 440px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: toastSlideIn 0.3s ease-out;
  transition: opacity 0.3s ease;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-success { border-left: 4px solid #10b981; }
.toast-error { border-left: 4px solid #ef4444; }
.toast-info { border-left: 4px solid #1d4ed8; }
.toast-warning { border-left: 4px solid #f59e0b; }

.toast-icon { font-size: 1.1rem; }
.toast-body strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.toast-body p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* ===================================================================
   FOOTER (CLEAN CORPORATE SLATE & BLUE)
   =================================================================== */

.footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  padding-top: 64px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-bio {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-nav-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav-col ul a:hover {
  color: var(--brand-primary);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.social-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.social-link:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

.footer-email {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-email a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: #ffffff;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--brand-primary);
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
   =================================================================== */

@media (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .careers-perks-grid, .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .careers-perks-grid, .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   NEW PROFESSIONAL ENTERPRISE FUNCTIONALITY STYLES
   Theme: Crisp Corporate White & Royal Blue
   =================================================================== */

/* 1. Job Search & Applied State */
.job-search-wrapper {
  margin-bottom: 24px;
  position: relative;
}

.job-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.job-search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.job-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.btn-applied {
  background: var(--brand-emerald) !important;
  border-color: var(--brand-emerald) !important;
  color: #ffffff !important;
  cursor: pointer;
}

.candidate-applied-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--brand-emerald);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

/* 2. Project Cost & Timeline Estimator Widget */
.estimator-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}

.estimator-steps-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.estimator-step-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.estimator-step-btn.active {
  background: var(--brand-blue-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.estimator-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.estimator-step-btn.active .estimator-step-num {
  background: var(--brand-primary);
  color: #ffffff;
}

.estimator-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.estimator-choice-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.estimator-choice-card:hover {
  border-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.estimator-choice-card.selected {
  border-color: var(--brand-primary);
  background: var(--brand-blue-light);
}

.estimator-choice-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.estimator-choice-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 0;
}

.estimator-result-panel {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.estimator-stat-item {
  display: flex;
  flex-direction: column;
}

.estimator-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}

.estimator-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  font-family: var(--font-heading);
}

/* 3. Case Studies / Client Success Stories */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.case-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-xl);
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.case-client-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-blue-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.case-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.case-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.case-metric-box strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.case-metric-box span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 4. Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
  text-align: center;
}

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

.industry-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px auto;
  border-radius: var(--radius-md);
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* 5. Client Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.testimonial-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 6. Floating 24/7 AI Virtual Assistant Widget */
.ai-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px -5px rgba(29, 78, 216, 0.4);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition-normal);
}

.ai-chat-launcher:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -4px rgba(29, 78, 216, 0.5);
}

.ai-chat-launcher svg {
  width: 22px;
  height: 22px;
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.ai-chat-window {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition-normal);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
}

.ai-chat-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-chat-header {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-header-title h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.ai-chat-header-title span {
  font-size: 0.75rem;
  color: #bfdbfe;
}

.ai-chat-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-secondary);
}

.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

.ai-msg-bot {
  align-self: flex-start;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 2px;
}

.ai-msg-user {
  align-self: flex-end;
  background: var(--brand-primary);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.ai-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.ai-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--brand-primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-chip:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-primary);
}

.ai-chat-input-bar {
  display: flex;
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  gap: 8px;
}

.ai-chat-input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--text-primary);
}

.ai-chat-input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.ai-chat-send {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 7. Global Search Modal (Ctrl + K) */
.search-modal-card {
  max-width: 620px;
  width: 90%;
  padding: 0;
  overflow: hidden;
}

.search-header-box {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-main-input {
  flex: 1;
  border: none;
  font-size: 1.1rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
}

.search-results-box {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px 16px;
}

.search-item {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.search-item:hover {
  background: var(--bg-secondary);
}

.search-item-info h5 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.search-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.search-item-category {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  font-weight: 600;
}

.kbd-badge {
  font-size: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* 8. Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.08);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 800px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* 9. Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-input {
  flex: 1;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--brand-primary);
}
