/* Base styles for all screen sizes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #1f1f1f;
  color: white;
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif;
}

#project-title, #section-header, #project-text, .navbar-link-text, #about-heading, #about-body, #tile-header, #tile-description, .tag, .publication, #pub-title, #pub-description, footer {
  font-family: 'Inter', sans-serif;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  min-height: 60px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#navbar-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

#logo {
  height: 40px;
  width: 40px;
}

#logo:hover {
  transform: scale(1.05);
}

.transitions-enabled #logo {
  transition: transform 0.3s ease;
}

.navbar-link {
  list-style: none;
}

.navbar-link-text {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.navbar-link-text:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

#featured_projects {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 3rem auto 10rem auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

#featured_projects-header {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

#about-me {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 3rem auto 10rem auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

#about-header {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

#projects-header {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

#about-body {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-size: 1rem;
  line-height: 1.8;
}

#about-body h2 {
  flex: 1;
  text-align: left;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
}

#about-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

/* PROJECT PAGE */
#projects-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 75px;
}

#project {
  margin: 3rem auto 0 auto;
  width: 100%;
  max-width: 1400px;
  padding: 0 32px;
  box-sizing: border-box;
  text-align: center;
}

/* TITLES AND TEXT */
#project-title {
  font-size: 2.5rem;
}

#section-header {
  font-size: 1.75rem;
}

#project-text {
  font-size: 1.5rem;
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* IMAGE CENTERING */
.project-page-image {
  display: block;
  margin: 24px auto;
  max-width: 100%;
  width: auto;
  height: auto;
  box-sizing: border-box;
}

#qmk-badge:hover{
  opacity: 0.8;
}

/* TILES */
#setof3tiles {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-direction: row;
  justify-content: space-between; 
  padding-bottom: 200px;
  padding: 40px 0;
  max-width: 1200px;
  margin: 3rem auto;
  gap: 24px;
}

/* Grid layout for filtered results */
#setof3tiles.grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: flex-start;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  width: 360px;
  min-width: 0;
  height: 500px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  margin: 0;
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-sizing: border-box;
}

.image-container {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.tile-img {
  width: 100%;
  height: 200px;
  border-radius: 16px;  
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  object-fit: cover;
  display: block;
}

/* Tile Header */
.tile-header {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  margin: 0;
  padding: 0;
}

.tile-date {
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

.tile:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

#tile-header{
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: bolder;
  color: #fff;
  text-align: center;
  font-style: normal;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Tag styling - consistent across all screen sizes */
.tag {
  width: auto;
  min-width: 60px;
  height: 30px;
  border-radius: 30px 30px 30px 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.9);
  margin: 0;
  padding: 0 12px;
  transition: all 0.2s ease;
}

.tag:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

#tile-description {
  font-size: 1.1rem;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.9);
  text-align: left;
  margin-top: -5px;   
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

#setof3tags{
  display: flex;
  padding: 0;
  position: static;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
  margin-top: 1rem;
  box-sizing: border-box;
}

.tile-img {
  width: 100%;
  height: 200px;
  border-radius: 16px;  
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* Publications */
.publication {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  width: 400px;
  min-width: 0;
  background-color: #ffffff;
  border-radius: 24px;
  margin: 10px 10px;
  position: relative;
  padding: 12px 12px;
  color: #000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

#set-of-pubs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
}

#pub-header {
  margin: auto;
  margin-top: 3rem;
  max-width: 1300px;
  width: 1300px;
  width: auto;
  padding-left: 75px;
  padding-right: 75px;
}

#pub-title {
  font-size: 1.5rem;
  font-style: normal;
  font-family: 'Times New Roman', Times, serif, Geneva, Tahoma, sans-serif;
  color:#000000;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 1rem;
  font-weight: 700;
}

#pub-description {
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1.1rem;
  font-style: normal;
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif;
  color:#000000;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 0;
}

.publication:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

#error_page{
  text-align: center;
  padding: 2rem;
}

footer {
  margin-bottom: 2rem;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

#about-header {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* ===== CONSOLIDATED MEDIA QUERIES ===== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  #project {
    max-width: 1000px;
    padding: 0 64px;
  }
}

/* Project Page Styles */
#projects-page #setof3tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 24px 0;
  max-width: 1400px;
  margin: 20px auto 3rem auto;
}

#projects-page .tile {
  margin: 0 !important;
}

#projects-header {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

#publications-header {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

#publications-card {
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  padding: 40px 24px;
  max-width: 1400px;
  margin: 3rem auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

