/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .project-card {
    background-color: #1a1a1a;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 216, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 216, 255, 0.15);
  }
  
  .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  .project-details {
    padding: 1.2rem 1rem;
    color: #eaeaea;
  }
  
  .project-details h3 {
    font-size: 1.3rem;
    background: linear-gradient(90deg, #00d8ff, #7b2cbf); /* cyan to dark purple */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* for Firefox */
    color: transparent;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .project-details p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 0.8rem;
  }
  
  .project-tags {
    display: inline-block;
    background: linear-gradient(to right, #00d8ff 0%, #5e1f8c 100%);
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
    transition: transform 0.2s ease;
  }

.project-card-link {
  text-decoration: none; /* removes underline */
  color: inherit;        /* keeps text color the same as surrounding */
  display: block;        /* ensures the link fills the entire card */
}

.project-card-link:hover {
  cursor: pointer;
}

.ridgeline-img {
  width: 150px;         /* adjust size */
  height: auto;         /* maintain aspect ratio */
  object-fit: contain;  /* make sure the whole image shows */
  display: block;       /* remove any inline gap */
  margin: 0 auto 10px;  /* center image and add spacing below */
}

.project-link {
    text-decoration: none;
    color: inherit; /* Keeps original text color */
    display: block; /* Makes the whole area clickable */
}


  
  
  
