* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #f9fafb;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-image {
  width: 128px;
  height: 128px;
}

.profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.header-info {
  text-align: center;
  flex: 1;
}

.name {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.5rem;
}

.title {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-item i {
  width: 16px;
  height: 16px;
}

/* Visitor Counter Styles */
.visitor-counter {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

.counter-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.counter-content i {
  font-size: 1rem;
}

#visitor-count {
  font-weight: 600;
  color: #fbbf24;
}

/* Add animation for counter update */
.counter-animate {
  animation: counterPulse 0.5s ease-in-out;
}

@keyframes counterPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Main Content */
.main {
  padding: 2rem 0;
}

.section {
  margin-bottom: 2rem;
}

/* Card Styles */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

.section-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.about-icon {
  background-color: #dbeafe;
  color: #2563eb;
}

.skills-icon {
  background-color: #f3e8ff;
  color: #7c3aed;
}

.section-icon-fa {
  width: 24px;
  height: 24px;
  font-size: 1.25rem;
}

.section-icon-fa.cert-icon {
  color: #d97706;
}

.section-icon-fa.edu-icon {
  color: #4f46e5;
}

.card-content {
  padding: 1.5rem;
}

/* Experience Styles */
.experience-item {
  margin-bottom: 1.5rem;
}

.experience-item:last-child {
  margin-bottom: 0;
}

.experience-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.experience-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.company {
  color: #2563eb;
  font-weight: 500;
}

.school {
  color: #4f46e5;
  font-weight: 500;
}

.experience-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.meta-item i {
  width: 16px;
  height: 16px;
}

.responsibilities {
  list-style: disc;
  margin-left: 1rem;
  color: #374151;
}

.responsibilities li {
  margin-bottom: 0.25rem;
}

.separator {
  height: 1px;
  background-color: #e5e7eb;
  margin: 1.5rem 0;
}

/* Skills Styles */
.skills-category {
  margin-bottom: 1.5rem;
}

.skills-category:last-child {
  margin-bottom: 0;
}

.skills-category h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.skill-badge.technical {
  background-color: #dbeafe;
  color: #1e40af;
}

.skill-badge.soft {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Certifications Styles */
.certification-item {
  border-left: 4px solid #fbbf24;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.certification-item:last-child {
  margin-bottom: 0;
}

.certification-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.certification-item .issuer {
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.certification-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Education Styles */
.education-item {
  margin-bottom: 1.5rem;
}

.education-item:last-child {
  margin-bottom: 0;
}

.education-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.education-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.education-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.gpa {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.coursework-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.coursework-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.course-badge {
  padding: 0.125rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #374151;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  color: #6b7280;
}

/* Responsive Design */
@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .header-info {
    text-align: left;
  }

  .contact-info {
    justify-content: flex-start;
  }

  .experience-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .experience-meta {
    align-items: flex-end;
    text-align: right;
  }

  .education-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .education-meta {
    align-items: flex-end;
    text-align: right;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .name {
    font-size: 2rem;
  }

  .card-content {
    padding: 1rem;
  }

  .card-header {
    padding: 1rem;
  }
}
