.rev-section {
  background-color: #fcfcfc;
  padding: 100px 0;
  overflow: hidden;
}

.rev-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* Top Summary */
.rev-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rev-heading {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.rev-taLogo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rev-taText {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: #1e1e1e;
}

.rev-mainBubbles {
  margin-bottom: 16px;
}

.rev-reviewCount {
  font-size: 16px;
  color: #666;
  font-weight: 400;
}

.rev-reviewCount strong {
  color: #1e1e1e;
  font-weight: 700;
}

/* Embla Carousel */
.rev-embla {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.rev-emblaContainer {
  display: flex;
  align-items: flex-start;
  touch-action: pan-y pinch-zoom;
  margin-left: -24px; /* offset for slide gap */
  padding-top: 20px; /* Room for hover translateY */
  padding-bottom: 60px; /* Room for large drop shadow */
}

.rev-emblaSlide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 340px;
  min-width: 0;
  padding-left: 24px;
}

/* Review Card - Premium Light Theme */
.rev-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 28px;
  color: #1e1e1e;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.03);
  height: max-content;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  user-select: none;
}

.rev-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.rev-cardHeader {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.rev-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.rev-authorInfo {
  display: flex;
  flex-direction: column;
}

.rev-authorInfo h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: #1e1e1e;
}

.rev-authorInfo p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

.rev-ratingRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.rev-verified {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-cardTitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #1e1e1e;
}

.rev-cardText {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .rev-heading {
    font-size: 32px;
  }
  .rev-emblaSlide {
    flex: 0 0 280px;
  }
  .rev-card {
    padding: 24px;
  }
}

.rev-writeBtn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f62440;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.rev-writeBtn:hover {
  background-color: #d11a33;
}

/* Review Modal */
.rev-modalBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rev-modalContent {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.rev-modalClose {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}
.rev-modalTitle {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1e1e1e;
}
.rev-modalSubtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}
.rev-formGroup {
  margin-bottom: 16px;
}
.rev-formGroup label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 8px;
}
.rev-formGroup input, .rev-formGroup textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.rev-formGroup input:focus, .rev-formGroup textarea:focus {
  outline: none;
  border-color: #f62440;
}
.rev-starInput {
  display: flex;
  gap: 8px;
  font-size: 28px;
  color: #fbbf24;
  cursor: pointer;
}
.rev-starInput span {
  transition: transform 0.2s;
}
.rev-starInput span:hover {
  transform: scale(1.2);
}
.rev-submitBtn {
  width: 100%;
  padding: 14px;
  background: #f62440;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.rev-submitBtn:hover {
  background: #d11a33;
}
