body{
  font-family:Inter,sans-serif;
  background:#f6f7fb;
  margin:0;
}

.reviews-page{
  padding:60px 20px;
  text-align:center;
}

.reviews-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

/* CARD */
.review-card{
  background:#fff;
  padding:22px;
  border-radius:16px;
  box-shadow:0 15px 35px rgba(0,0,0,.08);
  cursor:pointer;
  transition:.3s;
}

.review-card:hover{
  transform:translateY(-6px);
}

.stars{
  color:#f5a623;
  font-size:18px;
}

.review-name{
  margin:10px 0;
  font-weight:600;
}

/* THUMBNAIL */
.review-thumb{
  width:100%;
  height:150px;
  border-radius:12px;
  overflow:hidden;
  margin:12px 0;
}

.review-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* BUTTON */
.view-btn{
  margin-top:10px;
  border:none;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#6a4fa3,#4aa6a6);
  color:#fff;
  cursor:pointer;
  font-weight:600;
}

/* MODAL OVERLAY */
.review-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.review-modal.active{
  display:flex;
}

/* MODAL BOX */
.modal-box{
  position:relative;          /* 🔴 THIS IS KEY */
  background:#fff;
  width:92%;
  max-width:520px;
  padding:30px 26px 26px;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  text-align:center;
  animation:pop .25s ease;
}

/* CLOSE BUTTON */
.modal-close{
  position:absolute;
  top:14px;
  right:14px;
  border:none;
  background:#f2f2f2;
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:18px;
  font-weight:600;
  cursor:pointer;
  line-height:1;
}

.modal-close:hover{
  background:#e5e5e5;
}

/* IMAGE */
.modal-box img{
  margin-top:14px;
  max-width:100%;
  border-radius:12px;
}

/* POP ANIMATION */
@keyframes pop{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}
.review-thumb {
  margin: 12px auto;
  width: 100%;
  max-width: 220px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-thumb {
  width: 100%;
  height: 150px;
  margin: 12px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
