/* ==========================================================================
   KARAN DEEPAK ARORA — EXECUTIVE PORTFOLIO DESIGN SYSTEM
   Theme: Crisp Corporate & Modern Executive Light (Mobile-First)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Color Palette - Crisp Corporate Light */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-input: #ffffff;
  
  --text-primary: #0f172a;       /* Slate 900 */
  --text-secondary: #334155;     /* Slate 700 */
  --text-muted: #64748b;         /* Slate 500 */
  --text-dim: #94a3b8;           /* Slate 400 */
  
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-accent: rgba(37, 99, 235, 0.35);
  
  /* Brand Accents */
  --accent-primary: #2563eb;       /* Royal Blue */
  --accent-primary-hover: #1d4ed8;
  --accent-secondary: #0284c7;     /* Sky Blue */
  --accent-success: #059669;       /* Emerald */
  --accent-warning: #d97706;       /* Amber */
  --accent-danger: #dc2626;        /* Red */
  
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  
  /* Typography & Layout */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::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;
}

section[id] {
  scroll-margin-top: 78px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

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

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

a:hover {
  color: var(--accent-primary-hover);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section-spacing {
  padding: 85px 0;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 55px 0;
  }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 46px auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 800;
  color: #0f172a;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
}

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

.highlight-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary) !important;
  border-color: var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary) !important;
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary) !important;
  background: #eff6ff;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

/* ==========================================================================
   NAVIGATION BAR & MOBILE DRAWER
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-role {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

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

/* Hamburger button */
.mobile-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  padding: 7px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Slide-Over Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0 4px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
  flex-grow: 1;
}

.drawer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  padding: 6px 0;
}

.drawer-link:hover {
  color: var(--accent-primary);
}

.drawer-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .linkedin-btn .btn-text {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: 130px;
  padding-bottom: 70px;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #0284c7;
  border-radius: 50%;
  box-shadow: 0 0 6px #0284c7;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
  color: #0f172a;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
}

.hero-description {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hero-description {
    font-size: 0.96rem;
  }
}

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

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

/* KPI Counter Bar */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

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

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

.kpi-value {
  font-family: var(--font-mono);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   EXECUTIVE SUMMARY & ABOUT GRID
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.about-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-primary);
  margin-bottom: 14px;
}

.about-card-title {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: #0f172a;
}

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

/* ==========================================================================
   CONSULTING & SERVICES SECTION
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

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

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}

.service-deliverables {
  list-style: none;
  margin-bottom: 22px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.service-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.service-deliverables li::before {
  content: '✓';
  color: var(--accent-success);
  font-weight: 700;
}

.service-cta {
  align-self: flex-start;
}

@media (max-width: 480px) {
  .service-cta {
    width: 100%;
  }
}

/* ==========================================================================
   PROJECTS & CASE STUDIES SECTION
   ========================================================================== */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.filter-btn.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.project-card-header {
  padding: 22px 22px 14px 22px;
  border-bottom: 1px solid var(--border-subtle);
  background: #fafafa;
}

.project-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.project-category-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.project-org {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.project-title {
  font-size: 1.18rem;
  margin-bottom: 6px;
  line-height: 1.3;
  color: #0f172a;
}

.project-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.project-card-body {
  padding: 16px 22px;
  flex-grow: 1;
}

.breakdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.breakdown-toggle:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.breakdown-content {
  display: none;
  padding: 12px 0 4px 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.breakdown-content.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.breakdown-item {
  margin-bottom: 10px;
}

.breakdown-label {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-card-footer {
  padding: 14px 22px 18px 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.project-metric-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--accent-success);
  font-weight: 600;
}

/* ==========================================================================
   INTERACTIVE NETSUITE 3-WAY RECONCILIATION SIMULATOR
   ========================================================================== */

.simulation-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .simulation-wrapper {
    padding: 18px 14px;
  }
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-title-group h3 {
  font-size: 1.3rem;
  margin-bottom: 3px;
  color: #0f172a;
}

.sim-title-group p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.sim-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .sim-controls-grid {
    grid-template-columns: 1fr;
  }
}

.sim-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.sim-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-input-group {
  margin-bottom: 10px;
}

.sim-input-group:last-child {
  margin-bottom: 0;
}

.sim-input-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  font-weight: 600;
}

.sim-input-group input[type="number"] {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f172a;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.sim-input-group input[type="number"]:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.tolerance-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  padding: 14px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 600px) {
  .tolerance-container {
    grid-template-columns: 1fr;
  }
}

.sim-output-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 10px;
}

.sim-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .sim-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sim-metric {
  text-align: center;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.sim-metric-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.sim-metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.sim-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 10px;
}

.status-matched {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.status-discrepancy {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.status-tolerance {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* ==========================================================================
   WORK EXPERIENCE TIMELINE
   ========================================================================== */

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: #cbd5e1;
}

.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 34px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 9px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.4);
  z-index: 2;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
}

.timeline-company {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 10px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.timeline-bullets {
  list-style: none;
  margin-top: 10px;
}

.timeline-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.55;
}

.timeline-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 1rem;
  font-weight: bold;
}

/* ==========================================================================
   SKILLS MATRIX
   ========================================================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-category-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.skill-category-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  color: #0f172a;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.skill-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-primary);
  background: #eff6ff;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid #bfdbfe;
  font-weight: 600;
}

/* ==========================================================================
   EDUCATION & CREDENTIALS
   ========================================================================== */

.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

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

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

.edu-card.featured-edu {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

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

.edu-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-secondary);
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.edu-degree {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0f172a;
}

.edu-institution {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.edu-timeline-bar {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   CONTACT & CONSULTATION SECTION
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-quick-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 600;
}

.contact-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.copy-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  border-color: var(--accent-primary);
  background: #eff6ff;
  color: var(--accent-primary);
}

/* Contact Form */
.contact-form-panel {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 16px;
}

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

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #0f172a;
  transition: all var(--transition-fast);
}

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

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 22px 0;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #cbd5e1;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffffff;
  border: 1px solid var(--accent-primary);
  color: #0f172a;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}
