/* Full-width inputs */
input[type=text], input[type=email], input[type=tel], input[type=url], textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
/*=====Portfolio Gallery Css*/
/* Gallery Container */
.portfolio-gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  margin-top: 30px;
}

/* Image Grid */
.portfolio-box {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px
}

/* Image Styling */
.portfolio-box img {
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Hover Effect */
.portfolio-box img:hover {
  transform: scale(1.05);
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .portfolio-box {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .portfolio-box {
    flex: 100%;
    max-width: 100%;
  }
}
/*=====Portfolio Popup Css=====*/
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Image inside popup */
.popup-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  animation: zoomIn 0.3s ease-in-out;
}

/* Close button */
.close {
   position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: white;
}
.nav-btn {
    color: white;
    font-size: 35px;
    cursor: pointer;
    user-select: none;
}
#prevBtn { position: absolute; left: 30px; }
#nextBtn { position: absolute; right: 30px; }

.close:hover {
  color: #ccc;
}

/* Zoom animation */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}