/* daksh_ai/assets/css/modern.css */

/* --- 1. THEME VARIABLES --- */
:root {
  --bg-body: #0f172a;       /* Deep Slate */
  --bg-card: #1e293b;       /* Lighter Slate */
  --bg-sidebar: #020617;    /* Darkest Slate */
  
  --text-main: #f8fafc;     /* White */
  --text-muted: #94a3b8;    /* Muted Blue-Grey */
  
  --accent: #6366f1;        /* Indigo */
  --accent-glow: rgba(99, 102, 241, 0.3);
  --border: #334155;        
  
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-heading);
  line-height: 1.6;
  height: 100vh;
  overflow: hidden; 
}

a { color: var(--text-main); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent); }

/* --- 2. LAYOUT --- */
.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: 100vh;
}

/* --- 3. SIDEBAR --- */
.sidebar {
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.profile-header { text-align: left; }
.avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  margin-bottom: 20px;
}
.name { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.5px; }
.role { color: var(--accent); font-family: var(--font-mono); font-size: 0.9rem; margin-top: 5px; }
.bio { color: var(--text-muted); font-size: 0.95rem; margin-top: 15px; line-height: 1.5; }

.nav-links { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-item:hover, .nav-item.active {
  background: var(--accent);
  color: #fff;
  transform: translateX(5px);
}

.socials { display: flex; gap: 12px; margin-top: auto; padding-top: 20px; flex-wrap: wrap; }
.social-icon img { width: 22px; height: 22px; opacity: 0.7; transition: 0.2s; filter: invert(1); }
.social-icon:hover img { opacity: 1; transform: scale(1.1); }

/* --- 4. MAIN CONTENT --- */
.main-content {
  overflow-y: auto;
  padding: 50px 60px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* --- 5. COMPONENTS --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  transition: transform 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 20px;
  margin-bottom: 15px;
}

.bento-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.bento-card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }
.card-link { margin-top: 20px; font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
.span-2 { grid-column: span 2; background: linear-gradient(145deg, var(--bg-card), #253045); }

/* Stats & Filters */
.stats-grid { display: flex; gap: 40px; margin-bottom: 50px; padding: 20px; background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); }
.stat-item h2 { font-size: 2rem; color: var(--accent); margin-bottom: 0; }
.stat-item p { font-size: 0.9rem; color: var(--text-muted); }

.filter-bar { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-btn {
  background: transparent; border: 1px solid var(--border); color: var(--text-muted);
  padding: 8px 16px; border-radius: 20px; cursor: pointer; font-family: var(--font-mono); font-size: 0.85rem;
  transition: 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Vertical List (Experience/Education) */
.vertical-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 50px; }

/* --- 6. MOBILE --- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; height: auto; display: block; }
  body { overflow: auto; }
  .sidebar { padding: 30px 20px; border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px; }
  .profile-header { display: flex; align-items: center; gap: 15px; width: 100%; }
  .avatar { width: 60px; height: 60px; margin-bottom: 0; }
  .name { font-size: 1.4rem; }
  .bio { display: none; }
  .nav-links { flex-direction: row; width: 100%; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; }
  .nav-item { white-space: nowrap; font-size: 0.85rem; padding: 8px 12px; background: rgba(255,255,255,0.05); }
  .socials { display: none; }
  .main-content { padding: 30px 20px; }
  .span-2 { grid-column: span 1; }
  .stats-grid { gap: 20px; justify-content: space-between; }
}

/* ... [KEEP ALL PREVIOUS CSS from Step 1 & 2] ... */

/* --- ADD THESE NEW STYLES FOR THE RESEARCH HIGHLIGHTS --- */

/* 1. Research Status Bar */
.status-bar {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}
.status-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* 2. "Viby" Lab Cards for Active Research */
.lab-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.3); /* Subtle Indigo Border */
  overflow: hidden;
}

/* The "Glow" effect */
.lab-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.lab-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }

/* Quote Block Style */
.research-quote {
  border-left: 2px solid var(--accent);
  padding-left: 15px;
  margin: 15px 0;
  font-style: italic;
  color: #cbd5e1; /* Light Slate */
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  background: rgba(255,255,255,0.03);
  padding: 10px 15px;
  border-radius: 0 8px 8px 0;
}

/* ... [KEEP ALL PREVIOUS CSS] ... */

/* --- 7. AESTHETIC SCROLLBAR (The Finishing Touch) --- */

/* Width of the scrollbar */
::-webkit-scrollbar {
  width: 6px;       /* Slim vertical scrollbar */
  height: 6px;      /* Slim horizontal scrollbar */
}

/* The Background (Track) - Blends with the page */
::-webkit-scrollbar-track {
  background: transparent; 
  margin-block: 5px; /* Tiny gap at top/bottom */
}

/* The Slider (Thumb) - Subtle Grey by default */
::-webkit-scrollbar-thumb {
  background: var(--border); 
  border-radius: 10px; /* Perfectly round pill shape */
  border: 1px solid var(--bg-body); /* Adds a 'padding' effect */
}

/* Hover State - Glows Indigo when grabbed */
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Firefox Support (Standard Property) */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* --- WALL OF HONOUR --- */
.mentor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  text-decoration: none;
}

.mentor-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  transition: transform 0.3s ease;
}

.mentor-card:hover .mentor-img {
  transform: scale(1.1); /* Slight zoom on hover */
}

.mentor-info {
  width: 100%;
}

.mentor-name {
  margin-bottom: 5px;
  font-size: 1.25rem;
  color: var(--text-main);
}