/* =========================================
   QUICK BOOK SECTION - Fast Track Booking
   ========================================= */

/* Section Base Styles */
.quick-book-section {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 50%, #f0f9f6 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Badge Styles */
.quick-book-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(46, 139, 87, 0.5);
  }
}

/* Title Styles */
.quick-book-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a472a;
  margin-bottom: 15px;
  position: relative;
}

.quick-book-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2e8b57, #3cb371);
  border-radius: 2px;
}

.quick-book-subtitle {
  font-size: 1.1rem;
  color: #555;
  font-family: 'Quicksand', sans-serif;
  margin-top: 20px;
}

/* Service Tabs */
.service-tabs-wrapper {
  background: white;
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: inline-block;
  width: 100%;
}

.service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
  z-index: 0;
}

.service-tab i {
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.service-tab span {
  position: relative;
  z-index: 1;
}

.service-tab:hover {
  color: #2e8b57;
  transform: translateY(-2px);
}

.service-tab:hover i {
  transform: scale(1.2);
}

.service-tab.active {
  color: white;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
}

.service-tab.active::before {
  opacity: 1;
}

.service-tab.active:hover {
  color: white;
}

/* Therapist Cards */
.quick-book-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(46, 139, 87, 0.1);
}

.quick-book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2e8b57, #3cb371, #8fbc8f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.quick-book-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(46, 139, 87, 0.2);
}

.quick-book-card:hover::before {
  transform: scaleX(1);
}

/* Card Image Section */
.quick-book-card-image {
  position: relative;
  padding: 30px 30px 0;
  text-align: center;
}

.quick-book-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.2), transparent);
}

.therapist-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.quick-book-card:hover .therapist-avatar {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(46, 139, 87, 0.25);
}

/* Online Badge */
.online-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.online-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: online-pulse 1.5s infinite;
}

@keyframes online-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Card Content */
.quick-book-card-content {
  padding: 25px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.therapist-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a472a;
  margin-bottom: 5px;
}

.therapist-title {
  font-size: 0.95rem;
  color: #2e8b57;
  font-weight: 500;
  margin-bottom: 10px;
}

.therapist-experience {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(46, 139, 87, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #2e8b57;
  margin-bottom: 15px;
}

/* Specialties Tags */
.quick-book-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.specialty-chip {
  padding: 5px 12px;
  background: linear-gradient(135deg, #f0f9f6 0%, #e8f5f0 100%);
  border-radius: 15px;
  font-size: 0.8rem;
  color: #1a472a;
  font-weight: 500;
  transition: all 0.3s ease;
}

.specialty-chip:hover {
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
  color: white;
  transform: translateY(-2px);
}

/* Card Footer with Buttons */
.quick-book-card-footer {
  padding: 20px 30px 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(46, 139, 87, 0.03) 100%);
  margin-top: auto;
}

.quick-book-actions {
  display: flex;
  gap: 12px;
}

.btn-quick-book {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-quick-book::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: rotate(45deg) translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

.btn-quick-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4);
  color: white;
}

.btn-quick-book i {
  transition: transform 0.3s ease;
}

.btn-quick-book:hover i {
  transform: translateX(3px);
}

.btn-view-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: white;
  color: #2e8b57;
  border: 2px solid #2e8b57;
  border-radius: 14px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-view-profile:hover {
  background: #2e8b57;
  color: white;
  transform: translateY(-3px);
}

/* WhatsApp Button */
.btn-whatsapp {
  border-color: #25d366;
  color: #25d366;
}

.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: white;
}

.btn-whatsapp i {
  font-size: 1.1rem;
}

/* View All Button */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: white;
  color: #2e8b57;
  border: 2px solid #2e8b57;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-view-all:hover {
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.btn-view-all i {
  transition: transform 0.3s ease;
}

.btn-view-all:hover i {
  transform: translateX(5px);
}

/* Decorative Elements */
.quick-book-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.1) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: float-circle 20s infinite ease-in-out;
}

.circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(60, 179, 113, 0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: float-circle 15s infinite ease-in-out reverse;
}

.circle-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(143, 188, 143, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 10%;
  animation: float-circle 18s infinite ease-in-out 2s;
}

@keyframes float-circle {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

/* Loader */
.quick-book-loader {
  padding: 60px 20px;
}

.loader-pulse {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
  animation: loader-pulse 1.5s infinite;
}

@keyframes loader-pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.quick-book-loader p {
  color: #555;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
}

/* No Results Message */
.no-results {
  padding: 60px 20px;
  text-align: center;
}

.no-results i {
  font-size: 4rem;
  color: #ccc;
  margin-bottom: 20px;
}

.no-results h4 {
  color: #555;
  font-family: 'Quicksand', sans-serif;
  margin-bottom: 10px;
}

.no-results p {
  color: #888;
}

/* =========================================
   FLOATING BOOK BUTTON
   ========================================= */

.floating-book-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
  color: white;
  border: none;
  border-radius: 60px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(46, 139, 87, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.floating-book-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: floating-btn 3s ease-in-out infinite;
}

.floating-book-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(46, 139, 87, 0.5);
  color: white;
}

.floating-book-btn i {
  font-size: 1.2rem;
}

@keyframes floating-btn {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Hide floating button on small screens when at top */
@media (max-width: 768px) {
  .floating-book-btn {
    bottom: 80px;
    right: 20px;
    padding: 14px 22px;
    font-size: 0.9rem;
  }

  .floating-book-btn span {
    display: none;
  }

  .floating-book-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-book-btn i {
    margin: 0;
  }
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 1200px) {
  .quick-book-title {
    font-size: 2.4rem;
  }

  .service-tab {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .quick-book-section {
    padding: 60px 0;
  }

  .quick-book-title {
    font-size: 2rem;
  }

  .service-tabs {
    gap: 6px;
  }

  .service-tab {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .service-tab span {
    display: none;
  }

  .service-tab i {
    font-size: 1.2rem;
  }

  .therapist-avatar {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .quick-book-title {
    font-size: 1.8rem;
  }

  .quick-book-subtitle {
    font-size: 1rem;
  }

  .service-tabs-wrapper {
    border-radius: 20px;
    padding: 6px;
  }

  .service-tab {
    padding: 12px 16px;
    border-radius: 15px;
  }

  .quick-book-card {
    border-radius: 20px;
  }

  .quick-book-card-image {
    padding: 25px 25px 0;
  }

  .therapist-avatar {
    width: 100px;
    height: 100px;
  }

  .quick-book-card-content {
    padding: 20px 25px;
  }

  .therapist-name {
    font-size: 1.2rem;
  }

  .quick-book-card-footer {
    padding: 15px 25px 25px;
  }

  .quick-book-actions {
    flex-direction: column;
  }

  .btn-view-profile {
    order: 2;
  }
}

@media (max-width: 576px) {
  .quick-book-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .quick-book-title {
    font-size: 1.5rem;
  }

  .service-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
  }

  .service-tab {
    flex-shrink: 0;
  }
}

/* Card Animation on Filter */
.quick-book-card.filtering-out {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.quick-book-card.filtering-in {
  animation: card-appear 0.4s ease forwards;
}

@keyframes card-appear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
