/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation - simplified to match original */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: #333;
}

.logo-img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-weight: 600;
  color: #333;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #333;
  background-color: #f5f5f5;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 20px;
  height: 2px;
  background-color: #333;
  margin: 2px 0;
  transition: 0.3s;
}

/* Main Hero Section - restructured layout */
.hero-main {
  padding: 40px 0;
  background: #fff;
}

/* Title section - full width */
.hero-title-section {
  text-align: center;
  margin-bottom: 40px;
}

.main-subtitle {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: #434343;
}

.main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: #333;
}

.vision-highlight {
  color: #E4C047;
}

/* Content layout - logo and intro side by side */
.hero-content-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}

.hero-logo-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cvml-brand {
  text-align: center;
}

.cvml-logo-main {
  margin-bottom: 20px;
}

.main-logo-img {
  max-width: 280px;
  height: auto;
}

.hero-intro-section {
  padding-top: 0;
}

.welcome-section {
  margin-bottom: 30px;
}

.welcome-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

.research-overview {
  margin-bottom: 30px;
}

.research-overview h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.research-list {
  list-style: none;
  padding: 0;
}

.research-list li {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  position: relative;
  padding-left: 12px;
}

.research-list li:before {
  content: "•";
  color: #ff6b35;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.research-list li strong {
  color: #333;
  font-weight: 600;
}

.recognition-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ff6b35;
}

.recognition-text {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  font-style: italic;
}

/* News Section */
.news {
  padding: 50px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.news h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  min-width: 100px;
  flex-shrink: 0;
  font-family: 'Courier New', Courier, monospace;
}

.news-content {
  color: #333;
  line-height: 1.5;
  font-size: 14px;
}

.news-content strong {
  color: #333;
  font-weight: 600;
}

.news-actions {
  text-align: center;
  margin-top: 30px;
}

/* Location Section */
.location {
  padding: 50px 0;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}

