body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  display: flex;
  height: 100vh;
  background: #f8fafc;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  color: #1e293b;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  color: #334155;
  margin-bottom: 24px;
}

.sidebar {
  width: 280px;
  background: #0f172a;
  color: white;
  padding: 24px 0;
  box-sizing: border-box;
  border-right: 1px solid #1e293b;
}

.sidebar h1 {
  font-size: 18px;
  margin-bottom: 24px;
  padding: 0 24px;
  color: white;
  font-weight: 600;
}

.sidebar-footer {
  padding: 24px;
  border-top: 1px solid #1e293b;
  margin-top: auto;
  display: flex;
  gap: 16px;
}

.sidebar-footer i {
  color: #0ea5e9;
  height: 36px; 
  width: 36px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.sidebar-footer a:hover i {
  background: transparent;
  color: #ffffff;
  transform: scale(1.3);
}

.sidebar-footer a,
.sidebar-footer a:hover,
.sidebar-footer a:focus,
.sidebar-footer a:visited,
.sidebar-footer a:active {
  text-decoration: none;
}

.tabs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tabs li {
  padding: 12px 24px;
  cursor: pointer;
  color: #94a3b8;
  border-left: 3px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.tabs li:hover {
  background: rgba(59, 130, 246, 0.08);
  color: #e2e8f0;
  border-left: 3px solid #3b82f6;
}

.tabs li.active {
  background: rgba(59, 130, 246, 0.12);
  border-left: 3px solid #3b82f6;
  color: #ffffff;
}

.tabs li:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}

.content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 32px 40px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.content::-webkit-scrollbar {
  width: 6px;
}

.content::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.content::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 3px;
}

.content::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

section {
  margin-bottom: 48px;
  max-width: 900px;
}

section:last-child {
  margin-bottom: 24px;
}

#contact-info p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 8px 0;
}

#contact-info p:first-of-type {
  font-size: 18px;
  font-weight: 500;
  color: #475569;
}

/* PDF Download Button Styles */
    .pdf-download-btn {
      background: white;
      color: #2c3e50 !important;
      border: 2px solid #ecf0f1;
      border-radius: 8px;
      padding: 12px 16px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .pdf-download-btn:hover {
      background: #f8f9fa;
      border-color: #3498db;
      color: #3498db !important;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
    }
    
    .pdf-download-btn i {
      font-size: 16px;
    }

#summary p {
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
}

#skills ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  display: grid;
  gap: 16px;
}

#skills li {
  background: #f8fafc;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  color: #475569;
  line-height: 1.6;
}

#skills strong {
  color: #1e293b;
  font-weight: 600;
}

.job {
  margin-bottom: 32px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.job:hover {
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.job-title {
  font-weight: 600;
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 8px;
}

.job-company {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 16px;
}

.job ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.6;
}

.job li {
  margin-bottom: 8px;
}

#education p {
  color: #475569;
  line-height: 1.6;
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Projects */
/* Projects Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.project-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.project-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.project-image {
  width: 100%;
  height: 125px;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Add to your existing .project-image styles */
.project-image {
  /* your existing styles */
  position: relative; /* Add this */
}

/* New overlay styles */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-image img {
  opacity: 0.1;
}

.platform-icon {
  font-size: 48px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Platform-specific colors */
.platform-icon.wordpress { color: #fff; }
.platform-icon.drupal { color: #fff; }
.platform-icon.laravel { color: #fff; }
.platform-icon.react { color: #fff; }

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

.project-info {
  padding: 16px;
}

.project-info h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.project-info a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-info a:hover {
  color: #3b82f6;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-image {
    height: 120px;
  }
}

/* Links */
a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #3b82f6;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Icons in content */
/* .content i {
  color: #64748b;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
  }

  .sidebar {
    width: 100%;
    padding: 16px 0;
  }

  .sidebar-footer {
    padding: 16px 24px;
  }

  .content {
    padding: 24px 20px;
  }

  .job {
    padding: 16px;
  }

  section {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .tabs li {
    padding: 10px 16px;
    font-size: 13px;
  }

  .content {
    padding: 16px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }
}