/* SWAAM Lab - Industrial Precision Theme with Light/Dark Mode */

/* CSS Variables - Design System */
:root {
  /* Dark Theme (Default) */
  --bg-primary: #0a0e14;
  --bg-secondary: #111620;
  --bg-card: #161b25;
  --bg-elevated: #1c2333;

  --accent-primary: #f59e0b;
  --accent-secondary: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.15);

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

  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-accent: rgba(245, 158, 11, 0.3);

  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #0a0e14 0%, #111620 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.1) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;

  --accent-primary: #f59e0b;
  --accent-secondary: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.1);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-subtle: rgba(0, 0, 0, 0.1);
  --border-accent: rgba(245, 158, 11, 0.4);

  --gradient-dark: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 320px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Responsive Images */
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* Word break for long text */
p, h1, h2, h3, h4, h5, h6, span, a, td, th {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure table cells handle long content */
.data-table td,
.data-table th {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-table td:first-child,
.data-table th:first-child {
  max-width: 60px;
}

/* Hide scrollbars everywhere except main page and tables */
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}

/* Only show scrollbar on body */
body {
  -ms-overflow-style: auto;
  scrollbar-width: thin;
}

body::-webkit-scrollbar {
  display: block;
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

body::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

/* Table scrollbar - show on hover only when needed */
.table-container::-webkit-scrollbar {
  height: 6px;
}

.table-container::-webkit-scrollbar-track {
  background: transparent;
}

.table-container::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

.table-container:hover::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.display-xl {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
}

.display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.display-md {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  width: 100%;
}

.max-w-6xl {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  width: 100%;
}

.max-w-xl {
  max-width: 36rem;
  margin: 0 auto;
  width: 100%;
}

/* Theme Toggle Button - Desktop (hidden on mobile) */
.theme-toggle {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Hide fixed theme toggle on mobile and tablet */
@media (max-width: 1023px) {
  .theme-toggle {
    display: none;
  }
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--accent-primary);
}

.theme-toggle i {
  font-size: 1.25rem;
  color: var(--accent-primary);
  transition: var(--transition-fast);
}

[data-theme="light"] .theme-toggle .fa-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .fa-sun {
  display: block;
}

.theme-toggle .fa-sun {
  display: none;
}

/* Mobile Theme Toggle */
.theme-toggle-mobile {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-toggle-mobile:hover {
  background: var(--accent-glow);
  border-color: var(--accent-primary);
}

.theme-toggle-mobile i {
  font-size: 1.1rem;
  color: var(--accent-primary);
}

[data-theme="light"] .theme-toggle-mobile .fa-moon {
  display: none;
}

[data-theme="light"] .theme-toggle-mobile .fa-sun {
  display: inline-block;
}

.theme-toggle-mobile .fa-sun {
  display: none;
}

/* Legacy mobile theme toggle (for files using old class) */
.mobile-menu-footer .theme-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-footer .theme-toggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent-primary);
}

.mobile-menu-footer .theme-toggle i {
  font-size: 1.1rem;
  color: var(--accent-primary);
}

[data-theme="light"] .mobile-menu-footer .theme-toggle .fa-moon {
  display: none;
}

[data-theme="light"] .mobile-menu-footer .theme-toggle .fa-sun {
  display: inline-block;
}

.mobile-menu-footer .theme-toggle .fa-sun {
  display: none;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 14, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover {
  color: #0f172a;
}

[data-theme="light"] .nav-link.active {
  color: #f59e0b;
}

[data-theme="light"] .nav-title {
  color: #0f172a;
}

[data-theme="light"] .nav-dropdown-btn {
  color: #475569;
}

[data-theme="light"] .nav-dropdown-btn:hover {
  color: #0f172a;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-logo {
  height: 48px;
  width: auto;
  max-width: 60px;
}

.nav-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-title span {
  color: var(--accent-primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  flex-shrink: 1;
}

.nav-links .theme-toggle {
  position: static;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
}

.nav-links .theme-toggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent-primary);
}

.nav-links .theme-toggle i {
  font-size: 1rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

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

.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.nav-dropdown-btn i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-btn i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: var(--accent-glow);
  color: var(--accent-primary);
  transform: translateX(4px);
}

.nav-dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-dropdown-item:hover i {
  color: var(--accent-primary);
}

/* Mobile Menu Button */
.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.nav-mobile-toggle:hover {
  background: var(--accent-glow);
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
  .nav-mobile-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 99;
  padding: 2rem;
  transform: translateX(100%);
  transition: var(--transition-smooth);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-link {
  display: block;
  padding: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: var(--accent-glow);
  color: var(--accent-primary);
}

.mobile-menu-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 20, 0.5) 0%,
    rgba(10, 14, 20, 0.8) 50%,
    rgba(10, 14, 20, 1) 100%
  );
}

