.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

.btn_color {
    background-color: #c3322c !important;
    border-color: #c3322c !important;
}

.contact_thank {
    color: green;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    border: 1px solid #ccc;
}

.btn-elite{
	background-color:#c3322c;
	color:white;
	
}

button.btn-elite{
	padding:10px 20px;
}

.elite-title{
	font-family:helvetica,arial, san-serif;
	color:#c3322c;
}

.elite-body{
	font-size:16px;
	line-height:1.5em;
	padding:15px 0;
}

.background{
    background-color: black;
}

/* Ensure the portfolio item is positioned relative */
.portfolio-item {
  position: relative;
  overflow: hidden;
}

/* Image styling */
.portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center;
  z-index: 1;
  position: relative;
}

/* Dark overlay that zooms & stays in sync with image */
.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* Initially transparent */
  transition: transform 0.4s ease, background-color 0.3s ease;
  transform-origin: center;
  z-index: 2;
  pointer-events: none;
}

/* Zoom + blur + dark overlay on hover */
.portfolio-item:hover img {
  transform: scale(1.1);
  filter: blur(2px);
}

.portfolio-item:hover::before {
  background-color: rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}

/* Centered white text without border */
.portfolio-item .detailsExpo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: transparent;
  padding: 0;
  border: none;
  z-index: 3;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.portfolio-item .detailsExpo h4 {
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-shadow: none;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
  border: none;
}

.portfolio-item:hover .detailsExpo {
  opacity: 1;
  pointer-events: auto;
}
