/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Soothing Sage-Green Design Tokens */
:root {
  --bg-primary: #f2f6f3; /* Soothing light sage background */
  --bg-secondary: #ffffff; /* White for cards */
  --bg-tertiary: #e3ebe6; /* Soft sage accent */
  --text-primary: #12241a; /* Deep forest charcoal */
  --text-secondary: #354a3d; /* Muted forest gray */
  --text-tertiary: #6b7f73; /* Sage slate */
  
  --accent-primary: #1b4332; /* Deep academic forest green */
  --accent-secondary: #2d6a4f; /* Elegant medium green */
  --accent-hover: #081c15; /* Dark pine green */
  --accent-light: #eaf4ec; /* Soft green tint for highlights */
  
  --border-color: #d8e2dc; /* Sage-tinted borders */
  --border-hover: #b9c9be; /* Darker sage border on hover */
  
  /* Tinted shadows for a premium organic feel */
  --shadow-sm: 0 2px 8px -2px rgba(27, 67, 50, 0.04), 0 1px 3px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 20px -8px rgba(27, 67, 50, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(27, 67, 50, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Basic Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-primary);
}

/* Layout Container */
.main-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 30px 80px;
  width: 100%;
}

/* Site Header */
.site-header {
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, rgba(242, 246, 243, 0) 100%);
  padding: 55px 20px 35px;
  text-align: center;
  border-bottom: none;
}

.site-name {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: var(--accent-primary);
}

.site-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* TOP FULL-SCREEN STICKY NAVBAR */
.navigation-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(242, 246, 243, 0.9); /* Semitransparent sage */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 45px;
  box-shadow: 0 4px 15px -5px rgba(27, 67, 50, 0.05);
  width: 100%;
  transition: all var(--transition-normal);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: safe center;
  align-items: center;
  padding: 12px 30px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-container::-webkit-scrollbar {
  display: none;
}

.nav-tabs {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  margin: 0 auto;
}

.nav-tab {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: transparent;
  position: relative;
}

.nav-tab:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-secondary);
  opacity: 0.6;
}

.nav-tab:hover {
  color: var(--text-primary);
  background-color: rgba(27, 67, 50, 0.04);
}

.nav-tab.active {
  color: var(--accent-primary);
  background-color: var(--accent-light);
  font-weight: 600;
}

/* Main Content Panel */
.main-content {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

/* Sections and Animations */
.content-section {
  display: none;
  animation: slideUp 0.3s ease;
}

.content-section.active {
  display: block;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Headings */
.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-subtitle {
  color: var(--text-tertiary);
  margin-bottom: 30px;
  font-size: 14.5px;
  font-weight: 500;
}

.section-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background-color: var(--border-color);
  margin-left: 15px;
}

/* Cards & Layout Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent-primary);
}

/* Biography / Home Layout */
.home-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.home-main {
  display: flex;
  flex-direction: column;
}

.bio-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.bio-intro p {
  margin-bottom: 18px;
}

.bio-intro p:last-child {
  margin-bottom: 0;
}

.highlight-box {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent-secondary);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
}

.highlight-box p {
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
}

.research-tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.research-tag {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: default;
}

.research-tag:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-secondary);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

/* Home Sidebar - Profile Card */
.home-profile-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.home-profile-img-container {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px -4px rgba(27, 67, 50, 0.15);
  border: 4px solid var(--bg-secondary);
  outline: 2px solid var(--border-hover);
  transition: all var(--transition-normal);
}

.home-profile-img-container:hover {
  transform: scale(1.02);
  outline-color: var(--accent-secondary);
}

.home-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--accent-primary);
}

.profile-title {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 22px;
}

.home-contact-info {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.contact-item svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--accent-secondary);
  margin-top: 2px;
}

.contact-item a {
  color: var(--text-secondary);
}

.contact-item a:hover {
  color: var(--accent-primary);
}

.home-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-secondary);
  color: var(--accent-primary);
}

/* Timelines (Experience & Education) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: 40px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -22px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 3.5px solid var(--accent-secondary);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--accent-primary);
}

.timeline-date {
  font-size: 12px;
  font-weight: 600;
  background-color: var(--accent-light);
  color: var(--accent-primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.timeline-org {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 13.5px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Course Taught Lists */
.course-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 15px;
  margin-bottom: 35px;
}

.course-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 14px;
}

.course-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-secondary);
  flex-shrink: 0;
}

/* Styled Lists for Admin roles */
.list-styled {
  list-style: none;
}

.list-styled li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.list-styled li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
  font-size: 18px;
  line-height: 1.1;
}

/* Projects Accordions & Details */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-card {
  margin-bottom: 0;
  padding: 20px;
}

.project-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.project-tag {
  align-self: flex-start;
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.project-tag.ongoing {
  background-color: #fef3c7; /* Amber */
  color: #b45309;
}

.project-tag.completed {
  background-color: #d1fae5; /* Emerald */
  color: #047857;
}

.project-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: transform var(--transition-fast);
}

