@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  /* VS Code Dark+ Theme Colors */
  --bg-primary: #1e1e1e;
  --bg-secondary: #252526;
  --bg-tertiary: #2d2d30;
  --bg-sidebar: #333333;
  --bg-hover: #2a2d2e;
  
  --text-primary: #d4d4d4;
  --text-secondary: #858585;
  --text-accent: #4ec9b0;
  
  --blue: #569cd6;
  --green: #4ec9b0;
  --yellow: #dcdcaa;
  --orange: #ce9178;
  --purple: #c586c0;
  --red: #f48771;
  
  --border-color: #3e3e42;
  --selection-bg: #264f78;
  --active-line: #282828;
}

body {
  background: var(--bg-primary);
  min-height: 100vh;
  width: 100%;
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  color: var(--text-primary);
  overflow-x: hidden;
}

/* IDE Status Bar (optional) */
.status-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  z-index: 100;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* IDE-Style Sidebar (removed image section) */
.image-section {
  display: none;
}

/* Main Content Area - IDE Style */
.content-section {
  flex: 1;
  background: var(--bg-primary);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

/* IDE Top Bar / Navigation */
nav {
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border-color);
  padding: 1.75rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.logo {
  font-family: 'Fira Code', monospace;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: '>';
  color: var(--blue);
  font-weight: bold;
  font-size: 1.7rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  position: relative;
}

nav ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

nav ul li a.active {
  color: var(--blue);
  background: var(--bg-tertiary);
}

nav ul li a.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
}

