
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.portfolioHero {
  background-color: #E1E4E6;
  height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.portfolioHero h1{
  font-size: 1rem;
  color: #20806B;
}
.portfolioHero h2{
  font-size: 2.25rem;
  font-weight: 700;
  animation: fadeInUp 1s ease-out;
}
.portfolioHero hr {
  width: 75%;
  height: 3px;
  background-color: #7FA1C3;
  border: none;
  margin: 0.75rem auto;
  animation: fadeInUp 1.2s ease-in-out;
}
.portfolioHero h3 {
  color: #7FA1C3;
  margin: 0.4rem auto;
  width: 75%;
  font-size: 1rem;
  animation: fadeInUp 1.4s ease-out;
}
.portfolioContent{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 2rem 3rem;
}
.ProjectGrid{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Project Cards — shared styles */
.designaCarsProject, .PawlyProject, .CrestProject {
  position: relative;
  height: 450px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #e5e5e5;
}
.designaCarsProject img, .PawlyProject img, .CrestProject img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.designaCarsProject::before, .PawlyProject::before, .CrestProject::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.designaCarsProject:hover::before, .PawlyProject:hover::before, .CrestProject:hover::before {
  opacity: 1;
}
.designaCarsProject h2, .PawlyProject h2, .CrestProject h2 {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  z-index: 2;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}
.designaCarsProject h3, .PawlyProject h3, .CrestProject h3 {
  position: absolute;
  top: 2.2rem;
  left: 1.25rem;
  z-index: 2;
  font-size: 1.4rem;
  font-weight: 600;
  color: #20806B;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.designaCarsProjectContent, .PawlyProjectCardContent, .CrestProjectCardContent {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 1.5rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.designaCarsProject:hover .designaCarsProjectContent, .PawlyProject:hover .PawlyProjectCardContent, .CrestProject:hover .CrestProjectCardContent {
  opacity: 1;
  transform: translateY(0);
}
.designaCarsProjectContent p, .PawlyProjectCardContent p, .CrestProjectCardContent p {
  color: #333333;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.designaCarsProjectContent a, .PawlyProjectCardContent a, .CrestProjectCardContent a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.06rem;
  font-weight: 600;
  color: #333333;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}
.designaCarsProjectContent a:hover,
.PawlyProjectCardContent a:hover,
.CrestProjectCardContent a:hover {
  transform: translateX(7.5px);
  color: #155346;
}

/* Card tag pill — indicates project type, always visible (not tied to hover) */
.designaCarsProject .cardTag, .PawlyProject .cardTag, .CrestProject .cardTag {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #F5EDED;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Card-specific h2 color differences */
.designaCarsProject h2 {
  color: #F5EDED;
}
.PawlyProject h2,
.CrestProject h2 {
  color: #333333;
}