.project-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 13.5px;
  color: var(--text-secondary);
  display: none;
}

.project-details p {
  margin-bottom: 6px;
}

.project-card.expanded .project-details {
  display: block;
}

.project-card.expanded .project-arrow {
  transform: rotate(180deg);
  color: var(--accent-secondary);
}

/* Publications Filter and Search */
.publication-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  background-color: var(--bg-secondary);
  border-color: var(--accent-secondary);
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
}

.pub-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pub-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-secondary);
}

.publication-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.publication-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-secondary);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.publication-item:hover {
  transform: translateX(4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.pub-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pub-type-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-secondary);
  background-color: var(--accent-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pub-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.pub-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
}

/* Research Group Styles */
.group-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.group-tabs::-webkit-scrollbar {
  display: none;
}

.group-tab-btn {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  white-space: nowrap;
}

.group-tab-btn:hover {
  color: var(--text-primary);
}

.group-tab-btn.active {
  color: var(--accent-primary);
  font-weight: 600;
}

.group-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background-color: var(--accent-primary);
}

.group-section {
  display: none;
}

.group-section.active {
  display: block;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 20px;
}

.student-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.student-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.student-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.student-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.student-name-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.student-name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.student-role {
  font-size: 11px;
  color: var(--accent-secondary);
  font-weight: 600;
  background-color: var(--accent-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

.student-thesis {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.45;
  border-left: 2px solid var(--border-color);
  padding-left: 10px;
}

.student-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.student-meta span strong {
  color: var(--text-primary);
}

/* Custom Grids & Spacing */
.card-grid-2col {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr)) !important;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: 30px;
}

@media (min-width: 1200px) {
  .research-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

/* Awards & Honors */
.award-category-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.award-category-title svg {
  color: var(--accent-secondary);
  flex-shrink: 0;
}

.award-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--border-color);
}

.award-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.award-item:first-child {
  padding-top: 0;
}

.award-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-secondary);
  background-color: var(--accent-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  height: fit-content;
  align-self: flex-start;
  white-space: nowrap;
}

.award-content {
  flex-grow: 1;
}

.award-title-text {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.45;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .site-header {
    padding: 40px 20px 20px;
  }
  
  .site-name {
    font-size: 32px;
  }
  
  .navigation-bar {
    margin-bottom: 30px;
  }
  
  .nav-container {
    flex-direction: row;
    gap: 0;
    padding: 12px 15px;
  }
  
  .nav-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px 16px;
    width: auto;
  }
  
  .nav-tab {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .main-container {
    padding: 0 20px 50px;
  }
  
  .home-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .home-sidebar {
    order: -1; /* Place profile photo above bio on mobile/tablets */
  }
  
  .timeline-grid {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .pub-filters {
    gap: 4px;
  }
  
  .filter-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .card-grid {
    gap: 20px;
  }
}

/* Helper and Utility Classes */
.mt-0 {
  margin-top: 0 !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-25 {
  margin-top: 25px !important;
}

/* Home / Bio Sub-styles */
.bio-sub-title {
  margin-bottom: 15px;
  font-size: 20px;
}

.profile-degree {
  font-size: 15px;
  font-weight: 500;
}

/* Academic & Timeline headings */
.timeline-heading {
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  color: var(--accent-primary);
}

/* Course and MOOC card styles */
.course-heading {
  margin-bottom: 20px;
  font-size: 19px;
  color: var(--text-primary);
}

.mooc-card-title {
  font-size: 15px;
  color: var(--accent-primary);
  margin-bottom: 5px;
}

.mooc-card-schedule {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Research & Project specific styles */
.research-heading {
  margin-bottom: 20px;
  font-size: 19px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.project-card-title {
  margin-bottom: 5px;
  font-size: 16px;
}

.project-card-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.patent-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.patent-card-title {
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--accent-primary);
}

.patent-card-num {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.patent-card-applicants {
  font-size: 13px;
  color: var(--text-secondary);
}

.student-co-sup {
  color: var(--text-secondary);
}

/* Awards Cards layout */
.awards-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
  gap: 30px !important;
}

.award-card {
  padding: 25px !important;
}

.award-list {
  display: flex;
  flex-direction: column;
}

/* Footer Section */
.site-footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.footer-subtext {
  margin-top: 5px;
}

/* Message Card / Students' Corner */
.message-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-left: 4px solid var(--accent-secondary) !important;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.message-avatar-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-secondary);
  flex-shrink: 0;
}

.message-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.message-author {
  font-size: 19px;
  color: var(--accent-primary);
  margin: 0;
}

.message-author-title {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.message-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.message-body p {
  margin-bottom: 20px;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.message-signature {
  margin-top: 35px;
  border-top: 1px dashed var(--border-color);
  padding-top: 20px;
  color: var(--accent-primary) !important;
}