/* Main Content - IDE Style */
.main-content {
  padding: 3rem;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Line numbers effect on left - DISABLED */
.main-content::before {
  display: none;
}

/* Profile Header with Headshot */
.profile-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.profile-content {
  flex: 1;
  min-width: 0;
}

.headshot-container {
  flex-shrink: 0;
}

.headshot-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.headshot-placeholder:hover {
  border-color: var(--blue);
  background: var(--bg-tertiary);
}

.headshot-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.headshot-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.headshot-image {
  width: 450px;
  height: 450px;
  border-radius: 20px;
  object-fit: cover;
  border: 5px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.headshot-image:hover {
  border-color: var(--blue);
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(86, 156, 214, 0.6);
}

.greeting {
  color: var(--text-secondary);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  background: transparent;
}

.greeting::before {
  content: '//';
  color: var(--green);
  margin-right: 0.75rem;
  font-size: 2rem;
}

.title {
  font-family: 'Fira Code', monospace;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--yellow);
  word-break: keep-all;
  white-space: nowrap;
}

.title::before {
  content: 'var ';
  color: var(--purple);
  font-size: 2rem;
}

.title::after {
  content: ' = {';
  color: var(--text-primary);
}

.subtitle {
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1rem;
  margin-left: 2rem;
  word-break: keep-all;
}

.subtitle::before {
  content: 'role: "';
  color: var(--text-secondary);
}

.subtitle::after {
  content: '",';
  color: var(--text-secondary);
}

/* Experience & Education Grid */
.experience-education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.experience-column,
.education-column {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.column-title {
  font-family: 'Fira Code', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.column-title::before {
  content: 'var ';
  color: var(--purple);
  font-size: 1.2rem;
}

.column-title::after {
  content: ' = [';
  color: var(--text-primary);
}

.scrollable-content {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.scrollable-content::-webkit-scrollbar {
  width: 8px;
}

.scrollable-content::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

.timeline-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.timeline-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.timeline-title {
  font-family: 'Fira Code', monospace;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
}

.timeline-company {
  font-size: 1.1rem;
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.timeline-company:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.timeline-date {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  text-align: right;
  white-space: nowrap;
  padding-top: 0.25rem;
}

.timeline-gpa {
  font-size: 1rem;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-details {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.timeline-details li {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.timeline-details li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.2rem;
}

/* Skills Section */
.skills-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-family: 'Fira Code', monospace;
  font-size: 2rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 1.5rem;
}

.section-subtitle::before {
  content: 'var ';
  color: var(--purple);
  font-size: 1.3rem;
}

.section-subtitle::after {
  content: ' = [';
  color: var(--text-primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.skill-category {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.skill-category:hover {
  background: var(--bg-tertiary);
  border-color: var(--blue);
}

.skill-category-title {
  font-family: 'Fira Code', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1rem;
}

.skill-category-title::before {
  content: '{ ';
  color: var(--text-secondary);
}

.skill-category-title::after {
  content: ':';
  color: var(--text-secondary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--green);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: var(--bg-hover);
  border-color: var(--green);
  transform: translateY(-1px);
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-card {
  text-align: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.stat-card:hover {
  background: var(--bg-tertiary);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.stat-value {
  font-family: 'Fira Code', monospace;
  font-size: 3rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Call to Action Section */
.cta-section {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.cta-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.cta-button.primary {
  background: var(--blue);
  color: var(--bg-primary);
  border: 2px solid var(--blue);
}

.cta-button.primary:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(78, 201, 176, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.cta-button.secondary:hover {
  background: var(--blue);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(86, 156, 214, 0.3);
}

.cta-icon {
  font-size: 1.2rem;
}

.contact-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  position: relative;
}

.contact-info p {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.contact-info p:hover {
  color: var(--blue);
}

.contact-info a {
  color: var(--blue);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Contact Section */
.contact-container {
  width: 100%;
  max-width: 100%;
}

.contact-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.contact-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 400;
}

.contact-subtitle::before {
  content: '// ';
  color: var(--green);
}

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

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.contact-card:hover {
  background: var(--bg-tertiary);
  border-color: var(--blue);
}

.card-title {
  font-family: 'Fira Code', monospace;
  font-size: 1.3rem;
  color: var(--yellow);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.card-title::before {
  content: 'const ';
  color: var(--purple);
  font-size: 1rem;
}

.card-title::after {
  content: ' = {';
  color: var(--text-primary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-primary);
  border-left: 2px solid var(--blue);
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.contact-item:hover {
  background: var(--bg-hover);
  border-left-color: var(--green);
}

.contact-icon {
  font-size: 1.2rem;
  min-width: 24px;
  color: var(--blue);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.contact-text label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: lowercase;
}

.contact-text label::after {
  content: ':';
  color: var(--text-primary);
}

.contact-text a,
.contact-text span {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.contact-text a:hover {
  color: var(--primary-glow);
  text-shadow: 0 0 10px var(--primary-glow);
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.quick-link:hover {
  background: var(--bg-hover);
  border-color: var(--blue);
  color: var(--green);
}

.link-icon {
  font-size: 1.1rem;
  color: var(--blue);
}

.contact-footer {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(78, 201, 176, 0.1);
  border: 1px solid var(--green);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--green);
  font-size: 0.85rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 700px;
}

/* Projects Section */
.projects-container {
  width: 100%;
  max-width: 100%;
}

.projects-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.projects-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 400;
}

.projects-subtitle::before {
  content: '// ';
  color: var(--green);
}

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

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card:hover {
  background: var(--bg-tertiary);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.project-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.project-badge {
  background: rgba(86, 156, 214, 0.15);
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: lowercase;
}

.project-title {
  font-family: 'Fira Code', monospace;
  font-size: 1.2rem;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--green);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: var(--bg-hover);
  border-color: var(--green);
}

.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.demo-link {
  background: var(--bg-primary);
  border: 1px solid var(--blue);
  color: var(--blue);
  flex: 1;
}

.demo-link:hover {
  background: var(--bg-hover);
  border-color: var(--green);
  color: var(--green);
}

.github-link {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.github-link:hover {
  background: var(--bg-hover);
  border-color: var(--blue);
  color: var(--blue);
}

.demo-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.project-link .link-icon {
  font-size: 1rem;
}

/* Add Project Card */
.project-card.add-project {
  background: var(--bg-primary);
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.add-project-content {
  text-align: center;
}

.add-icon {
  font-size: 2.5rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.add-title {
  font-family: 'Fira Code', monospace;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.add-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 250px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Resume Section */
.resume-container {
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-family: 'Fira Code', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  margin: 0 0 0.5rem 0;
}

.section-title::before {
  content: 'function ';
  color: var(--purple);
  font-size: 1.2rem;
}

.section-title::after {
  content: '() {';
  color: var(--text-primary);
}

.resume-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-download,
.btn-view {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--blue);
  background: var(--bg-primary);
  color: var(--blue);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 4px;
}

.btn-download:hover,
.btn-view:hover {
  background: var(--bg-hover);
  border-color: var(--green);
  color: var(--green);
}

.btn-download .icon,
.btn-view .icon {
  font-size: 1rem;
}

.resume-viewer {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.resume-fallback {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-align: center;
}

.resume-fallback p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.resume-fallback ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.resume-fallback a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.resume-fallback a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
  }

  nav {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
  }

  nav ul {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li a {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .title {
    font-size: 2rem;
  }
  
  .title::before {
    font-size: 1rem;
  }
  
  .main-content {
    padding: 2rem 1.5rem;
  }
  
  .main-content::before {
    display: none;
  }
  
  .profile-header {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .headshot-placeholder {
    width: 150px;
    height: 150px;
  }
  
  .headshot-icon {
    font-size: 2.5rem;
  }
  
  .headshot-image {
    width: 350px;
    height: 350px;
  }
  
  .experience-education-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .scrollable-content {
    max-height: 400px;
  }
  
  .timeline-title {
    font-size: 1.1rem;
  }
  
  .timeline-company {
    font-size: 1rem;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-date {
    text-align: left;
    padding-top: 0.5rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-section {
    flex-direction: column;
  }
  
  .cta-button {
    min-width: 100%;
  }
  
  .contact-info {
    padding: 1.25rem;
  }
  
  /* Resume responsive */
  .resume-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .resume-actions {
    width: 100%;
    justify-content: center;
  }
  
  .resume-viewer {
    height: 60vh;
    min-height: 400px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-title::before {
    font-size: 0.9rem;
  }
  
  /* Contact responsive */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  /* Projects responsive */
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 0.95rem;
  }
  
  .title {
    font-size: 1.75rem;
  }
  
  .title::before {
    font-size: 0.9rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .greeting {
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .section-title::before {
    font-size: 0.8rem;
  }
  
  .btn-download,
  .btn-view {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  
  .resume-fallback ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    padding: 1.25rem;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .quick-link {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  
  .main-content {
    padding: 1.5rem 1rem;
  }
  
  .profile-header {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .greeting {
    font-size: 1.2rem;
  }
  
  .greeting::before {
    font-size: 1.2rem;
  }
  
  .headshot-placeholder {
    width: 120px;
    height: 120px;
  }
  
  .headshot-icon {
    font-size: 2rem;
  }
  
  .headshot-image {
    width: 280px;
    height: 280px;
  }
  
  .experience-education-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .column-title {
    font-size: 1.4rem;
  }
  
  .scrollable-content {
    max-height: 350px;
  }
  
  .timeline-title {
    font-size: 1rem;
  }
  
  .timeline-company {
    font-size: 0.95rem;
  }
  
  .timeline-details li {
    font-size: 0.9rem;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-date {
    text-align: left;
    padding-top: 0.5rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .section-subtitle::before {
    font-size: 0.85rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .stats-section {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Projects responsive */
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    padding: 1.25rem;
  }
  
  .project-title {
    font-size: 1.2rem;
  }
  
  .project-link {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }
}
