/* Google Review Widget Styles */

.google-review-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.google-review-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #4285f4 0%, #357ae8 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  animation: pulseReview 2s infinite;
}

.google-review-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(66, 133, 244, 0.5);
  background: linear-gradient(135deg, #357ae8 0%, #2a5fc7 100%);
}

.google-review-button:active {
  transform: translateY(-1px);
}

.google-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.review-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.review-text-main {
  font-size: 16px;
  font-weight: 700;
}

.review-text-sub {
  font-size: 13px;
  opacity: 0.95;
  font-weight: 400;
}

.google-stars {
  display: flex;
  gap: 2px;
  color: #fbbc04;
  font-size: 18px;
}

@keyframes pulseReview {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(66, 133, 244, 0.6);
  }
}

/* Review CTA Section Styles */
.google-review-cta {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(66, 133, 244, 0.1) 100%);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin: 40px auto;
  border: 2px solid rgba(66, 133, 244, 0.2);
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.1);
}

.google-review-cta h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.google-review-cta p {
  font-size: 18px;
  color: #555;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.google-review-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #4285f4 0%, #357ae8 100%);
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
  transition: all 0.3s ease;
}

.google-review-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(66, 133, 244, 0.4);
  background: linear-gradient(135deg, #357ae8 0%, #2a5fc7 100%);
}

.google-rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 16px;
  color: #666;
}

.google-rating-stars {
  display: flex;
  gap: 3px;
  color: #fbbc04;
  font-size: 20px;
}

/* Footer Review Section */
.footer-review-section {
  position: relative;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 30px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.footer-review-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.footer-review-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.footer-review-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.footer-review-content {
  position: relative;
  z-index: 1;
}

.footer-review-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-google-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.footer-review-stars-animated {
  display: flex;
  gap: 4px;
}

.star-animated {
  color: #fbbf24;
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: starPulse 1.5s ease-in-out infinite;
  display: inline-block;
}

.star-animated:nth-child(1) { animation-delay: 0s; }
.star-animated:nth-child(2) { animation-delay: 0.1s; }
.star-animated:nth-child(3) { animation-delay: 0.2s; }
.star-animated:nth-child(4) { animation-delay: 0.3s; }
.star-animated:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.footer-review-section h4 {
  color: white;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.footer-review-section p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-review-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: #1e40af;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.footer-review-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.footer-review-button:hover::before {
  width: 300px;
  height: 300px;
}

.footer-review-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  background: #f8fafc;
}

.footer-review-button svg {
  position: relative;
  z-index: 1;
}

.footer-review-button span {
  position: relative;
  z-index: 1;
}

.footer-review-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.review-stat {
  text-align: center;
}

.review-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1;
  margin-bottom: 8px;
}

.review-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* Inline Review Prompt */
.inline-review-prompt {
  background: white;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #4285f4;
  margin: 30px 0;
}

.inline-review-content {
  flex: 1;
}

.inline-review-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.inline-review-content p {
  color: #666;
  margin: 0;
  font-size: 15px;
}

.inline-review-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4285f4 0%, #357ae8 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(66, 133, 244, 0.3);
}

.inline-review-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
  background: linear-gradient(135deg, #357ae8 0%, #2a5fc7 100%);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .google-review-widget {
    bottom: 90px;
    left: 20px;
  }

  .google-review-button {
    padding: 14px 20px;
    font-size: 14px;
    gap: 10px;
  }

  .google-icon {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .review-text-main {
    font-size: 14px;
  }

  .review-text-sub {
    font-size: 12px;
  }

  .google-review-cta {
    padding: 30px 20px;
  }

  .google-review-cta h3 {
    font-size: 22px;
  }

  .google-review-cta p {
    font-size: 16px;
  }

  .google-review-cta-button {
    padding: 16px 28px;
    font-size: 16px;
  }

  .inline-review-prompt {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .inline-review-content h4 {
    font-size: 20px;
  }

  .inline-review-content p {
    font-size: 14px;
  }

  .inline-review-button {
    width: 100%;
    justify-content: center;
  }

  .footer-review-section {
    padding: 40px 25px;
  }

  .footer-review-section h4 {
    font-size: 24px;
  }

  .footer-review-header {
    flex-direction: column;
    gap: 10px;
  }

  .footer-google-icon {
    width: 35px;
    height: 35px;
  }

  .star-animated {
    font-size: 20px;
  }

  .footer-review-stats {
    gap: 20px;
  }

  .review-stat-number {
    font-size: 28px;
  }

  .review-stat-label {
    font-size: 11px;
  }

  .review-stat-divider {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .google-review-button {
    padding: 12px 16px;
    font-size: 13px;
  }

  .review-text-main {
    font-size: 13px;
  }

  .review-text-sub {
    font-size: 11px;
  }

  .google-stars {
    font-size: 16px;
  }

  .footer-review-section {
    padding: 35px 20px;
    border-radius: 16px;
  }

  .footer-review-section h4 {
    font-size: 20px;
  }

  .footer-review-section p {
    font-size: 14px;
  }

  .footer-review-button {
    padding: 14px 24px;
    font-size: 15px;
    gap: 8px;
  }

  .footer-review-stats {
    gap: 15px;
    margin-top: 25px;
  }

  .review-stat-number {
    font-size: 24px;
  }

  .review-stat-label {
    font-size: 10px;
  }

  .review-stat-divider {
    display: none;
  }
}
