/* ===========================
   Page Title Section
=========================== */

.page-title {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  background-image: url("../img//Projects/Project1.jpg"); /* change image path */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}


/* Transparent Overlay */

.page-title .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* transparency */
}


/* Content */

.page-title .container {
  z-index: 2;
  text-align: center;
}


.page-title h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
}


/* Breadcrumb */

.breadcrumbs ol {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}


.breadcrumbs li {
  color: #ffffff;
  font-size: 16px;
}


.breadcrumbs a {
  color: #F3920F;
  text-decoration: none;
  transition: 0.3s;
}


.breadcrumbs a:hover {
  color: #ffffff;
}


.breadcrumbs .current {
  color: #ffffff;
}


/* Responsive */

@media(max-width:768px){
  .page-title{
    height:250px;
  }
  .page-title h1{
    font-size:36px;
  }

}
.projects-section{
padding:90px 0;
background:#f8faf7;

}


.project-heading{
text-align:center;
font-size:38px;
font-weight:800;
color:#F3920F;
margin-bottom:50px;

}



.projects-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;

}



.projects-grid img{
width:100%;
height:280px;
object-fit:cover;
border-radius:20px;
cursor:pointer;
transition:.4s;
box-shadow:0 15px 35px rgba(0,0,0,.12);
}



.projects-grid img:hover{
transform:translateY(-10px) scale(1.03);
box-shadow:0 20px 40px rgba(243,146,15,.35);
}


/* Popup */


.project-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.75);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
padding:20px;
}


.popup-box{

width:90%;
max-width:1100px;
background:#fff;
border-radius:25px;
overflow:hidden;
display:grid;
grid-template-columns:1fr 1fr;
position:relative;
animation:popup .4s ease;
}



.popup-image img{
width:100%;
height:500px;
object-fit:cover;
}



.popup-details{
padding:45px;
}


.popup-details h2{
font-size:32px;
color:#F3920F;
font-weight:800;
}


.popup-details p{
font-size:17px;
line-height:1.7;
color:#555;
}



.details p{
border-bottom:1px solid #eee;
padding:12px 0;
}


.close-btn{
position:absolute;
right:25px;
top:15px;
font-size:40px;
color:#F3920F;
cursor:pointer;
z-index:5;
}


@keyframes popup{
from{
transform:scale(.7);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}

@media(max-width:900px){
.projects-grid{
grid-template-columns:repeat(2,1fr);
}
.popup-box{
grid-template-columns:1fr;
}
.popup-image img
{
height:300px;
}
}

@media(max-width:600px)
{
.projects-grid{
grid-template-columns:1fr;
}
}