/* Portfolio Grid */
.portfolio-grid {
  margin-top: 50px;
}

.demoTitle {
  padding-top: 50px;
  text-align: center;
}
.lead p {
  margin: 5px;
}

.demoWebHero {
  background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
  color: #fff;
  padding: 2rem 2rem;
  position: relative;
}

.portfolio-item {
  text-align: center;
}

.lp-btn-primary {
  background: linear-gradient(135deg, #1cc88a, #17a673);
  padding: 10px 20px;
  margin: auto;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(28, 200, 138, 0.4);
  transition: all 0.35s ease;
}

.lp-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(28, 200, 138, 0.6);
}

.portfolio-image-wrapper {
  width: 100%;
  height: 200px; /* fixed preview height */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.portfolio-image-wrapper {
  position: relative;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  font-weight: bold;
}

.portfolio-image-wrapper:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* scales image to fill container */
  object-position: top; /* shows the top part of the image */
}

.portfolio-image-wrapper:hover img {
  transform: scale(1.05);
}

.portfolio-image-wrapper:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-title {
  margin-top: 10px;
  font-weight: 600;
  color: #333;
}

.portfolio-item a small {
  text-decoration: none; /* removes underline */
  display: block; /* optional, ensures it sits below title */
  margin-top: 4px; /* optional spacing */
}

.cta-portfolio {
  display: block;
  text-align: center;
  align-items: center;
  padding: 5%;
}
.footer-year {
  text-align: center;
}
