* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --theme-blue: #00306b;
  --theme-blue-strong: #001f47;
  --theme-blue-soft: #1d4f8f;
  --theme-orange: #d46504;
  --theme-orange-soft: #f29c4b;
  --theme-cream: #fff3e6;
  --theme-diamond-cream: #f3dfc6;
  --theme-surface: rgba(255, 247, 239, 0.95);
  --theme-surface-strong: #fff8f1;
  --theme-border: rgba(212, 101, 4, 0.26);
  --theme-shadow: rgba(0, 24, 54, 0.26);
  --theme-text: #0a2547;
  --theme-text-soft: #365275;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(212, 101, 4, 0.14), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(255, 179, 94, 0.12), transparent 24%),
    linear-gradient(135deg, var(--theme-blue-strong) 0%, var(--theme-blue) 48%, #0c4a96 100%);
  background-attachment: fixed;
  color: var(--theme-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Animated orange diamond mosaic */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  background:
    linear-gradient(45deg, transparent 43%, rgba(212, 101, 4, 0.28) 43% 57%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, rgba(212, 101, 4, 0.28) 43% 57%, transparent 57%),
    linear-gradient(45deg, transparent 46%, rgba(255, 214, 172, 0.18) 46% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, rgba(255, 214, 172, 0.18) 46% 54%, transparent 54%);
  background-size: 220px 220px, 220px 220px, 110px 110px, 110px 110px;
  background-position: 0 0, 0 0, 55px 55px, 55px 55px;
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: mosaicDrift 28s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Large drifting accent diamonds */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    conic-gradient(from 45deg at 18% 24%, transparent 0 25%, rgba(212, 101, 4, 0.24) 25% 50%, transparent 50% 100%),
    conic-gradient(from 45deg at 78% 66%, transparent 0 25%, rgba(255, 183, 108, 0.18) 25% 50%, transparent 50% 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 58%);
  filter: blur(2px);
  animation: accentFloat 18s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

@keyframes mosaicDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    background-position: 0 0, 0 0, 55px 55px, 55px 55px;
  }
  50% {
    transform: translate3d(-2%, 2%, 0) scale(1.03);
    background-position: 70px 40px, -70px 40px, 95px 95px, 15px 95px;
  }
}

@keyframes accentFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(3%, -2%, 0) scale(1.08) rotate(6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

/* Language Switcher */
.lang-switcher-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
}

.lang-switcher {
  background: rgba(0, 31, 71, 0.9);
  color: var(--theme-cream);
  border: 1px solid rgba(212, 101, 4, 0.5);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-family: 'Courier New', 'Consolas', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 12px 30px rgba(0, 24, 54, 0.28);
  backdrop-filter: blur(10px);
}

.lang-switcher:hover {
  background: rgba(212, 101, 4, 0.18);
  border-color: rgba(255, 179, 94, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 18px 36px rgba(0, 24, 54, 0.34),
    0 0 24px rgba(212, 101, 4, 0.34);
  text-shadow: 0 0 10px rgba(212, 101, 4, 0.5);
}

.lang-switcher:active {
  transform: translateY(0);
}

header {
  background: #ffffff;
  color: var(--theme-blue);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 24, 54, 0.14);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-photo-container {
  flex-shrink: 0;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid rgba(0, 48, 107, 0.18);
  padding: 4px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.75));
  box-shadow: 
    0 0 30px rgba(0, 48, 107, 0.55),
    0 0 60px rgba(212, 101, 4, 0.3),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: photoGlow 3s ease-in-out infinite;
}

@keyframes photoGlow {
  0%, 100% {
    box-shadow: 
      0 0 30px rgba(0, 48, 107, 0.55),
      0 0 60px rgba(212, 101, 4, 0.3),
      inset 0 0 30px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 0 40px rgba(0, 48, 107, 0.75),
      0 0 80px rgba(212, 101, 4, 0.45),
      inset 0 0 40px rgba(255, 255, 255, 0.2);
  }
}

