

.popup-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 300px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  animation: slideIn 0.5s ease;
}

.popup-content {
  position: relative;
}

.close-btn-popup {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 18px;
  border: none;
  background: none;
  cursor: pointer;
}

.review-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  background: #4285F4;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.review-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 6px 8px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  cursor: pointer;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-avatar {
  position: relative;
  flex-shrink: 0;
  margin-right: 12px;
}

.review-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.checkmark {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #4CAF50;
  color: white;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 4px;
  font-weight: bold;
}

.review-content {
  flex: 1;
  padding-left: 10px;
}

.review-stars {
  color: #fbbc04;
  font-size: 18px;
  line-height: 1;
}

.review-author {
  font-size: 14px;
  color: #333;
  margin-top: 4px;
}

.review-rating{
    font-size: 12px;
    color: #333;
}

.review-date {
  font-size: 12px;
  color: #777;
  /* margin-top: 2px; */
}
.review-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: #777;
}

/* banner */
#fullReviewSection h2 {
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}

.review-row{
    display: flex;
    flex-direction: row;
    gap: 100px;
}

.main-review{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* align-items: center; */
    gap: 10px;
    /* justify-content: center; */
}

.review-slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin: 0 auto;
  touch-action: pan-y;
}

.review-slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
}

.review-slide {
  flex: 0 0 30%;
  min-width: 30%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background-color: #21368B;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  color: #222;
  font-weight: bold;
  font-size: 14px;
}

.review-verified {
  color: red;
  font-size: 14px;
  margin-left: 6px;
}

.review-time {
  font-size: 13px;
  color: #666;
}

.review-stars {
  color: #fbbc04;
  font-size: 18px;
}

.review-text {
  font-size: 15px;
  color: #222;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
}

.read-more {
  color: #4285F4;
  font-size: 14px;
  cursor: pointer;
  margin-top: 4px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s ease;
}

.slider-dots span.active {
  background: #333;
}

a{
    all: unset;
}
.write-review-btn{
  background-color: #f20000;
  padding: 15px 30px 15px 30px;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 200px;
}

/* Masonry design */
.masonry-reviews {
  column-count: 2;
  column-gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  
}

.masonry-header{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}


@media (max-width: 768px) {
  .popup-box{
    left: 5px;
    bottom: 10px;
  }
 .review-slider{
    flex-direction: column;
  }
  .masonry-reviews {
    column-count: 1;
  }
}

.masonry-review-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  display: inline-block;
  width:100%;
  break-inside: avoid;
}

.masonry-review-header * {
  margin: 0 !important;
}

.masonry-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.masonry-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.masonry-review-name {
  font-weight: bold;
  font-size: 14px;
}

.masonry-review-stars {
  color: #fbbc04;
  font-size: 16px;
}

.masonry-review-text {
  font-size: 14px;
  color: #444;
  margin-top: 8px;
  line-height: 1.5;
}

.masonry-review-date {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}