.page-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.project-card {
  background: #202225;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  background: #7289da;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #5b6eae;
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 12px;
  background-color: #1e1e1e;
}

.search-container {
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  background-color: #2f3136;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #202225;
}

.search-container .search-icon {
  color: #b9bbbe;
  margin-right: 8px;
  font-size: 1rem;
}

.search-container input {
  background: transparent;
  border: none;
  outline: none;
  color: #dcddde;
  font-size: 0.95rem;
  width: 180px;
}

.no-matches.standout {
  text-align: center;
  color: #ff5c5c;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #2f3136;
  padding: 15px 20px;
  border-radius: 10px;
  margin: 20px auto;
  width: fit-content;
  animation: fadeIn 0.5s ease-in-out;
  box-shadow: 0 0 12px rgba(255, 92, 92, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ✅ Responsive Fixes */
@media (max-width: 600px) {
  .search-container {
    right: 10px;
    top: 70px;
    padding: 5px 10px;
  }

  .search-container input {
    width: 130px;
    font-size: 0.85rem;
  }

  .project-card {
    padding: 16px;
  }

  .project-card h2 {
    font-size: 1.1rem;
  }

  .project-card p {
    font-size: 0.85rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .project-img {
    height: 160px;
    object-fit: contain;
  }

  .projects-container {
    width: 100%;
    padding: 0 10px;
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.6rem;
    margin: 30px 0 20px;
    padding: 0 10px;
  }
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #b9bbbe;
  background-color: #2f3136;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #dcddde;
  font-weight: 500;
}

.breadcrumb li::after {
  content: "›";
  margin: 0 8px;
  color: #72767d;
  font-weight: bold;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #7289da;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.breadcrumb a:hover {
  color: #aabfff;
  text-decoration: underline;
}