.visit-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 3px 7px;
  border-radius: 12px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
}

.visit-counter i {
  font-size: 10px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1b1b1b;
  color: #ccc;
}

.container {
  width: 80%;
  margin: 0 auto;
  padding: 2rem 0;
}

header {
  text-align: center;
  padding: 1rem 0;
}

header h1 {
  margin: 0;
  color: #fff;
}

nav {
  text-align: center;
  margin-bottom: 1rem;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0.5rem;
}

nav ul li a {
  color: #ccc;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: #333;
  color: #fff;
}

.content {
  background-color: #333;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin-top: 1rem;
  display: none;
}

.content.active {
  display: block;
}

.content h2 {
  color: #ccc;
  margin-top: 0;
}

.content p,
.content ul {
  color: #ccc;
}

.content ul {
  padding-left: 1rem;
}

.content ul li {
  margin-bottom: 0.5rem;
}

.profile-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.profile-image {
  width: 100%;
  max-width: 200px;
  margin-right: 20px;
}

.profile-image img {
  width: 100%;
  border-radius: 50%;
}

.profile-info {
  flex: 1;
}

#home h2 {
  font-size: 24px;
  color: #ccc;
  margin-bottom: 20px;
}

#home p {
  font-size: 18px;
  line-height: 1.6;
  color: #777;
  margin-bottom: 20px;
}

.social-links {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: #ccc;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a i {
  font-size: 20px;
}

.social-links a:hover {
  background-color: #2a2a2a;
  color: #007bff;
}

#skills {
  padding: 20px;
}

#skills h2 {
  font-size: 24px;
  color: #ccc;
  margin-bottom: 20px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.category {
  flex: 1 1 300px;
  padding: 15px;
  border-radius: 5px;
}

.category h3 {
  font-size: 20px;
  color: #444;
  margin-bottom: 10px;
}

.category ul {
  list-style-type: none;
  padding: 0;
}

.category li {
  font-size: 18px;
  color: #777;
  margin-bottom: 8px;
}

.category li:before {
  content: "\2022";
  color: #666;
  display: inline-block;
  width: 1em;
  margin-left: -0.5em;
}

.category.backend {
  background-color: #94a3b8;
  color: #0f172a;
}

.category.backend-frameworks {
  background-color: #a5b4fc;
  color: #1e1b4b;
}

.category.frontend {
  background-color: #fcd34d;
  color: #78350f;
}

.category.architecture {
  background-color: #dbeafe;
  color: #1e3a8a;
}

.category.design-patterns {
  background-color: #bbf7d0;
  color: #14532d;
}

.category.cloud-devops {
  background-color: #bae6fd;
  color: #0c4a6e;
}

.category.messaging {
  background-color: #99f6e4;
  color: #064e3b;
}

.category.testing {
  background-color: #fecaca;
  color: #7f1d1d;
}

.category.version-control {
  background-color: #c8b9ff;
  color: #4c1d95;
}

.category.agile-methodologies {
  background-color: #fef9c3;
  color: #854d0e;
}

#projects {
  padding: 20px;
}

#projects h2 {
  font-size: 24px;
  color: #ccc;
  margin-bottom: 20px;
}

#projects .projects {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#projects .projects li {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  margin: 10px;
}

.project-card {
  background-color: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  text-align: center;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.project-card a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #00bfff;
  font-weight: bold;
}

.project-card a:hover {
  text-decoration: underline;
}

#experiences {
  padding: 20px;
}

#experiences h2 {
  font-size: 24px;
  color: #ccc;
  margin-bottom: 20px;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
}

.experience {
  margin-bottom: 30px;
}

.experience h3 {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 5px;
}

.experience p {
  font-size: 16px;
  color: #a8a8a8;
  margin-bottom: 10px;
}

.experience ul {
  list-style-type: disc;
  margin-left: 20px;
}

.experience ul li {
  font-size: 16px;
  color: #777;
  margin-bottom: 5px;
}

@media (max-width: 1024px) {
  .container {
    width: 95%;
    padding: 1rem 0;
  }

  nav ul {
    flex-direction: column;
  }

  .profile-container {
    flex-direction: column;
    text-align: center;
  }

  .profile-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .categories {
    flex-direction: column;
  }

  #projects .projects li {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .profile-info p {
    font-size: 16px;
  }

  .social-links a {
    font-size: 20px;
  }

  .category h3 {
    font-size: 18px;
  }

  .category li {
    font-size: 16px;
  }

  #projects .projects li {
    flex: 1 1 100%;
    max-width: 100%;
  }
}