.profile-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme-blue), var(--theme-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-text {
  flex: 1;
  text-align: left;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

header::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(680px, 60%);
  height: 78%;
  background:
    repeating-linear-gradient(45deg, transparent 0 30px, rgba(212, 101, 4, 0.7) 30px 33px, transparent 33px 63px),
    repeating-linear-gradient(-45deg, transparent 0 30px, rgba(0, 48, 107, 0.68) 30px 33px, transparent 33px 63px),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(212, 101, 4, 0.45) 20px 22px, transparent 22px 42px),
    repeating-linear-gradient(-45deg, transparent 0 20px, rgba(0, 48, 107, 0.42) 20px 22px, transparent 22px 42px),
    repeating-linear-gradient(45deg, transparent 0 13px, rgba(212, 101, 4, 0.3) 13px 14px, transparent 14px 27px),
    repeating-linear-gradient(-45deg, transparent 0 13px, rgba(0, 48, 107, 0.28) 13px 14px, transparent 14px 27px);
  clip-path: polygon(0 100%, 0 0, 88% 0, 100% 30%, 78% 66%, 55% 100%);
  mask-image: radial-gradient(circle at 0 100%, rgba(0, 0, 0, 0.97) 0 26%, rgba(0, 0, 0, 0.82) 44%, rgba(0, 0, 0, 0.36) 63%, transparent 83%);
  -webkit-mask-image: radial-gradient(circle at 0 100%, rgba(0, 0, 0, 0.97) 0 26%, rgba(0, 0, 0, 0.82) 44%, rgba(0, 0, 0, 0.36) 63%, transparent 83%);
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 34%);
  height: 54%;
  background:
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(0, 48, 107, 0.55) 24px 26px, transparent 26px 50px),
    repeating-linear-gradient(-45deg, transparent 0 24px, rgba(212, 101, 4, 0.58) 24px 26px, transparent 26px 50px),
    repeating-linear-gradient(45deg, transparent 0 15px, rgba(0, 48, 107, 0.34) 15px 16px, transparent 16px 31px),
    repeating-linear-gradient(-45deg, transparent 0 15px, rgba(212, 101, 4, 0.35) 15px 16px, transparent 16px 31px);
  clip-path: polygon(18% 0, 100% 0, 100% 86%, 68% 100%, 36% 74%, 0 36%);
  mask-image: radial-gradient(circle at 100% 0, rgba(0, 0, 0, 0.9) 0 24%, rgba(0, 0, 0, 0.6) 42%, rgba(0, 0, 0, 0.3) 60%, transparent 79%);
  -webkit-mask-image: radial-gradient(circle at 100% 0, rgba(0, 0, 0, 0.9) 0 24%, rgba(0, 0, 0, 0.6) 42%, rgba(0, 0, 0, 0.3) 60%, transparent 79%);
  opacity: 0.78;
  z-index: 0;
  pointer-events: none;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  color: var(--theme-blue);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
  animation: fadeInDown 1s ease-out;
  letter-spacing: 0.05em;
  text-align: left;
}

header p {
  margin-top: 1rem;
  font-size: 1.3rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
  text-align: left;
  font-family: 'Courier New', 'Consolas', monospace;
  color: var(--theme-blue-soft);
}

nav {
  background: rgba(15, 15, 20, 0.98);
  padding: 1.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(212, 101, 4, 0.14);
  border-bottom: 1px solid rgba(212, 101, 4, 0.24);
}

nav a {
  color: var(--theme-cream);
  margin: 0 0.8rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Courier New', 'Consolas', monospace;
  transition: all 0.3s ease;
  padding: 0.7rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  background: rgba(212, 101, 4, 0.08);
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
}

nav a::before {
  content: '>';
  position: absolute;
  left: 0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--theme-orange-soft);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-orange), var(--theme-orange-soft));
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(212, 101, 4, 0.55);
}

nav a:hover::before {
  opacity: 1;
  left: 0.3rem;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #ffffff;
  background: rgba(212, 101, 4, 0.18);
  border-color: rgba(255, 179, 94, 0.45);
  transform: translateX(5px);
  box-shadow: 
    0 0 20px rgba(212, 101, 4, 0.3),
    inset 0 0 20px rgba(212, 101, 4, 0.1);
  text-shadow: 0 0 10px rgba(212, 101, 4, 0.4);
}

nav a:active {
  transform: translateX(3px) scale(0.98);
}

/* ============================================
   ICON CUSTOMIZATION GUIDE
   ============================================
   You can easily customize icons by changing the 'content' property.
   
   Options:
   - Unicode symbols: '→', '▶', '◉', '●', '◆', '■', '▲', etc.
   - CSS shapes: Use border/background properties (see examples below)
   - Text: '@', '#', '*', etc.
   - Remove icon: Set content: '' and remove other properties
   
   For more icons, you can also use Font Awesome or other icon libraries.
   ============================================ */

/* Navigation - Tech/CS style, no icons needed */

section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 248, 241, 0.96) 0%, rgba(255, 242, 228, 0.94) 100%);
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  box-shadow: 
    0 18px 40px rgba(0,0,0,0.16),
    0 0 0 1px rgba(212, 101, 4, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: fadeIn 0.8s ease-out;
  position: relative;
  z-index: 1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-orange), var(--theme-blue), var(--theme-orange));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  border-radius: 8px 8px 0 0;
}

h2 {
  border-left: 4px solid var(--theme-orange);
  padding-left: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--theme-blue);
  font-family: 'Courier New', 'Consolas', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-left: 1.5rem;
}

h2::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--theme-orange);
  opacity: 0.5;
  font-size: 1.2em;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--theme-text-soft);
}