/* Light theme hero overlay - must come after general .hero-overlay */
[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.3) 0%,
    rgba(248, 250, 252, 0.7) 50%,
    rgba(248, 250, 252, 1) 100%
  );
}

/* Override for pages with dark inline style */
.hero-overlay[style] {
  background: linear-gradient(
    180deg,
    rgba(10, 14, 20, 0.5) 0%,
    rgba(10, 14, 20, 0.8) 50%,
    rgba(10, 14, 20, 1) 100%
  ) !important;
}

[data-theme="light"] .hero-overlay[style] {
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.3) 0%,
    rgba(248, 250, 252, 0.7) 50%,
    rgba(248, 250, 252, 1) 100%
  ) !important;
}

/* Team member overlay gradient */
.member-overlay {
  background: linear-gradient(to top, rgba(10, 14, 20, 0.9) 0%, transparent 50%) !important;
}

[data-theme="light"] .member-overlay {
  background: linear-gradient(to top, rgba(248, 250, 252, 0.8) 0%, transparent 50%) !important;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 100vw);
  height: min(800px, 100vw);
  background: var(--gradient-glow);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: min(900px, 100%);
  padding: 8rem clamp(1rem, 4vw, 2rem) 4rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* For pages with smaller hero sections (50vh) */
.hero[style*="min-height: 50vh"] .hero-content {
  padding: 6rem clamp(1rem, 4vw, 2rem) 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-primary);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .accent {
  color: var(--accent-primary);
  position: relative;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.1em;
  background: var(--accent-primary);
  opacity: 0.3;
}

/* Typewriter Animation - Sequential Lines with JS */
.dk-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  padding: 0 1rem;
}

.dk-line1, .dk-line2 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent-primary);
  width: max-content;
  text-align: center;
}

/* Hindi font support */
.dk-line1, .dk-line2 {
  font-family: 'Noto Sans Devanagari', var(--font-display), sans-serif;
}

@media (max-width: 480px) {
  .dk-line1, .dk-line2 {
    font-size: clamp(1.5rem, 10vw, 3rem);
  }
}

/* Initial state - hidden */
.dk-name-line1 span, .dk-name-line2 span {
  display: none;
}

/* JS will add typed class when complete */
.dk-name-line1.typed, .dk-name-line2.typed {
  animation: none;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--btn-text);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

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

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--accent-primary);
}

/* Section Styling */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="light"] .section-title {
  color: #0f172a;
}

[data-theme="light"] .section-alt .section-title {
  color: #0f172a;
}

.section-description {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Tabs Section - Extra spacing after hero */
.section:has(.tabs-container) {
  padding-top: calc(var(--section-padding) * 1.5);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Research Cards */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.research-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
}

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

.research-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--accent-primary);
}

.research-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.research-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Timeline - Modern Card Layout */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Timeline vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--border-subtle));
  border-radius: 2px;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Timeline dot/marker */
.timeline-dot {
  position: relative;
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-dot i {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all 0.4s ease;
}

.timeline-item.active .timeline-dot {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  transform: scale(1.1);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.timeline-item.active .timeline-dot i {
  color: var(--bg-primary);
}

/* Timeline content */
.timeline-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--accent-primary);
  transform: translateX(8px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Timeline year/badge */
.timeline-year {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-glow);
  border: 1px solid var(--accent-primary);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.timeline-item.active .timeline-year {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* Timeline text */
.timeline-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Timeline title */
.timeline-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
  }

  .timeline-dot i {
    font-size: 1rem;
  }

  .timeline-item {
    gap: 1rem;
  }

  .timeline-content {
    padding: 1rem;
  }

  .timeline-content:hover {
    transform: translateX(4px);
  }
}

/* Awards Grid - Homepage */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.award-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.award-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--accent-glow);
  border: 2px solid var(--accent-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.award-card:hover .award-icon {
  background: var(--accent-primary);
  transform: scale(1.05);
}

.award-icon i {
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.award-card:hover .award-icon i {
  color: var(--bg-primary);
}

.award-content {
  flex: 1;
}

.award-year {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.award-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.award-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

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

  .award-card {
    padding: 1.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .award-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
  }

  .award-icon i {
    font-size: 1.25rem;
  }
}

/* Counter Animation Styles */
.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--accent-glow);
  transition: text-shadow 0.3s ease;
}