#set-of-pubs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.publication {
  width: 100%;
  max-width: 800px;
  background-color: #eaeaea;
  border-radius: 24px;
  margin: 24px 0;
  box-shadow: none;
  padding: 32px 32px 24px 32px;
  color: #111;
}

#pub-title {
  font-size: 1.5rem;
  font-style: normal;
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif;
  color:#000000;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 1rem;
  font-weight: 700;
}

#pub-description {
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1.1rem;
  font-style: normal;
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif;
  color:#000000;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Section Titles */
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: left;
  letter-spacing: -0.02em;
}

/* Hero Sections */
#about-header,
#projects-header,
#publications-header {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Error Page */
#error-card {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.error-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Project Hero */
#project-hero {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
}

.back-button:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-image-section {
  margin: 3rem 0;
}

.hero-image {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

.project-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 3rem 0;
}

.content-card {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.content-card .section-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.content-card .section-title {
  text-align: left !important;
}

.project-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.spec-item {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.spec-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.spec-item p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4ade80;
  font-weight: bold;
  font-size: 1.2rem;
}

.model-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}



.model-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.skill-tag {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.skill-tag:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.qmk-section {
  margin: 2rem 0;
}

.qmk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4ade80;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.qmk-link:hover {
  color: #22c55e;
  transform: translateY(-1px);
}

.qmk-badge {
  width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}

/* About Hero */
.about-hero {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Projects Hero */
.projects-hero {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4rem;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.projects-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.projects-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Featured Hero */
.featured-hero {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4rem;
}

.featured-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.featured-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Section Styling */
.filter-section {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.filter-header {
  margin-bottom: 1.5rem;
}

.filter-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}



.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: 'Inter', sans-serif;
}

.filter-tag:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.filter-tag.active {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.4);
}

/* Experience Section Styling */
.experience-hero {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4rem;
}

.experience-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.experience-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.experience-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Experience Grid */
.experience-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Experience Cards */
.experience-card {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

/* Experience Header */
.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.experience-date {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

.experience-company {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.experience-position {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.experience-meta {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
}

.experience-description {
  margin: 1.5rem 0;
}

.experience-description p {
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-size: 0.95rem;
}

.experience-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Company Logo and Info Section */
.experience-company-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.company-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.company-info {
  flex: 1;
}

.company-info .experience-company {
  margin-bottom: 0.25rem;
}

.company-info .experience-position {
  margin-bottom: 0;
}

/* Publications Page Styling */
.publications-hero {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4rem;
}

.publications-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.publications-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.publications-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Publications Grid */
.publications-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Publication Cards */
.publication-card {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.publication-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

/* Publication Header */
.publication-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.publication-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.conference-badge {
  background: #3b82f6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.journal-badge {
  background: #10b981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.publication-date {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

.publication-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.publication-meta {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.meta-label {
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  min-width: 80px;
  font-size: 0.9rem;
}

.meta-value {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.publication-abstract {
  margin: 1.5rem 0;
}

.abstract-label {
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.publication-abstract p {
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-size: 0.95rem;
}

.publication-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
}

.action-btn.primary {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.action-btn.primary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.action-btn.secondary {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}

.action-btn.secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.05);
  color: #fff;
  transform: translateY(-2px);
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.action-btn svg {
  width: 16px;
  height: 16px;
}

.action-btn:hover svg {
  transform: scale(1.1);
}

/* Social Media Section */
.social-hero {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4rem;
}

.social-title {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.social-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.social-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.social-grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  width: 205px;
  height: 120px;
  flex-shrink: 0;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

.social-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  flex-shrink: 0;
}

.social-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.social-info {
  flex: 1;
}

.social-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.social-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .social-container {
    padding: 0 1rem;
  }
  
  .social-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .social-title {
    font-size: 2.5rem;
  }
  
  .social-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .social-hero {
    padding: 0 1rem;
    margin: 3rem 0 1.5rem 0;
  }
  
  .social-title {
    font-size: 2rem;
  }
  
  .social-subtitle {
    font-size: 1rem;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .social-card {
    padding: 1.25rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .social-name {
    font-size: 1.1rem;
  }
  
  .social-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .social-title {
    font-size: 1.75rem;
  }
  
  .social-subtitle {
    font-size: 0.9rem;
  }
  
  .social-card {
    padding: 1rem;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    margin-right: 0.75rem;
  }
  
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .social-name {
    font-size: 1rem;
  }
  
  .social-description {
    font-size: 0.8rem;
  }
}

@media (min-width: 1200px) {
  /* Add any desktop-specific styles here if needed */
}