section h3 {
  color: var(--theme-blue);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.academic-projects-grid,
.professional-experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background: linear-gradient(145deg, #fff7ef 0%, #ffe9d1 100%);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 48, 107, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 1rem;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-blue), var(--theme-orange));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 48, 107, 0.2);
  border-color: var(--theme-orange);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card h3 {
  color: var(--theme-blue);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  margin: 0;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  gap: 1rem;
}

.project-header h3 {
  flex: 1;
}

.project-header h3::before {
  content: '▶ ';
  color: var(--theme-orange);
  font-size: 0.8em;
  margin-right: 0.3rem;
}

/* Status Badges - Icon-based */
.status-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.status-completed {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-completed::after {
  content: '';
  width: 12px;
  height: 6px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.status-in-progress {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.status-in-progress::after {
  content: '';
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.project-card p {
  color: var(--theme-text-soft);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-card a {
  color: var(--theme-blue-soft);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.project-card a::before {
  content: '↗';
  margin-right: 0.3rem;
  font-size: 1.1em;
}

.project-card a:hover {
  color: var(--theme-orange);
  transform: translateX(5px);
}

.project-card a::after {
  content: ' →';
  transition: transform 0.3s ease;
}

.project-card a:hover::after {
  transform: translateX(5px);
}

/* Expandable Project Details */
.project-card.expanded {
  padding: 2.5rem;
}

.project-summary {
  transition: all 0.3s ease;
}

.project-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0;
  margin-top: 0;
}

.project-card.expanded .project-details {
  max-height: 2000px;
  padding: 1.5rem 0 0 0;
  margin-top: 1.5rem;
  border-top: 2px solid rgba(212, 101, 4, 0.22);
}

.detail-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.detail-label {
  font-weight: 700;
  color: var(--theme-blue);
  min-width: 120px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.detail-value {
  color: var(--theme-text-soft);
  flex: 1;
  line-height: 1.6;
  min-width: 0;
}

.detail-value .skills-container {
  margin-top: 0;
  gap: 0.6rem;
  width: 100%;
}

.detail-value a {
  color: var(--theme-blue-soft);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.detail-value a:hover {
  color: var(--theme-orange);
  text-decoration: underline;
}

.expand-icon {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  font-size: 0.9em;
  color: var(--theme-orange);
}

.project-card.expanded .expand-icon {
  transform: rotate(180deg);
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  width: 100%;
}

.project-details .skills-container {
  margin-top: 0.5rem;
}

.skill-badge {
  background: linear-gradient(135deg, var(--theme-blue) 0%, var(--theme-orange) 100%);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 48, 107, 0.2);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
}

.skill-badge::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.skill-badge:hover::before {
  left: 100%;
}

.skill-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 20px rgba(212, 101, 4, 0.26);
}

#contact {
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.contact-item strong {
  min-width: 80px;
}

.contact-item a {
  color: var(--theme-blue-soft);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Contact icons */
.contact-item a[href^="mailto"]::before {
  content: '@';
  margin-right: 0.3rem;
  font-weight: normal;
}

.contact-item a[href*="github"]::before {
  content: '◉';
  margin-right: 0.3rem;
  font-size: 0.9em;
  color: var(--theme-orange);
}

.contact-item a[href*="linkedin"]::before {
  content: '◉';
  margin-right: 0.3rem;
  font-size: 0.9em;
  color: var(--theme-orange);
}

.contact-item a:hover {
  background: rgba(212, 101, 4, 0.1);
  color: var(--theme-orange);
  transform: translateY(-2px);
}

.contact-value {
  color: var(--theme-text-soft);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Phone icon - Text symbol */
.contact-phone .contact-value::before {
  content: '✆';
  margin-right: 0.5rem;
  font-size: 1em;
  color: var(--theme-orange);
}

/* Location icon - Text symbol */
.contact-location .contact-value::before {
  content: '◉';
  margin-right: 0.5rem;
  font-size: 0.9em;
  color: var(--theme-orange);
}

/* View More Button */
.view-more-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--theme-blue) 0%, var(--theme-orange) 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 24px rgba(0, 48, 107, 0.24);
  margin-top: 1rem;
}

.view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(212, 101, 4, 0.28);
  background: linear-gradient(135deg, var(--theme-orange) 0%, var(--theme-blue) 100%);
}

footer {
  text-align: center;
  padding: 2.5rem;
  background: rgba(30, 30, 30, 0.95);
  color: white;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

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

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

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

@media (max-width: 768px) {
  .lang-switcher-container {
    top: 1rem;
    right: 1rem;
  }

  .lang-switcher {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .header-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
  }

  .header-text {
    text-align: center;
  }

  header h1 {
    font-size: 2rem;
    text-align: center;
  }

  header p {
    font-size: 1rem;
    text-align: center;
  }

  nav a {
    margin: 0.3rem 0.2rem;
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
    display: inline-block;
  }

  section {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

      .contact-item {
        flex-direction: column;
        gap: 0.5rem;
      }

      .contact-item strong {
        min-width: auto;
      }

      .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }

      .status-badge {
        width: 28px;
        height: 28px;
      }

      .status-completed::after {
        width: 10px;
        height: 5px;
        border-left-width: 2px;
        border-bottom-width: 2px;
      }

      .status-in-progress::after {
        width: 12px;
        height: 12px;
        border-width: 2px;
      }

      .academic-projects-grid,
      .professional-experiences-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .project-card {
        padding: 1.5rem;
      }

      .detail-row {
        flex-direction: column;
        gap: 0.5rem;
      }

      .detail-label {
        min-width: auto;
      }

      .detail-value .skills-container {
        gap: 0.5rem;
      }

      .skill-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
      }
    }

