  .portfolio-section {
    padding: 80px 20px;
    background: #0e1626;
    color: #ffffff;
    text-align: center;
  }

  .portfolio-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #ffffff;
  }

  .portfolio-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 50px;
  }

  .filters-button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 12px;
  }

  .filter-button {
    padding: 10px 20px;
    background: #1a2539;
    border: 2px solid #00aaff;
    color: #00aaff;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .filter-button.is-checked,
  .filter-button:hover {
    background: #00aaff;
    color: #fff;
  }

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.element-item {
  float: left;
  width: calc(33.333% - 20px);
  background-color: #fff;
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.element-item:hover {
  transform: translateY(-5px);
}

.card-img {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 200px;
  background-color: #fff;
}

.card-content {
  padding: 15px;
  color: #222;
}

.card-content h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #333;
}

.card-content a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}


  .portfolio-card {
    background: #1a2539;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
  }

  .portfolio-card:hover {
    transform: translateY(-6px);
  }

.portfolio-image {
  background-color: white;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 200px;
  border-radius: 10px 10px 0 0;
}

  .portfolio-info {
    padding: 20px;
    text-align: left;
  }

  .portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffffff;
  }

  .portfolio-info p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .portfolio-info .project-link {
    color: #00aaff;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
  }

  .portfolio-info .project-link:hover {
    color: #ffffff;
  }

  @media (max-width: 600px) {
    .portfolio-title {
      font-size: 2rem;
    }

    .portfolio-subtitle {
      font-size: 1rem;
    }
  }

  @media (max-width: 768px) {
  .element-item {
    width: 100%;
  }
}
