/* ===================================
   HAPPY CUSTOMERS – PREMIUM VERSION
=================================== */

.hc-page {
  background: radial-gradient(circle at top, #123c31 0%, #0f2e25 70%);
  padding: 10px 0 60px;
  color: #fff;
  position: relative;
  margin-top: 0;
}

/* HEADING */

.hc-heading {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  /* border: dotted red 2px; */
}

.hc-heading h1 {
  font-size: 28px;
  font-weight: 700;
  display: inline-block;
}

.hc-heading::after {
  content: "";
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg,#2fd2a3,transparent);
  display: block;
  margin: 0 auto 0;
}

/* ======================
   RATING BOX
====================== */

.hc-rating-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 30px 45px;   /* reduced from 50+ */
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.hc-rating-box:hover {
  transform: translateY(-6px);
}

/* LEFT SIDE */

.hc-rating-left{

display:flex;
flex-direction:column;

align-items:center;
justify-content:center;

gap:8px;

}

.hc-big-rating {
  background: linear-gradient(135deg,#2fd2a3,#1e7f5c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 25px rgba(47,210,163,0.4);
}

.hc-rating-number {
  display: inline-block;
  min-width: 70px;
  text-align: center;
  font-size: 60px;
  font-weight: 800;
}

@keyframes ratingGlow{

0%{ text-shadow:0 0 10px rgba(32,209,162,.2); }

50%{ text-shadow:0 0 25px rgba(32,209,162,.6); }

100%{ text-shadow:0 0 10px rgba(32,209,162,.2); }

}

.hc-big-rating{

animation:ratingGlow 3s infinite;

}

.hc-stars .star {
  font-size: 30px;
  margin-right: 4px;
}

.star.full {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255,215,0,0.6);
}

.star.empty {
  color: rgba(255,255,255,0.3);
}

/* DIVIDER */

.hc-divider {
  width: 2px;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #ff4d4d, transparent);
  border-radius: 10px;
  opacity: 0.7;
}

/* RIGHT SIDE */

.hc-rating-right {
  width: 380px;
}

.hc-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hc-bar-row span {
  width: 18px;
  font-weight: 600;
}

.hc-bar {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 50px;
  overflow: hidden;
}

.hc-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg,#1e7f5c,#2fd2a3);
  border-radius: 20px;
  transition: width 1.2s cubic-bezier(.22,.61,.36,1);
}

/* VERIFIED */

.hc-review-count {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 45px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.hc-review-count strong {
  color: #2fd2a3;
  font-size: 18px;
}

/* ======================
   GRID
====================== */

.hc-grid-wrapper {
  width: 100%;
  padding: 0 6%;
}

.hc-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 45px;
}

/* ======================
   CARD REFINEMENT
====================== */

.hc-grid-wrapper {
  width: 100%;
  padding: 0 5%;
}

.hc-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
}

.hc-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  transition: all 0.35s ease;
}

/* Subtle hover */
.hc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* IMAGE */

.hc-card-image {
  height: 240px;   /* was 300px */
  overflow: hidden;
}

.hc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hc-card:hover img {
  transform: scale(1.04);
}

/* BOTTOM */

.hc-card-bottom {
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* Name */

.hc-card-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

/* Stars smaller for balance */

.hc-card-stars .star {
  font-size: 22px;  /* was 30px */
  margin-right: 2px;
}

/* Review */

.hc-card-review {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.5;
  margin-top: 6px;
}

/* ======================
   MOBILE
====================== */

@media(max-width:768px){

  .hc-rating-left {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 30px;
}
.hc-rating-stars{
display:flex;
gap:6px;
font-size:35px;
}

  .hc-heading h1 {
  font-size: 20px;
  font-weight: 500;
  display: inline-block;
}

  .hc-rating-box {
    flex-direction: column;
    gap: 20px;
    padding: 30px;
  }

  .hc-divider,
  .hc-rating-right {
    display: none;
  }

  .hc-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
  }

  .hc-card-image {
    height: 200px;
  }
  .hc-card-stars .star {
  font-size: 15px;  /* was 30px */
  margin-right: 2px;
}

}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* =========================================
   CINEMATIC IMAGE-FOCUSED MODAL
========================================= */

