#whatsapp-bubble {
  position: fixed;
  bottom: 34px;
  right: 34px;
  z-index: 9999;
  display: flex;
  align-items: center;
}

#whatsapp-bubble .bubble-text {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 10px 18px;
  text-align: left;
  margin-right: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  position: relative;
}

#whatsapp-bubble:hover .bubble-text,
#whatsapp-bubble:focus-within .bubble-text {
  opacity: 1;
  pointer-events: auto;
}

.country-item:hover {
    background-color: #16207d21;
    cursor: pointer;
    border-radius: 8px;
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation classes */
.animate-fadeInUp {
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.animate-fadeIn {
  opacity: 0;
  animation: fadeIn 1.2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.animate-scaleIn {
  opacity: 0;
  animation: scaleIn 1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.animated {
  /* Ensures opacity stays at 1 after animation */
  opacity: 1 !important;
}

/* 3D Card and Shadow Effects */
.card,
.trip-card .card,
.testimonial-section .card {
  box-shadow: 0 12px 36px rgba(22, 32, 125, 0.18),
    0 2px 12px rgba(80, 80, 120, 0.09), 0 0px 0px #fff inset;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
  will-change: transform, box-shadow;
  background: linear-gradient(120deg, #fff 90%, #f8f9fe 100%);
  border-radius: 18px !important;
  perspective: 800px;
}

.card:hover,
.trip-card .card:hover,
.testimonial-section .card:hover {
  transform: scale(1.055) rotateY(8deg) translateY(-8px);
  box-shadow: 0 24px 64px rgba(22, 32, 125, 0.28),
    0 8px 32px rgba(80, 80, 120, 0.13), 0 0px 0px #fff inset;
  z-index: 2;
}

/* 3D hover for hero image */

.hero-3d-img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s,
    box-shadow 0.3s;
  will-change: transform, box-shadow;
}

/* Parallax background/foreground layers already handled by SVG and GSAP */

/* Modern CTA Button Styles */
.modern-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: linear-gradient(90deg, #16207d 80%, #4e54c8 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(22, 32, 125, 0.1);
  padding: 0.85em 2.2em;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s,
    color 0.22s;
  outline: none;
  z-index: 1;
}

.modern-cta-btn .btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.modern-cta-btn .btn-text {
  display: inline-block;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.modern-cta-btn:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(circle at 60% 40%, #f7b32d33 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.modern-cta-btn:hover:before,
.modern-cta-btn:focus:before {
  opacity: 1;
}

.modern-cta-btn:after {
  /* Ripple effect */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(247, 179, 45, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.modern-cta-btn:active:after {
  width: 180%;
  height: 180%;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modern-cta-btn:hover,
.modern-cta-btn:focus {
  background: linear-gradient(90deg, #1a237e 70%, #4e54c8 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(22, 32, 125, 0.18),
    0 2px 12px rgba(80, 80, 120, 0.09);
}

.modern-cta-btn:active {
  box-shadow: 0 2px 8px rgba(22, 32, 125, 0.12);
}

/* Responsive */
@media (max-width: 600px) {
  .modern-cta-btn {
    font-size: 1rem;
    padding: 0.7em 1.3em;
  }
}

.suggestion-btn {
  border-radius: 8px !important;
  font-weight: 600;
  background: #dcdde3;
  /* Slightly darker pearl gray for more opacity */
  color: #11184a;
  /* Stronger navy for better contrast */
  border: 1.5px solid #b8b9c6;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  /* Increased opacity */
  transition: all 0.3s ease;
}

.suggestion-btn:hover,
.suggestion-btn:focus {
  background: #f8f8f8;
  /* Whiter with slight warmth */
  color: #0b1140;
  /* Deeper text for better hover focus */
  border-color: #cacbd7;
  box-shadow: 0 10px 22px rgba(22, 32, 125, 0.25);
  /* Stronger hover shadow */
}

.hero-img-zoom {
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-img-zoom:hover {
  transform: scale(1.03);
}

.hero-3d-img {
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s,
    box-shadow 1.2s;
  will-change: transform, box-shadow;
}

.input-group .position-absolute {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.testimonial-card {
  width: 320px;
  min-height: 400px;
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 8px 24px rgba(22, 32, 125, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e9eafc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.testimonial-card h5 {
  color: #16207d;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  flex-grow: 1;
}

@media (max-width: 991px) {
  .testimonial-card {
    width: 90%;
  }
}

/* Responsive adjustments for all sections */
@media (max-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-section .row,
  .services-section .row,
  .destinations-section .row,
  .testimonial-section .row,
  .booking-steps-section .row {
    flex-wrap: wrap;
  }
  .cta-section {
    margin-left: 2vw !important;
    margin-right: 2vw !important;
  }
}
@media (max-width: 991px) {
  .hero-section .col-lg-6,
  .booking-steps-section .col-lg-6,
  .trip-card {
    max-width: 100% !important;
    padding-right: 0 !important;
    margin-top: 2rem !important;
  }
  .services-section .row > div,
  .destinations-section .row > div {
    margin-bottom: 2rem;
  }
  .testimonial-card {
    width: 98vw !important;
    min-height: 320px !important;
    padding: 1.5rem 0.5rem !important;
  }
  .cta-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }
}
@media (max-width: 767px) {
  section,
  .services-section,
  .destinations-section,
  .testimonial-section,
  .booking-steps-section,
  .cta-section,
  .contact-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
    margin-top: 0 !important;
    margin-bottom: 1.2rem !important;
  }
  .hero-section h1,
  .services-section h2,
  .destinations-section h2,
  .testimonial-section h2,
  .booking-steps-section h2,
  .cta-section h2,
  .contact-section h2 {
    font-size: 1.5rem !important;
  }
  .hero-section .display-5 {
    font-size: 2rem !important;
  }
  .card,
  .trip-card .card,
  .testimonial-section .card {
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(22, 32, 125, 0.12);
  }
  .card-img-top,
  .trip-card img,
  .testimonial-section img {
    height: 120px !important;
    border-radius: 10px !important;
  }
  .testimonial-card img {
    width: 70px !important;
    height: 70px !important;
  }
  .cta-section .btn {
    font-size: 1rem !important;
    padding: 0.7em 1.3em !important;
  }
  .cta-section {
    border-radius: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .contact-section .row {
    flex-direction: column !important;
  }
  .contact-section .col-lg-6 {
    width: 100% !important;
    margin-bottom: 1.2rem !important;
  }
  #whatsapp-bubble {
    bottom: 18px !important;
    right: 18px !important;
  }
  #whatsapp-bubble img {
    width: 48px !important;
    height: 48px !important;
  }
  .suggestion-btn {
    font-size: 0.95rem !important;
    padding: 0.5em 1em !important;
  }
}
@media (max-width: 575px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .testimonial-card {
    min-height: 220px !important;
    padding: 1rem 0.2rem !important;
  }
  .card-img-top,
  .trip-card img,
  .testimonial-section img {
    height: 80px !important;
  }
  .cta-section .btn {
    font-size: 0.95rem !important;
    padding: 0.5em 1em !important;
  }
  .cta-section {
    padding: 1.2rem 0.2rem !important;
  }
  .contact-section {
    padding: 1.2rem 20px !important;
  }
}
/* Prevent overflow for all sections */
section,
.services-section,
.destinations-section,
.testimonial-section,
.booking-steps-section,
.cta-section,
.contact-section {
  max-width: 100vw;
  box-sizing: border-box;
}
