*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

.projects-hero{
  min-height:385px;
  background:
    linear-gradient(90deg,rgba(0,0,0,.90) 0%,rgba(0,0,0,.65) 35%,rgba(0,0,0,.22) 100%),
    url("../Images/project.png") center/cover no-repeat;
  display:flex;
  align-items:center;
  padding:65px 7%;
}

.hero-content{
  max-width:560px;
  color:#fff;
}

.hero-content span{
  color:#b88945;
  font-size:15px;
  font-weight:800;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.hero-content h1{
  margin-top:13px;
  font-size:55px;
  line-height:1.08;
  font-weight:800;
}

.hero-content p{
  margin-top:18px;
  font-size:18px;
  line-height:1.45;
  color:#f1f1f1;
}

.hero-line{
  margin-top:26px;
  width:105px;
  height:3px;
  background:#b88945;
}

/* MAIN SECTION */

.projects-section{
  background:#f8f8f6;
  padding:30px 7% 75px;
}

.project-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-bottom:28px;
}

.filter-buttons{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
}

.filter{
  width:auto !important;
  min-width:145px;
  border:2px solid #dedede;
  background:#fff;
  padding:13px 25px;
  border-radius:40px;
  color:#111;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  cursor:pointer;
  transition:.3s ease;
}

.filter:hover,
.filter.active{
  background:#b88945;
  color:#fff;
  border-color:#b88945;
  box-shadow:0 10px 25px rgba(184,137,69,.25);
}

.show-all-btn{
  text-decoration:none;
  background:#111;
  color:#fff;
  padding:15px 26px;
  border-radius:12px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  transition:.3s ease;
}

.show-all-btn:hover{
  background:#b88945;
  transform:translateY(-3px);
}

/* GRID */

.project-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.project-card{
  background:#fff;
  border-radius:9px;
  overflow:hidden;
  border:1px solid #e5e5e5;
  box-shadow:0 8px 25px rgba(0,0,0,.07);
  transition:.35s ease;
}

.project-card:hover{
  transform:translateY(-7px);
  box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.project-card.hide{
  opacity:0;
  transform:scale(.96);
}

.project-img{
  position:relative;
  height:235px;
  overflow:hidden;
}

.project-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.6s ease;
}

.project-card:hover .project-img img{
  transform:scale(1.08);
}

.project-img span{
  position:absolute;
  top:16px;
  left:16px;
  background:#fff;
  color:#111;
  padding:8px 13px;
  border-radius:5px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
}

.project-img span i{
  margin-right:6px;
}

.project-info{
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.project-info h3{
  font-size:16px;
  font-weight:800;
  color:#111;
  margin-bottom:6px;
}

.project-info p{
  font-size:13px;
  color:#555;
}

.project-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.project-actions a{
  text-decoration:none;
  padding:11px 14px;
  border-radius:6px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  white-space:nowrap;
  transition:.3s ease;
}

.vr-btn{
  background:#b88945;
  color:#fff;
}

.gallery-btn{
  background:#fff;
  color:#111;
  border:2px solid #e1e1e1;
}

.vr-btn:hover,
.gallery-btn:hover{
  transform:translateY(-3px);
}

.gallery-btn:hover{
  border-color:#b88945;
  color:#b88945;
}

/* RESPONSIVE */

@media(max-width:1300px){
  .project-info{
    flex-direction:column;
    align-items:flex-start;
  }

  .project-actions{
    width:100%;
  }

  .project-actions a{
    flex:1;
    text-align:center;
  }
}

@media(max-width:1100px){
  .projects-hero{
    min-height:340px;
    padding:55px 5%;
  }

  .hero-content h1{
    font-size:45px;
  }

  .projects-section{
    padding:28px 5% 65px;
  }

  .project-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .project-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .projects-hero{
    min-height:315px;
  }

  .hero-content h1{
    font-size:36px;
  }

  .hero-content p{
    font-size:15px;
  }

  .filter-buttons{
    gap:12px;
  }

  .filter{
    min-width:auto;
    padding:11px 18px;
    font-size:12px;
  }

  .show-all-btn{
    padding:13px 22px;
  }

  .project-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .project-img{
    height:230px;
  }
}

@media(max-width:480px){
  .projects-hero{
    min-height:285px;
    padding:45px 6%;
  }

  .hero-content h1{
    font-size:31px;
  }

  .hero-content p{
    font-size:14px;
  }

  .projects-section{
    padding:25px 5% 55px;
  }

  .filter-buttons{
    width:100%;
  }

  .filter{
    width:100% !important;
  }

  .show-all-btn{
    width:100%;
    justify-content:center;
  }

  .project-img{
    height:210px;
  }

  .project-info{
    padding:17px;
  }

  .project-actions{
    flex-direction:column;
  }

  .project-actions a{
    width:100%;
  }
}