.hc-modal {
  position: fixed;
  inset: 0;
  background: rgba(3,15,12,0.9);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.hc-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* MAIN BOX */

.hc-modal-box {
  position: relative;
  width: 92%;
  max-width: 1200px;
  max-height: 88vh;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg,#0e2e25,#123c31);
  box-shadow: 0 50px 120px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  animation: cinematicIn 0.45s ease;
}

@keyframes cinematicIn {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* LAYOUT */

.hc-modal-layout {
  display: grid;
  grid-template-columns: 65% 35%; /* 🔥 Image dominant */
  height: 100%;
}

/* IMAGE SECTION */

.hc-modal-image {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.hc-modal-image img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

/* INFO PANEL */

.hc-modal-info {
  padding: 40px 35px;
  overflow-y: auto;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(18,60,49,0.95),
    rgba(15,40,32,0.95)
  );
}

.hc-modal-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.hc-modal-info p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  opacity: 0.9;
}

/* NAVIGATION */

.hc-prev,
.hc-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(47,210,163,0.15);
  border: none;
  color: #2fd2a3;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.hc-prev:hover,
.hc-next:hover {
  background: rgba(47,210,163,0.3);
}

.hc-prev { left: 15px; }
.hc-next { right: 15px; }

.hc-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 26px;
  background: none;
  border: none;
  color: #2fd2a3;
  cursor: pointer;
}

/* MOBILE VERSION */

@media(max-width: 900px){

  .hc-modal-layout {
    grid-template-columns: 1fr;
  }

  .hc-modal-image {
    padding: 20px;
  }

  .hc-modal-image img {
    max-height: 45vh;
  }

  .hc-modal-info {
    padding: 25px;
  }

  .hc-prev,
  .hc-next {
    display: none;
  }
}

.reveal-item {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: 
    opacity 0.9s cubic-bezier(.16,1,.3,1),
    transform 0.9s cubic-bezier(.16,1,.3,1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hc-rating-box::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(47,210,163,0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: -1;
}
/* ==============================
   PREMIUM CTA SECTION
============================== */

.hc-cta-section {
  margin-top: 70px;
  display: flex;
  justify-content: center;
}

.hc-cta-box {
  max-width: 650px;
  width: 100%;
  text-align: center;
  padding: 50px 40px;
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(18,60,49,0.95),
    rgba(12,32,26,0.95)
  );
  border: 1px solid rgba(47,210,163,0.2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

/* subtle glow */

.hc-cta-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(47,210,163,0.15), transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.hc-cta-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.hc-cta-box p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hc-cta-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 40px;
  background: linear-gradient(135deg,#1e7f5c,#2fd2a3);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

.hc-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(47,210,163,0.4);
}
.hc-cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hc-cta-btn.primary {
  background: linear-gradient(135deg,#1e7f5c,#2fd2a3);
}

.hc-cta-btn.secondary {
  background: transparent;
  border: 1px solid #2fd2a3;
  color: #2fd2a3;
}

.hc-cta-btn.secondary:hover {
  background: rgba(47,210,163,0.15);
}

/* pagination */
/* =========================
PAGINATION
========================= */

.hc-pagination{
margin-top:60px;
display:flex;
justify-content:center;
}

.hc-pagination-inner{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.hc-page-number,
.hc-page-btn{

padding:10px 16px;
border-radius:10px;
text-decoration:none;
font-weight:600;
font-size:14px;

background:rgba(255,255,255,.05);
color:#e8fff7;

border:1px solid rgba(255,255,255,.08);

transition:.25s;

}

.hc-page-number:hover,
.hc-page-btn:hover{

background:#20d1a2;
color:#002f25;

transform:translateY(-2px);

}

.hc-page-number.active{

background:#20d1a2;
color:#00372c;
font-weight:700;

box-shadow:0 10px 25px rgba(0,0,0,.35);

}

/* =========================
CARD HEADER
========================= */

.hc-card-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:6px;
}

.hc-verified{

font-size:11px;
padding:3px 8px;

background:#20d1a2;
color:#00372c;

border-radius:20px;
font-weight:600;

}

/* =========================
SERVICE TAG
========================= */

.hc-service-tag{

margin-top:6px;

font-size:12px;
font-weight:600;

color:#20d1a2;

opacity:.9;

}

/* =========================
REVIEW DATE
========================= */

.hc-review-date{

margin-top:10px;

font-size:12px;
opacity:.6;

}

/* =========================
RATING STARS (PAGE SPECIFIC)
========================= */

.hc-rating-stars{
display:flex;
gap:6px;
font-size:60px;
}

.hc-rating-stars .hc-star{
position:relative;
display:inline-block;
line-height:1;
}

/* base gray star */

.hc-rating-stars .hc-star::before{
content:"★";
color:#6f8f86;
}

/* full star */

.hc-rating-stars .hc-star.full::before{
color:#ffc83d;
text-shadow:0 0 10px rgba(255,200,61,.5);
}

/* partial star */

.hc-rating-stars .hc-star.partial::after{

content:"★";

position:absolute;
top:0;
left:0;

width:var(--fill);
overflow:hidden;

color:#ffc83d;

text-shadow:0 0 10px rgba(255,200,61,.5);

}
@media(max-width:768px){
.hc-rating-stars{
display:flex;
gap:6px;
font-size:35px;
}}