/* Import modern tech-focused fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Modern Clean Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-hover-bg: rgba(255, 255, 255, 1);
  
  --border-color: rgba(15, 23, 42, 0.1);
  --border-hover: rgba(59, 130, 246, 0.4);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --accent-cyan: #0ea5e9;
  --accent-blue: #2563eb;
  --accent-purple: #7c3aed;
  
  --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 80px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background grid removed */

/* Decorative glow elements */
body::after {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--text-primary);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: var(--transition-normal);
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-tabs {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.04);
  padding: 0.35rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.nav-tab-item a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.nav-tab-item a:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.05);
}

.nav-tab-item.active a {
  color: #ffffff;
  background: var(--gradient-accent);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: 7rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: var(--gradient-glow);
  z-index: -1;
  pointer-events: none;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero p.motto {
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* General Layout Structure */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  min-height: calc(100vh - var(--header-height) - 150px);
}

section {
  margin-bottom: 5rem;
}

.section-header {
  margin-bottom: 3rem;
  position: relative;
}

.section-header h2 {
  font-size: 2.2rem;
  display: inline-block;
  position: relative;
  padding-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-secondary);
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

/* Cards & Components */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: var(--card-hover-bg);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Home / About Details */
.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.vision-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.vision-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.vision-bullet {
  width: 18px;
  height: 18px;
  background: rgba(14, 165, 233, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.vision-bullet::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.vision-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.vision-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-circle-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  opacity: 0;
  animation: hb-expand 2.4s ease-out infinite;
}

.hb-ring:nth-child(1) { animation-delay: 0s; }
.hb-ring:nth-child(2) { animation-delay: 0.15s; }
.hb-ring:nth-child(3) { animation-delay: 0.30s; }
.hb-ring:nth-child(4) { animation-delay: 1.2s; }
.hb-ring:nth-child(5) { animation-delay: 1.35s; }
.hb-ring:nth-child(6) { animation-delay: 1.50s; }

.hb-ring-click {
  animation: hb-expand 0.65s ease-out forwards;
  border-color: #2dd4bf;
  border-width: 4px;
}

.hb-center {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
  animation: hb-dot 2.4s ease-in-out infinite;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.hb-center.hb-clicked {
  background: #2dd4bf;
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.85);
}

@keyframes hb-expand {
  0%   { transform: scale(0.05); opacity: 0.75; }
  100% { transform: scale(1);    opacity: 0; }
}

@keyframes hb-dot {
  0%,  100% { transform: scale(1);   box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); }
  8%         { transform: scale(1.6); box-shadow: 0 0 30px rgba(14, 165, 233, 0.8); }
  16%        { transform: scale(1);   box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); }
  24%        { transform: scale(1.3); box-shadow: 0 0 22px rgba(14, 165, 233, 0.6); }
  40%        { transform: scale(1);   box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); }
}

.tech-icon {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -2px;
}

.tech-icon .hamburger-symbol {
  display: inline-block;
  transform: scaleX(0.7);
  transform-origin: center;
  margin: 0;
  font-size: 0.9em;
  vertical-align: middle;
}


/* Research Detail Pages */
.research-section {
  margin-bottom: 6rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.research-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.research-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: rgba(14, 165, 233, 0.3);
}

.research-title {
  font-size: 1.8rem;
}

.research-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.research-desc p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.research-features {
  list-style: none;
}

.research-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.research-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.research-features li strong {
  color: var(--accent-cyan);
}

.research-features li span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Members - Professor & Students Page separation */
.member-subnav {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.member-subnav-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

.member-subnav-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
}

.member-subnav-btn.active {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Professor Profile Layout */
.prof-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.prof-sidebar {
  position: sticky;
  top: 100px;
}

.prof-image-container {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-tertiary);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.prof-avatar-svg {
  width: 60%;
  height: 60%;
  color: var(--text-muted);
}

.prof-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
  text-align: center;
}

.prof-name {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.prof-title {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.prof-quick-contact {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.prof-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.prof-contact-item:last-child {
  margin-bottom: 0;
}

.prof-contact-label {
  font-weight: 600;
  color: var(--accent-cyan);
  width: 60px;
  flex-shrink: 0;
}

.prof-contact-value {
  color: var(--text-secondary);
}

.prof-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.prof-section {
  margin-bottom: 3.5rem;
}

.prof-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.prof-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
}

.timeline-date {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.list-unstyled {
  list-style: none;
}

.list-unstyled li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-unstyled li::before {
  content: "■";
  color: var(--accent-cyan);
  font-size: 0.6rem;
}

/* Students Grid */
.student-category {
  margin-bottom: 4rem;
}

.student-category h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-cyan);
  padding-left: 1rem;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.student-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

.student-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.student-avatar {
  width: 90px;
  height: 90px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px solid var(--border-color);
  overflow: hidden;
}

.student-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.student-card:hover .student-avatar {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.student-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.student-role {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

#member-prof .student-role {
  text-transform: none;
}

.student-topic {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.alumni-list {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.alumni-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alumni-name-info h4 {
  font-size: 1rem;
}

.alumni-name-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.alumni-destination {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

/* Publications Style with filter & search */
.pub-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pub-filters {
  display: flex;
  gap: 0.5rem;
}

.pub-filter-btn {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pub-filter-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
}

.pub-filter-btn.active {
  background: var(--gradient-accent);
  color: var(--bg-primary);
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.pub-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.pub-search input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: 20px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.pub-search input:focus {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.pub-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.pub-list-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.pub-group-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pub-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pub-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  transition: var(--transition-normal);
  align-items: flex-start;
}

.pub-item:hover {
  transform: translateX(4px);
  border-color: var(--border-hover);
  background: var(--card-hover-bg);
  box-shadow: var(--shadow-glow);
}

.pub-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.08);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.pub-details {
  flex: 1;
}

.pub-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pub-authors {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.pub-authors strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pub-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.pub-link:hover {
  color: var(--accent-blue);
}

.pub-venue-details {
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-style: italic;
  font-family: 'Outfit', sans-serif;
}

.pub-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
}

.pub-badge-journal {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.pub-badge-conference {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.pub-badge-patent {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--card-hover-bg);
  box-shadow: var(--shadow-glow);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.contact-card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-map-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  height: 450px;
  display: flex;
  flex-direction: column;
}

.map-container {
  width: 100%;
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-tertiary);
  position: relative;
  border: 1px solid var(--border-color);
}

.map-placeholder-graphics {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 80%),
              linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
              linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  z-index: 1;
}

.map-pin {
  width: 16px;
  height: 16px;
  background: var(--accent-cyan);
  border: 3px solid #fff;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px var(--accent-cyan);
  animation: pulsePin 2s infinite;
}

.map-pin-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  animation: pingPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: 1;
}

.map-details-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  z-index: 2;
}

.map-details-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.map-details-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@keyframes pulsePin {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes pingPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Footer style */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-copyright {
  text-align: right;
}

.hamburger-symbol {
  display: inline-block;
  transform: scaleX(0.8);
  transform-origin: center;
  margin: 0 -0.03em;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .about-container, .research-detail-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .prof-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .prof-sidebar {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-tabs {
    display: none; /* Mobile menu can toggle it */
  }
  
  .nav-tabs.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    gap: 0.75rem;
  }
  
  .nav-tab-item a {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
    text-align: left;
  }

  #hero-title .hero-word {
    display: block;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .pub-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pub-search {
    max-width: 100%;
  }
}
