/* ===================================================================
   JAYDEEP MOHITE — Executive App Workspace Portfolio CSS
   Design System: Tabbed Workspace, Glassmorphic Dock, Zero Scroll Fatigue
   =================================================================== */

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

:root {
  /* Dark Theme (Default) - Deep Obsidian Space */
  --bg-primary: #09090b;
  --bg-secondary: #121215;
  --bg-card: #18181b;
  --bg-card-hover: #222226;
  --bg-glass: rgba(9, 9, 11, 0.85);
  --bg-tag: rgba(255, 255, 255, 0.06);
  --bg-tag-hover: rgba(255, 255, 255, 0.12);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-active: rgba(59, 130, 246, 0.5);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #09090b;

  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-glow: rgba(59, 130, 246, 0.15);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1140px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.2);

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme - Clean Studio Paper */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(248, 250, 252, 0.88);
  --bg-tag: rgba(15, 23, 42, 0.05);
  --bg-tag-hover: rgba(15, 23, 42, 0.1);

  --border: rgba(15, 23, 42, 0.09);
  --border-hover: rgba(15, 23, 42, 0.22);
  --border-active: rgba(37, 99, 235, 0.6);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-blue: #2563eb;
  --accent-cyan: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-emerald: #059669;
  --accent-glow: rgba(37, 99, 235, 0.12);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.15);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

::selection {
  background-color: var(--accent-blue);
  color: #ffffff;
}

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

button, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 2rem);
}

/* ===================================================================
   HEADER & NAVIGATION DOCK
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: var(--bg-glass);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-normal);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.avatar-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
}

.brand-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-hover);
}

.brand-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--accent-emerald);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 8px var(--accent-emerald);
}

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

.brand-name {
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Central Tab Nav Pill Switcher */
.nav-tabs-dock {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-tabs-dock::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background-color: var(--bg-card);
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.tab-btn i {
  font-size: 0.82rem;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background-color: var(--bg-tag);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-tag);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
}

/* ===================================================================
   MAIN TABBED WORKSPACE
   =================================================================== */
.app-workspace {
  flex-grow: 1;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
}

.tab-pane {
  display: none;
  animation: paneFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-pane.active {
  display: block;
}

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

/* Common Section Headers Inside Tabs */
.pane-header {
  margin-bottom: 1.75rem;
}

.pane-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.pane-title {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.2;
}

.pane-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  max-width: 680px;
}

/* Tag Pills */
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-xs);
  background-color: var(--bg-tag);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.tag-pill.highlight {
  background-color: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--accent-blue);
}

/* ===================================================================
   TAB 1: OVERVIEW PANE
   =================================================================== */
.overview-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.hero-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-tag);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--accent-emerald);
  position: relative;
}

.status-dot-pulse::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: var(--radius-full);
  background-color: var(--accent-emerald);
  opacity: 0.4;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 0.2; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-summary {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

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

.quick-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Stats Card Grid */
.stats-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  transition: all var(--transition-fast);
}

.stat-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}

.stat-num.blue { color: var(--accent-blue); }
.stat-num.cyan { color: var(--accent-cyan); }
.stat-num.emerald { color: var(--accent-emerald); }

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

/* Highlights 3-column Grid */
.highlights-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.highlight-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.highlight-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.highlight-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-title i {
  color: var(--accent-blue);
}

.highlight-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* ===================================================================
   TAB 2: SELECTED WORK PANE
   =================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: var(--bg-tag);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

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

.filter-btn.active {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.project-card:hover::before {
  opacity: 1;
}

.project-card.featured {
  border-color: rgba(59, 130, 246, 0.35);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.03) 100%);
}

.project-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-tag);
  color: var(--accent-blue);
  border: 1px solid var(--border);
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.project-subtitle {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
}

.project-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-impact {
  padding: 0.6rem 0.8rem;
  background-color: var(--bg-tag);
  border-radius: var(--radius-xs);
  border-left: 3px solid var(--accent-emerald);
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.project-impact i {
  color: var(--accent-emerald);
  font-size: 0.85rem;
}

.project-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: gap var(--transition-fast);
}

.project-link:hover {
  gap: 0.6rem;
  color: var(--accent-cyan);
}

/* ===================================================================
   TAB 3: EXPERIENCE PANE (INTERACTIVE COMPANY SWITCHER)
   =================================================================== */
.exp-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

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

.company-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-tab-btn {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  text-align: left;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.company-tab-btn:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

.company-tab-btn.active {
  border-color: var(--accent-blue);
  background-color: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.company-tab-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background-color: var(--accent-blue);
}

.co-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.co-role {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.co-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Detail Panel */
.company-detail-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.role-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.role-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.role-period-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-blue);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-tag);
  border: 1px solid var(--border);
}

.role-firm {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.role-bullet {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 1.2rem;
}

.role-bullet::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

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

/* ===================================================================
   TAB 4: SKILLS & MATRIX PANE
   =================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.skill-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.skill-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.skill-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tag);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.skill-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ===================================================================
   TAB 5: ENDORSEMENTS & CONTACT PANE
   =================================================================== */
.endorse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

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

.cred-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.cred-box:hover {
  border-color: var(--border-hover);
  transform: translateX(3px);
}

.cred-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cred-info-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.cred-info-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.test-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.test-card:hover {
  border-color: var(--border-hover);
}

.test-quote {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
}

.test-author-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.test-initials {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

/* Contact Grid */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.contact-card-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--border-hover);
  transform: translateX(3px);
}

.contact-item-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tag);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

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

.btn-mini-action {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-xs);
  background-color: var(--bg-tag);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-mini-action:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
}

/* Contact Form */
.contact-form-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg-primary);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-clock {
  font-family: var(--font-mono);
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background-color: var(--text-primary);
  color: var(--text-inverse);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(150%);
  opacity: 0;
  transition: all var(--transition-normal);
}

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

/* ===================================================================
   MOBILE & RESPONSIVE DOCK ADJUSTMENTS
   =================================================================== */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 0.75rem 0;
    flex-wrap: wrap;
  }
  .nav-tabs-dock {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
  .toast-msg {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
  }
}
