:root {
  --white: #ffffff;
  --accent: #FF4081;
  --primary: #6200EE;
}

/* Animation for Call Button */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.animate-pulse {
  animation: pulse 1.5s infinite;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}

/* Popup Overlay */
@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Popup Container */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--accent);
  z-index: 2100;
}

.popup-content {
  padding: 2rem;
  margin: 50px 0;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.popup-phone-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 12px;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem 1rem;
  animation: pulsePhone 2s infinite;
}

@keyframes pulsePhone {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.popup-text,
.popup-action-text {
  margin: 0.75rem 0;
  color: #333;
}

.popup-call-circle {
  margin: 1rem auto;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.popup-call-circle:hover {
  transform: scale(1.1);
}

.popup-click-to-call {
  font-size: 2rem;
  font-weight: 600;
}

/* Hide popup on larger screens */
@media (min-width: 769px) {
  .popup,
  .popup-overlay {
    display: none;
  }
}

/* Sticky CTA Section */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 2001;
}

.sticky-cta span {
  font-size: 26px;
}

/* Adjust layout for smaller screens
@media (max-width: 768px) {
  .sticky-cta .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta h3 {
    margin-bottom: 0.5rem;
  }

  .sticky-cta p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta p img {
    margin-bottom: 0.5rem;
  }
} */


/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  animation: overlayFadeIn 0.5s forwards;
}

/* Popup Container */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  overflow: hidden;
  animation: popupIn 0.5s forwards;
}