.stat-card:hover .stat-value {
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.timeline-dot {
  position: absolute;
  top: 2.5rem;
  width: 16px;
  height: 16px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

@media (max-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }
}

.timeline-year {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--accent-primary);
  color: #0a0e14;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--border-accent);
}

.timeline-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Collaborators */
.collaborators-section {
  overflow: hidden;
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.collaborators-header {
  text-align: center;
  margin-bottom: 3rem;
}

.collaborators-track {
  display: flex;
  gap: 4rem;
  animation: scroll 40s linear infinite;
}

.collaborators-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.collaborator-item {
  flex-shrink: 0;
  height: 60px;
  opacity: 0.6;
  filter: grayscale(100%) brightness(2);
  transition: var(--transition-smooth);
}

.collaborator-item:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

[data-theme="light"] .collaborator-item {
  filter: grayscale(0%) brightness(1);
  opacity: 0.8;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-avatar {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

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

.contact-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  color: var(--text-primary);
}

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

.contact-info-value a:hover {
  text-decoration: underline;
}

/* Form */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-name span {
  color: var(--accent-primary);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.footer-social-link:hover {
  background: var(--accent-primary);
  color: #0a0e14;
  transform: translateY(-4px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  gap: 1rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

/* Animations on Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Category Filter Buttons */
.category-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.category-btn.active {
  background: var(--accent-primary);
  color: #0a0e14;
  border-color: var(--accent-primary);
}

/* Utility Classes */
.text-accent { color: var(--accent-primary); }
.bg-accent { background: var(--accent-primary); }
.border-accent { border-color: var(--accent-primary); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gallery styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--bg-card);
}

th {
  padding: 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

td {
  padding: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

tr:hover {
  background: var(--bg-elevated);
}

/* Citation Card */
.citation {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.citation:hover {
  border-color: var(--border-accent);
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

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

.tab-btn.active {
  color: var(--accent-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-primary);
}

.tab-content {
  display: none;
}

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

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 50%;
  color: var(--accent-primary);
  font-size: 2rem;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.empty-state-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Newsletter */
.newsletter {
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 3rem;
}

.newsletter-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.newsletter-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Responsive adjustments for light theme */
@media (max-width: 768px) {
  .theme-toggle {
    top: 80px;
    right: 15px;
    width: 44px;
    height: 44px;
  }
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Tabs Container */
.tabs-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.tab-btn.active {
  color: var(--accent-primary);
  background: var(--accent-glow);
}

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

/* Stat Cards */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 12px;
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Table Styles */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
}

.data-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.data-table tbody tr {
  transition: var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--accent-glow);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.amount {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Section Card */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.card-title i {
  color: var(--accent-primary);
}

/* Publications List */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.publication-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border-radius: 12px;
  transition: var(--transition-fast);
}

.publication-item:hover {
  background: var(--accent-glow);
}

.pub-number {
  color: var(--accent-primary);
  font-weight: 600;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* Gallery Card */
.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px) scale(1.02);
}

/* Empty State Card */
.empty-state-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--accent-primary);
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.empty-state-text {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.empty-state-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Newsletter Card */
.newsletter-card {
  background: linear-gradient(135deg, var(--accent-glow) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.newsletter-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  color: #0a0e14;
}

.newsletter-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.newsletter-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Profile Card */
.profile-container {
  max-width: min(1000px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  width: 100%;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  width: 100%;
}

@media (max-width: 768px) {
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Team Page - Lab Leader Section Mobile */
@media (max-width: 768px) {
  .lab-leader-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }

  .lab-leader-grid > div:first-child {
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .lab-leader-grid > div:first-child > div {
    display: inline-block;
    max-width: 220px;
    width: 100%;
  }

  .lab-leader-grid > div:first-child img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }

  .lab-leader-grid .section-card {
    padding: 1.25rem !important;
  }

  .lab-leader-grid h3 {
    font-size: 1.4rem !important;
    text-align: center;
  }

  .lab-leader-grid .section-card > p:first-of-type {
    text-align: center;
  }

  .lab-leader-grid .section-card > div:first-of-type {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 2px solid var(--accent-primary);
    padding-top: 1rem;
  }

  .lab-leader-grid .section-card > div:last-of-type {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .lab-leader-grid h3 {
    font-size: 1.2rem !important;
  }

  .lab-leader-grid .section-card > p:first-of-type {
    font-size: 0.9rem !important;
  }

  .lab-leader-grid > div:first-child > div {
    max-width: 180px;
  }

  .lab-leader-grid > div:first-child img {
    max-width: 160px;
  }
}

.profile-image-container {
  position: relative;
}

.profile-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid var(--accent-primary);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-name {
  font-size: 2rem;
  color: var(--text-primary);
}

.profile-title {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.profile-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .profile-detail {
    justify-content: center;
  }
}

.profile-detail i {
  color: var(--accent-primary);
}

.profile-detail a {
  color: var(--accent-primary);
  text-decoration: none;
}

.profile-detail a:hover {
  text-decoration: underline;
}

/* Content Card */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
}

/* Timeline for Dr. Kiran page */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, transparent 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

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

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  transform: translateX(-5px);
}

.timeline-content {
  padding-left: 0.5rem;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-org {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Admin Grid */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.admin-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.admin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-list li {
  color: var(--text-secondary);
  line-height: 1.5;
}

.admin-list strong {
  color: var(--text-primary);
}

/* Teaching Grid */
.teaching-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.teaching-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.course-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.course-tag:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Activities Grid */
.activities-grid {
  display: grid;
  gap: 2rem;
}

.activity-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.journal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.journal-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.activity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-list li {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.activity-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
}

.membership-section p {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================
   ENHANCED LIGHT THEME STYLES
   ============================================ */

/* Light Theme - Footer Enhancements */
[data-theme="light"] .footer {
  background: #f1f5f9;
}

[data-theme="light"] .footer-title {
  color: #0f172a;
}

[data-theme="light"] .footer-name {
  color: #0f172a;
}

[data-theme="light"] .footer-tagline {
  color: #475569;
}

[data-theme="light"] .footer-link {
  color: #475569;
}

[data-theme="light"] .footer-link:hover {
  color: #f59e0b;
}

[data-theme="light"] .footer-social-link {
  background: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .footer-social-link:hover {
  background: #f59e0b;
  color: #ffffff;
}

[data-theme="light"] .footer-copyright {
  color: #64748b;
}

/* Light Theme - Form Elements */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

[data-theme="light"] .form-label {
  color: #334155;
}

/* Light Theme - Tables */
[data-theme="light"] .data-table th {
  background: #f8fafc;
  color: #0f172a;
}

[data-theme="light"] .data-table td {
  color: #334155;
}

[data-theme="light"] .data-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.05);
}

/* Light Theme - Publication Items */
[data-theme="light"] .publication-item {
  background: #f8fafc;
}

[data-theme="light"] .publication-item:hover {
  background: rgba(245, 158, 11, 0.05);
}

/* Light Theme - Tabs */
[data-theme="light"] .tab-btn {
  color: #64748b;
}

[data-theme="light"] .tab-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

[data-theme="light"] .tab-btn.active {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

[data-theme="light"] .tabs-container {
  border-color: #e2e8f0;
}

/* Light Theme - Card Titles */
[data-theme="light"] .card-title {
  color: #0f172a;
}

/* Light Theme - Profile Card */
[data-theme="light"] .profile-card {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .profile-name {
  color: #0f172a;
}

[data-theme="light"] .profile-details {
  color: #475569;
}

[data-theme="light"] .profile-detail {
  color: #475569;
}

/* Light Theme - Content Cards */
[data-theme="light"] .content-card {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Light Theme - Timeline */
[data-theme="light"] .timeline-title {
  color: #0f172a;
}

[data-theme="light"] .timeline-org {
  color: #475569;
}

[data-theme="light"] .timeline::before {
  background: #e2e8f0;
}

[data-theme="light"] .timeline-progress {
  background: #f59e0b;
}

[data-theme="light"] .timeline-dot {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .timeline-item.active .timeline-dot {
  border-color: #f59e0b;
  background: #f59e0b;
}

[data-theme="light"] .timeline-content {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .timeline-text {
  color: #475569;
}

[data-theme="light"] .timeline-year {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
  color: #d97706;
}

[data-theme="light"] .timeline-item.active .timeline-year {
  background: #f59e0b;
  color: #ffffff;
}

/* Light Theme - Dropdown */
[data-theme="light"] .nav-dropdown-menu {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav-dropdown-item {
  color: #475569;
}

[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

[data-theme="light"] .nav-dropdown-item i {
  color: #94a3b8;
}

[data-theme="light"] .nav-dropdown-item:hover i {
  color: #f59e0b;
}

/* Light Theme - Admin & Teaching */
[data-theme="light"] .admin-list strong {
  color: #0f172a;
}

[data-theme="light"] .course-tag {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .course-tag:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}

[data-theme="light"] .journal-tag {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .activity-list li {
  color: #475569;
}

/* Light Theme - Gallery */
[data-theme="light"] .gallery-card {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Light Theme - Team Cards */
[data-theme="light"] .team-card {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .team-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .team-name {
  color: #0f172a;
}

[data-theme="light"] .team-role {
  color: #475569;
}

/* Light Theme - Associated Labs Cards */
[data-theme="light"] .lab-card {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Light Theme - Dropdown Menu */
[data-theme="light"] .nav-dropdown-menu {
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav-dropdown-item {
  color: #475569;
}

[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* Light Theme - Mobile Menu */
[data-theme="light"] .mobile-menu {
  background: #f8fafc;
}

[data-theme="light"] .mobile-menu-link {
  color: #475569;
}

[data-theme="light"] .mobile-menu-link:hover,
[data-theme="light"] .mobile-menu-link.active {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* Light Theme - Mobile Theme Toggle */
[data-theme="light"] .mobile-menu-footer .theme-toggle {
  background: #f1f5f9;
  color: #475569;
}

/* Light Theme - Newsletter */
[data-theme="light"] .newsletter-card {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .newsletter-title {
  color: #0f172a;
}

[data-theme="light"] .newsletter-text {
  color: #475569;
}

[data-theme="light"] .newsletter-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .newsletter-input:focus {
  border-color: #f59e0b;
}

/* ============================================
   COMPREHENSIVE LIGHT THEME OVERRIDES
   ============================================ */

/* Hero Section */
[data-theme="light"] .hero-overlay {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.3) 0%, rgba(248, 250, 252, 0.7) 50%, rgba(248, 250, 252, 1) 100%);
}

[data-theme="light"] .hero-badge {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #d97706;
}

[data-theme="light"] .hero-subtitle {
  color: #475569;
}

/* Navigation */
[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0f172a;
}

[data-theme="light"] .nav-link.active::after {
  background: #f59e0b;
}

[data-theme="light"] .nav-title {
  color: #0f172a;
}

[data-theme="light"] .nav-dropdown-btn {
  color: #475569;
}

[data-theme="light"] .nav-dropdown-btn:hover {
  color: #0f172a;
}

[data-theme="light"] .nav-mobile-toggle span {
  background: #0f172a;
}

/* Section Headers */
[data-theme="light"] .section-title {
  color: #0f172a;
}

[data-theme="light"] .section-description {
  color: #475569;
}

[data-theme="light"] .section-alt {
  background: #f1f5f9;
}

/* Research Cards */
[data-theme="light"] .research-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .research-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .research-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

[data-theme="light"] .research-title {
  color: #0f172a;
}

[data-theme="light"] .research-description {
  color: #475569;
}

/* Stat Cards */
[data-theme="light"] .stat-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .stat-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

[data-theme="light"] .stat-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

[data-theme="light"] .stat-value {
  color: #0f172a;
}

[data-theme="light"] .stat-label {
  color: #475569;
}

/* Timeline */
[data-theme="light"] .timeline::before {
  background: #e2e8f0;
}

[data-theme="light"] .timeline-progress {
  background: #f59e0b;
}

[data-theme="light"] .timeline-dot {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .timeline-item.active .timeline-dot {
  border-color: #f59e0b;
  background: #f59e0b;
}

[data-theme="light"] .timeline-content {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .timeline-text {
  color: #475569;
}

[data-theme="light"] .timeline-year {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
  color: #d97706;
}

[data-theme="light"] .timeline-item.active .timeline-year {
  background: #f59e0b;
  color: #ffffff;
}

/* Collaborators */
[data-theme="light"] .collaborators-section {
  background: #f1f5f9;
}

[data-theme="light"] .collaborators-header {
  color: #0f172a;
}

[data-theme="light"] .collaborator-item {
  filter: none;
  opacity: 0.8;
}

/* Contact Section */
[data-theme="light"] .contact-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .contact-name {
  color: #0f172a;
}

[data-theme="light"] .contact-role {
  color: #475569;
}

[data-theme="light"] .contact-info-label {
  color: #475569;
}

[data-theme="light"] .contact-info-value {
  color: #0f172a;
}

[data-theme="light"] .contact-info-value a {
  color: #d97706;
}

[data-theme="light"] .form {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .form-title {
  color: #0f172a;
}

[data-theme="light"] .form-label {
  color: #334155;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Footer */
[data-theme="light"] .footer {
  background: #f1f5f9;
  border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-title {
  color: #0f172a;
}

[data-theme="light"] .footer-name {
  color: #0f172a;
}

[data-theme="light"] .footer-tagline {
  color: #475569;
}

[data-theme="light"] .footer-link {
  color: #475569;
}

[data-theme="light"] .footer-link:hover {
  color: #f59e0b;
}

[data-theme="light"] .footer-copyright {
  color: #64748b;
}

[data-theme="light"] .footer-social-link {
  background: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .footer-social-link:hover {
  background: #f59e0b;
  color: #ffffff;
}

/* Tables */
[data-theme="light"] .data-table thead {
  background: #f8fafc;
}

[data-theme="light"] .data-table th {
  color: #0f172a;
}

[data-theme="light"] .data-table td {
  color: #334155;
}

[data-theme="light"] .data-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.03);
}

[data-theme="light"] .amount {
  color: #d97706;
}

/* Tabs */
[data-theme="light"] .tabs-container {
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .tab-btn {
  color: #475569;
}

[data-theme="light"] .tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .tab-btn.active {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

/* Section Cards */
[data-theme="light"] .section-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .card-title {
  color: #0f172a;
}

[data-theme="light"] .card-title i {
  color: #d97706;
}

/* Publications */
[data-theme="light"] .publication-item {
  background: #f8fafc;
}

[data-theme="light"] .publication-item:hover {
  background: rgba(245, 158, 11, 0.05);
}

[data-theme="light"] .pub-number {
  color: #d97706;
}

/* Profile Card */
[data-theme="light"] .profile-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .profile-name {
  color: #0f172a;
}

[data-theme="light"] .profile-title {
  color: #d97706;
}

[data-theme="light"] .profile-detail {
  color: #475569;
}

/* Gallery */
[data-theme="light"] .gallery-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Team Cards */
[data-theme="light"] .team-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .team-name {
  color: #0f172a;
}

[data-theme="light"] .team-role {
  color: #475569;
}

/* Lab Cards */
[data-theme="light"] .lab-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .lab-title {
  color: #0f172a;
}

[data-theme="light"] .lab-description {
  color: #475569;
}

/* News & Events */
[data-theme="light"] .news-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .news-title {
  color: #0f172a;
}

[data-theme="light"] .news-excerpt {
  color: #475569;
}

[data-theme="light"] .news-date {
  color: #64748b;
}

/* Dropdown Menu */
[data-theme="light"] .nav-dropdown-menu {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav-dropdown-item {
  color: #475569;
}

[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

[data-theme="light"] .nav-dropdown-item i {
  color: #94a3b8;
}

[data-theme="light"] .nav-dropdown-item:hover i {
  color: #f59e0b;
}

/* Mobile Menu */
[data-theme="light"] .mobile-menu {
  background: #f8fafc;
}

[data-theme="light"] .mobile-menu-close {
  color: #0f172a;
}

[data-theme="light"] .mobile-menu-link {
  color: #475569;
}

[data-theme="light"] .mobile-menu-link:hover,
[data-theme="light"] .mobile-menu-link.active {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

[data-theme="light"] .mobile-menu-footer .theme-toggle {
  background: #f1f5f9;
  color: #475569;
}

/* Newsletter */
[data-theme="light"] .newsletter-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .newsletter-title {
  color: #0f172a;
}

[data-theme="light"] .newsletter-text {
  color: #475569;
}

[data-theme="light"] .newsletter-input {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .newsletter-input:focus {
  border-color: #f59e0b;
}

/* Theme Toggle */
[data-theme="light"] .theme-toggle {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .theme-toggle:hover {
  border-color: #f59e0b;
}

[data-theme="light"] .theme-toggle i {
  color: #f59e0b;
}

/* Scrollbar for Light Theme */
[data-theme="light"] body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

[data-theme="light"] body::-webkit-scrollbar-thumb {
  background: #d97706;
  border-radius: 4px;
}

/* Dr. Kiran Profile Page Layout */
.dk-profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Profile Sidebar */
.dk-profile-sidebar {
  position: sticky;
  top: 100px;
}

.dk-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.dk-profile-image {
  width: 280px;
  height: 280px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--accent-primary);
  background: var(--bg-alt);
}

.dk-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dk-profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dk-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.dk-role {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.dk-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.dk-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-radius: 10px;
  font-size: 0.9rem;
}

.dk-contact-item i {
  color: var(--accent-primary);
  width: 20px;
}

.dk-contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.dk-contact-item a:hover {
  color: var(--accent-primary);
}

/* Profile Content */
.dk-profile-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Section Styles */
.dk-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem 2rem;
}

.dk-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dk-section-title i {
  color: var(--accent-primary);
}

.dk-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

/* Timeline */
.dk-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dk-timeline-item {
  display: flex;
  gap: 1.25rem;
}

.dk-timeline-marker {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-glow);
  border: 2px solid var(--accent-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dk-timeline-marker i {
  color: var(--accent-primary);
  font-size: 1rem;
}

.dk-timeline-body {
  flex: 1;
  padding-top: 0.25rem;
}

.dk-timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.dk-timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.dk-timeline-body p {
  font-size: 0.85rem;
  margin: 0;
}

/* Admin Grid */
.dk-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dk-admin-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin: 0 0 1rem 0;
}

.dk-admin-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dk-admin-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dk-admin-list li:last-child {
  border-bottom: none;
}

.dk-admin-list strong {
  color: var(--text-primary);
}

/* Teaching Grid */
.dk-teaching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dk-teaching-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin: 0 0 1rem 0;
}

.dk-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dk-courses span {
  background: var(--accent-glow);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--border-accent);
  color: var(--text-secondary);
}

/* Activities */
.dk-activities {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dk-activity-group h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

.dk-journals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dk-journals span {
  background: var(--bg-alt);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dk-events {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dk-events li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-left: 3px solid var(--accent-primary);
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dk-events li i {
  color: var(--accent-primary);
}

.dk-membership {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--accent-glow);
  border-radius: 12px;
  border: 1px solid var(--border-accent);
  margin-top: 1rem;
}

.dk-membership i {
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.dk-membership span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dk-membership strong {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .dk-profile-layout {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .dk-profile-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dk-profile-sidebar {
    position: static;
  }

  .dk-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .dk-profile-image {
    width: 180px;
    height: 180px;
    margin: 0 0 1rem 0;
    min-width: 180px;
  }

  .dk-profile-info {
    align-items: center;
  }

  .dk-name {
    font-size: 1.25rem;
  }

  .dk-role {
    font-size: 0.85rem;
  }

  .dk-contact {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  /* Timeline mobile */
  .dk-timeline {
    gap: 1rem;
  }

  .dk-timeline-item {
    gap: 1rem;
  }

  .dk-timeline-marker {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .dk-timeline-marker i {
    font-size: 0.9rem;
  }

  .dk-timeline-title {
    font-size: 0.95rem;
  }

  .dk-timeline-body p {
    font-size: 0.8rem;
  }

  /* Admin and Teaching Grid mobile */
  .dk-admin-grid,
  .dk-teaching-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dk-admin-title {
    font-size: 0.85rem;
  }

  .dk-admin-list {
    padding-left: 1rem;
    font-size: 0.8rem;
  }

  .dk-section {
    padding: 1.25rem;
  }

  .dk-section-title {
    font-size: 1.1rem;
  }

  .dk-section p {
    font-size: 0.85rem;
  }

  /* Activities mobile */
  .dk-activities {
    gap: 1.5rem;
  }

  .dk-activity-group h4 {
    font-size: 0.95rem;
  }

  .dk-journals,
  .dk-courses {
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  /* Teaching mobile */
  .dk-teaching-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
}