.location h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.location-info {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.location-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.location-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.location-info p:last-child {
  margin-bottom: 0;
}

.location-info strong {
  color: #333;
  font-weight: 600;
}

.location-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.location-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Responsive adjustments for location */
@media (max-width: 768px) {
  .location-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .location-info {
    padding: 20px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  color: #333;
}

.btn:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.btn-secondary {
  background-color: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
}

.btn-secondary:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

/* Footer */
.footer {
  background: #f8f9fa;
  color: #666;
  padding: 40px 0 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-info h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-info p {
  margin-bottom: 5px;
  color: #666;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #333;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  color: #888;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-logo-section {
    order: 2;
  }

  .hero-intro-section {
    order: 1;
  }

  .main-title {
    font-size: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-item {
    flex-direction: column;
    gap: 10px;
  }

  .news-date {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 28px;
  }

  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero-content-layout {
    gap: 20px;
  }
}

/* Page-specific styles */
.page-header {
  padding: 40px 0 30px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 16px;
  color: #666;
}

/* People Page */
.people-section {
  padding: 50px 0;
}

.people-category {
  margin-bottom: 50px;
}

.category-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
  border-bottom: 2px solid #ff6b35;
  padding-bottom: 10px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.person-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.person-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.person-photo {
  text-align: center;
  margin-bottom: 15px;
}

.photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
}

.person-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.person-title {
  font-size: 14px;
  color: #ff6b35;
  font-weight: 500;
  margin-bottom: 10px;
}

/* Person cards */

.person-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.person-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.person-link:hover {
  background: #f5f5f5;
  color: #333;
}

/* JSON-based People Page Styles */
.section-header {
  margin-bottom: 30px;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ff6b35;
  padding-bottom: 10px;
}

/* Faculty Card Specific Styles */
.faculty-card {
  border: 2px solid #ff6b35;
  background: linear-gradient(135deg, #fff 0%, #fef9f6 100%);
}

.faculty-card:hover {
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
}

.faculty-card .person-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff6b35;
}

.faculty-card .person-name {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.faculty-card .person-title {
  font-size: 16px;
  color: #ff6b35;
  font-weight: 600;
  margin-bottom: 8px;
}

.faculty-card .person-affiliation {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.faculty-card .person-email a {
  font-size: 14px;
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
}

.faculty-card .person-email a:hover {
  text-decoration: underline;
}

.faculty-card .person-links {
  margin: 15px 0;
}

.faculty-card .person-link {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 8px 12px;
  font-weight: 500;
}

.faculty-card .person-link:hover {
  background: #e55a2b;
  color: white;
}

.person-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.interest-tag {
  background: #f0f0f0;
  color: #666;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.faculty-card .interest-tag {
  background: #ffe5dd;
  color: #ff6b35;
}

.person-year {
  font-size: 13px;
  color: #888;
  margin-bottom: 5px;
}

.person-affiliation {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.research-interests {
  font-size: 13px;
  margin-bottom: 13px;
}

.research-interests strong {
  font-size: 13px;
  color: #333;
}

.research-interests p {
  font-size: 13px;
  color: #666;
  margin-top: 3px;
}

.person-email {
  color: #007bff;
  font-size: 13px;
  margin-bottom: 10px;
}

.person-email a {
  color: #007bff;
  text-decoration: none;
}

.person-email a:hover {
  text-decoration: underline;
}

.next-position {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 10px;
}

.graduation-info {
  font-size: 13px;
  color: #888;
}

.alumni-card {
  border-left: 3px solid #ff6b35;
  padding: 15px;
  background: #fafafa;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid #e8e8e8;
}

.alumni-card:hover {
  background: #f5f5f5;
  border-color: #ddd;
  transform: translateY(-1px);
}

/* Compact Alumni Layout */
.alumni-card .person-info {
  margin: 0;
}

.alumni-card .person-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.3;
}

.alumni-card .person-title {
  font-size: 13px;
  color: #ff6b35;
  font-weight: 500;
  margin-bottom: 3px;
}

.alumni-card .person-email {
  font-size: 12px;
  margin-bottom: 6px;
}

.alumni-card .person-email a {
  color: #007bff;
  text-decoration: none;
  font-size: 11px;
}

.alumni-card .person-email a:hover {
  text-decoration: underline;
}

.alumni-card .next-position {
  font-size: 13px;
  color: #555;
  line-height: 1.3;
  margin-bottom: 6px;
}

.alumni-card .next-position strong {
  color: #333;
  font-weight: 600;
}

.alumni-card .graduation-info {
  font-size: 11px;
  color: #999;
  margin-bottom: 0;
}

/* Compact Grid for Alumni */
.alumni-category .people-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

.no-results {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

.error-message {
  text-align: center;
  padding: 40px;
  color: #dc3545;
  font-size: 16px;
}

/* Alumni Page Controls Styles */
.alumni-controls {
  background-color: #f8f9fa;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-box {
  display: flex;
  gap: 10px;
  max-width: 500px;
}

.search-box input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.search-box button,
.filter-controls button {
  padding: 10px 20px;
  background-color: #ff6b35;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-box button:hover,
.filter-controls button:hover {
  background-color: #e55a2b;
}

.filter-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-controls select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
}

#clear-filters {
  background-color: #6c757d;
}

#clear-filters:hover {
  background-color: #5a6268;
}

.alumni-section {
  padding: 50px 0;
}

.alumni-category {
  margin-bottom: 50px;
}

/* Legacy Alumni List Styles (for compatibility) */
.alumni-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.alumni-item {
  padding: 15px;
  background: #f9f9f9;
  border-radius: 6px;
  border-left: 3px solid #ff6b35;
}

.alumni-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

/* Publications Page */
.publications-section {
  padding: 50px 0;
}

.publication-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
  background: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
}

.year-section {
  margin-bottom: 40px;
}

.year-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  border-bottom: 2px solid #ff6b35;
  padding-bottom: 10px;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.publication-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.publication-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.publication-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.3;
}

.publication-authors {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.publication-venue {
  font-size: 14px;
  color: #ff6b35;
  margin-bottom: 12px;
}

.publication-description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.publication-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pub-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.pub-link:hover {
  background: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
}

/* Enhanced Publications Controls */
.publications-controls {
  margin-bottom: 40px;
}

.publication-search {
  margin-bottom: 30px;
  text-align: center;
}

.search-input {
  width: 100%;
  max-width: 500px;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 16px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #ff6b35;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.publication-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-group label {
  font-weight: 500;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.filter-group .filter-btn {
  margin: 0;
}

/* Enhanced Publication Items */
.publication-item.featured {
  border-left: 4px solid #ff6b35;
  background: linear-gradient(135deg, #fff 0%, #fef8f6 100%);
}

.publication-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.keyword {
  background: #f0f7ff;
  color: #0066cc;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.publication-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.publication-date,
.publication-type,
.publication-status {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.publication-date {
  background: #e8f5e8;
  color: #2d5a2d;
}

.publication-type {
  background: #e8f0ff;
  color: #1a5490;
}

.publication-status {
  background: #fff3e0;
  color: #b8860b;
}

.loading-message {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
}

.error-message {
  text-align: center;
  padding: 60px 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
}

.error-message h3 {
  margin-bottom: 10px;
  color: #b91c1c;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
  background: #f9f9f9;
  border-radius: 8px;
}

/* News Category Styling */
.news-item.news-publication {
  border-left: 3px solid #ff6b35;
}

.news-item.news-award {
  border-left: 3px solid #ffd700;
}

.news-item.news-collaboration {
  border-left: 3px solid #32cd32;
}

.news-item.news-lab_update {
  border-left: 3px solid #1e90ff;
}

.news-featured {
  background: linear-gradient(135deg, #fff 0%, #fef8f6 100%);
}

.news-category {
  display: inline-block;
  font-size: 10px;
  background: #f0f0f0;
  color: #666;
  padding: 2px 6px;
  border-radius: 8px;
  margin-top: 8px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Projects Page */
.projects-section {
  padding: 50px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.project-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 9px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.project-icon {
  font-size: 24px;
}

.project-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.project-description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.project-details {
  margin-bottom: 20px;
}

.project-status,
.project-funding {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.status-label,
.funding-label {
  font-weight: 500;
  color: #666;
}

.status-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.ongoing {
  background: #e3f2fd;
  color: #1976d2;
}

.status-badge.new {
  background: #e8f5e8;
  color: #388e3c;
}

.status-badge.completed {
  background: #f3e5f5;
  color: #7b1fa2;
}

.funding-source {
  color: #555;
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.project-link:hover {
  background: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
}

.collaboration-section {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.collaboration-item {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border-left: 3px solid #ff6b35;
}

.collaboration-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.collaboration-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* Gallery Page */
.gallery-section {
  padding: 50px 0;
}

.gallery-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.gallery-description {
  font-size: 14px;
  opacity: 0.9;
}

.gallery-actions {
  text-align: center;
}

/* Apply Page */
.apply-section {
  padding: 50px 0;
}

.positions-section {
  margin-bottom: 60px;
}

.position-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  transition: box-shadow 0.3s ease;
}

.position-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.position-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.position-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.position-status.available {
  background: #e8f5e8;
  color: #388e3c;
}

.position-status.limited {
  background: #fff3e0;
  color: #f57c00;
}

.position-status.not-available {
  background: #ffebee;
  color: #d32f2f;
}

.position-description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.position-requirements,
.position-benefits {
  margin-bottom: 15px;
}

.position-requirements h4,
.position-benefits h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.position-requirements ul,
.position-benefits ul {
  list-style: none;
  padding: 0;
}

.position-requirements li,
.position-benefits li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.position-requirements li:before,
.position-benefits li:before {
  content: "•";
  color: #ff6b35;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.application-section {
  margin-bottom: 60px;
}

.application-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #ff6b35;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.step-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.requirements-section {
  margin-bottom: 60px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.requirement-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #ff6b35;
}

.requirement-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.requirement-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.contact-section {
  margin-bottom: 60px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.contact-method {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
}

.contact-method h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.contact-method p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.contact-link {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

.faq-section {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border-left: 3px solid #ff6b35;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Additional responsive design */
@media (max-width: 768px) {

  .people-grid,
  .projects-grid,
  .gallery-grid,
  .requirements-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .application-steps {
    gap: 15px;
  }

  .step {
    flex-direction: column;
    gap: 10px;
  }

  .position-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .publication-filters,
  .gallery-filters {
    justify-content: flex-start;
  }

  .controls-wrapper {
    gap: 15px;
  }

  .search-box {
    max-width: 100%;
  }

  .filter-controls {
    gap: 10px;
  }

  .filter-controls select,
  .filter-controls button {
    font-size: 13px;
    padding: 8px 12px;
  }

  /* Compact Alumni Mobile Styles */
  .alumni-category .people-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .alumni-card {
    padding: 12px;
  }

  .alumni-card .person-name {
    font-size: 15px;
  }

  .alumni-card .next-position {
    font-size: 12px;
  }
}

/* Apply page styles */
.intro-section {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid #007bff;
}

.intro-section h2 {
  color: #495057;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.intro-section p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.important-notes {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.important-notes .note-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.important-notes .note-item:last-child {
  margin-bottom: 0;
}

.important-notes .note-number {
  color: #856404;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.important-notes .note-text {
  color: #856404;
  line-height: 1.5;
  font-size: 1rem;
}

.important-notes h4 {
  color: #856404;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.important-notes h4::before {
  content: "⚠️";
  margin-right: 8px;
}

.important-notes ul {
  margin: 0;
  padding-left: 1.5rem;
}

.important-notes li {
  color: #856404;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.application-requirement-highlight {
  background: #fff;
  border: 2px solid #ff6b35;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  position: relative;
}

.application-requirement-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #ff6b35;
  border-radius: 8px 8px 0 0;
}

.application-requirement-highlight h3 {
  color: #ff6b35;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.application-requirement-highlight p {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.application-requirement {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 2px solid #28a745;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.application-requirement h3 {
  color: #155724;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.application-requirement p {
  color: #155724;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.form-button {
  display: inline;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
  border: none;
  cursor: pointer;
}

.form-button:hover {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
  color: white;
  text-decoration: none;
  transform: none;
}

.form-button-large {
  display: inline-block;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 1.2rem 3rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
  border: none;
  cursor: pointer;
}

.form-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
  color: white;
  text-decoration: none;
}

.step {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
}

.step h4 {
  color: #007bff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: #6c757d;
  line-height: 1.6;
}

.faq-section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.faq-item {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.faq-answer {
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

/* Responsive design for apply page */
@media (max-width: 768px) {

  .intro-section,
  .application-requirement-highlight,
  .faq-section {
    padding: 1.5rem;
  }

  .form-button-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .important-notes {
    padding: 1rem;
  }

  .important-notes .note-item {
    gap: 0.3rem;
  }
}