body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  margin: 0;
  color: #1a1a1a;
  background: #fafafa;
}

a {
  color: #0a66c2;
  text-decoration: none;
}

header {
  background: linear-gradient(135deg, #1e3a8a 0%, #334155 100%);
  color: white;
  padding: 3rem 0 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

header .container {
  position: relative;
  z-index: 1;
}

.profile-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Navigation Styles */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .main-nav {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
}

.profile-info {
  text-align: left;
}

.profile-info h1 {
  margin-bottom: 0.5rem;
}

.profile-info .title {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  opacity: 0.95;
  font-weight: 500;
}

.profile-info .contact {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.profile-info .contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease;
}

.profile-info .contact a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-info {
    text-align: center;
  }
}

.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

main.container {
  padding: 2rem 0;
}

/* Page transitions */
.page {
  animation: fadeIn 0.3s ease-in-out;
}

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

/* Resume Page Styles */
.resume-section {
  max-width: 100%;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.resume-btn.primary {
  background: linear-gradient(135deg, #1e3a8a, #334155);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.resume-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

.resume-btn.secondary {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.resume-btn.secondary:hover {
  background: #edf2f7;
  transform: translateY(-1px);
}

.pdf-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.pdf-embed {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: none;
  display: block;
}

.google-drive-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .resume-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .resume-actions {
    width: 100%;
    justify-content: center;
  }
  
  .resume-btn {
    justify-content: center;
    padding: 0.875rem 1rem;
    width: 100%;
  }
  
  .pdf-embed {
    height: 70vh;
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .resume-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .resume-btn {
    width: auto;
  }
}

/* Resume Link in Experience Section */
.resume-link-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.resume-link:hover {
  color: #1e40af;
  background: linear-gradient(135deg, #edf2f7, #e2e8f0);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.resume-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: #2d3748;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2rem;
  background: linear-gradient(135deg, #1e3a8a, #334155);
  border-radius: 2px;
}

h3 {
  margin-bottom: 0.3rem;
}

.date {
  font-size: 0.9rem;
  color: #666;
}

ul {
  padding-left: 1.2rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 0.75rem;
}

.skills li {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border: 1px solid #e2e8f0;
  margin: 0;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  color: #4a5568;
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .project-card {
    margin: 0 0.5rem;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .tech-stack {
    gap: 0.4rem;
  }
}

.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid rgba(255,255,255,0.2);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: #2d3748;
  font-weight: 700;
  letter-spacing: -0.25px;
}

.project-content p {
  margin: 0 0 1.5rem 0;
  color: #4a5568;
  line-height: 1.7;
  font-size: 0.95rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: linear-gradient(135deg, #1e3a8a, #334155);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15px;
  box-shadow: 0 1px 4px rgba(30, 58, 138, 0.25);
  transition: all 0.2s ease;
}

.tech-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.35);
}

footer {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4rem;
  color: #718096;
}
  