/* =============================================
   YOGITA TOUR PLANNER - Custom Business CSS
   Better Responsive & Professional Look
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- Root Variables ---------- */
:root {
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --wa-light: #DCF8C6;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global Typography ---------- */
body {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #3d3d3d;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ---------- Header Enhancements ---------- */
.header-menu-area {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.header-menu-area.sticky {
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.main-menu > ul > li > a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
}

.main-menu > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-menu > ul > li:hover > a::after {
  width: 100%;
}

/* ---------- Hero Section ---------- */
.hero-area,
.banner-section {
  position: relative;
  overflow: hidden;
}

/* ---------- Section Padding ---------- */
.section-padding {
  padding: 80px 0;
}

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

@media (max-width: 767px) {
  .section-padding {
    padding: 45px 0;
  }
}

/* ---------- Hero Slider Responsive ---------- */
.hero-section .single-hero-slide {
  min-height: 100vh;
  padding: 80px 0 60px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-section .slider-text {
  padding: 20px 10px;
}

.hero-section .slider-text .small-text {
  font-size: clamp(12px, 3vw, 16px);
  display: block;
  margin-bottom: 10px;
  word-break: break-word;
}

.hero-section .slider-text h1 {
  font-size: clamp(22px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
  margin-bottom: 20px;
  padding: 0 10px;
}

.hero-section .slider-text .filled-btn {
  font-size: clamp(12px, 3vw, 15px);
  padding: 10px 22px;
}

/* Mobile slider fixes */
@media (max-width: 767px) {
  .hero-section .single-hero-slide {
    min-height: 70vh;
    padding: 100px 0 50px;
    align-items: center !important;
  }

  .hero-section .slider-text h1 {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: 16px;
    padding: 0 5px;
  }

  .hero-section .slider-text .small-text {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .hero-section .slider-text .filled-btn {
    font-size: 13px;
    padding: 10px 20px;
  }

  /* Ensure container doesn't overflow */
  .hero-section .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 480px) {
  .hero-section .single-hero-slide {
    min-height: 60vh;
    padding: 90px 0 40px;
  }

  .hero-section .slider-text h1 {
    font-size: clamp(18px, 7vw, 28px);
    line-height: 1.3;
  }

  .hero-section .slider-text .small-text {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .hero-section .slider-text .filled-btn {
    font-size: 12px;
    padding: 9px 18px;
  }
}


/* ---------- Section Title ---------- */
.section-title {
  margin-bottom: 40px;
}

.section-title h1,
.section-title h2 {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.title-top {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: inline-block;
  margin-bottom: 10px;
}

.title-top.with-border {
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

/* ---------- Service Cards ---------- */
.single-service-box {
  border-radius: var(--radius-md);
  padding: 35px 25px 25px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  /* overflow removed — counter badge shouldn't clip */
}

/* Hide the old absolute-positioned counter number */
.single-service-box .service-counter {
  display: none;
}

.single-service-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: linear-gradient(135deg, var(--primary-color, #1e88e5), var(--secondary-color, #43a047));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.single-service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.single-service-box:hover::before {
  transform: scaleX(1);
}

.single-service-box .service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  transition: var(--transition);
  background: rgba(30, 136, 229, 0.1);
}

.single-service-box:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.single-service-box h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.single-service-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.read-more:hover {
  gap: 10px;
}

/* ---------- Package Cards ---------- */
.packages-post-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  display: block;
}

.packages-post-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.packages-post-item .post-thumbnail {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: block;
}

.packages-post-item .post-thumbnail img {
  width: 100% !important;
  height: auto !important;
  max-height: 280px;
  object-fit: cover !important;
  object-position: top center !important;
  display: block;
  transition: transform 0.5s ease;
}

.packages-post-item:hover .post-thumbnail img {
  transform: scale(1.04);
}

.packages-post-item .entry-content {
  padding: 20px 22px 24px;
}

.packages-post-item .title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.packages-post-item .post-meta ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.packages-post-item .post-meta li {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}



/* ---------- Feature/Facility List ---------- */
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.feature-list li:hover {
  padding-left: 6px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.single-feedback-box {
  border-radius: var(--radius-md);
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.single-feedback-box::before {
  content: '\201C';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 60px;
  line-height: 1;
  opacity: 0.1;
  font-family: Georgia, serif;
}

.single-feedback-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.single-feedback-box p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #555;
}

.feedback-author {
  font-size: 15px;
  font-weight: 700;
  margin-top: 16px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
}

.cta-left-content h1 {
  font-size: clamp(22px, 3.5vw, 36px);
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ---------- Buttons ---------- */
.btn,
.filled-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filled-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ---------- Counter ---------- */
.counter-box {
  text-align: center;
  padding: 20px 15px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  transition: var(--transition);
}

.counter-box:hover {
  transform: translateY(-4px);
}

.counter-number {
  font-size: 32px;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin: 8px 0 4px;
}

/* ---------- Footer ---------- */
footer {
  position: relative;
}

footer .widget-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 10px;
  position: relative;
}

footer .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

footer .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

footer .social-icons li a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  color: rgba(255,255,255,0.75);
}

footer .social-icons li a:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* ---------- Back to Top ---------- */
.back-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */

/* Wrapper: fixed to viewport */
#wa-float-btn-wrap {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: flex-end !important;
  gap: 10px !important;
  pointer-events: none;
}

/* The actual WhatsApp link button */
#wa-float-btn {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
  pointer-events: all;
  visibility: visible !important;
  opacity: 1 !important;
}

.wa-btn-inner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}

.wa-btn-inner::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  opacity: 0;
  animation: wa-pulse 2s ease infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(0.9); opacity: 0.8; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

.wa-btn-inner svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  transition: var(--transition);
}

#wa-float-btn:hover .wa-btn-inner {
  background: var(--wa-dark);
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.55);
}

/* Tooltip Bubble */
.wa-tooltip-bubble {
  background: #fff;
  border-radius: 12px 12px 0 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  max-width: 220px;
  position: relative;
  opacity: 0;
  transform: translateX(10px) scale(0.95);
  transform-origin: right center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: none;
  align-self: flex-end;
  margin-bottom: 8px;
}

.wa-tooltip-bubble.visible {
  display: block;
}

.wa-tooltip-bubble.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: all;
}

.wa-tooltip-bubble strong {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--wa-dark);
  display: block;
  margin-bottom: 4px;
  padding-right: 20px;
}

.wa-tooltip-bubble p {
  font-size: 12.5px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.wa-tooltip-bubble .wa-close-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  color: #333;
  line-height: 1;
  pointer-events: all;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.wa-tooltip-bubble .wa-close-btn:hover {
  background: #ddd;
}

/* Badge */
.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #ff4444;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* =============================================
   RESPONSIVE IMPROVEMENTS
   ============================================= */

/* Mobile Header */
@media (max-width: 991px) {
  .header-menu-area {
    padding: 12px 0;
  }

  .header-top-area {
    display: none;
  }
}

@media (max-width: 767px) {
  /* Section titles smaller */
  .section-title h1 {
    font-size: 24px;
  }

  /* Service boxes full width */
  .single-service-box {
    margin-bottom: 20px;
    padding: 25px 20px;
  }

  /* Package cards */
  .packages-post-item .post-thumbnail img {
    height: 200px;
  }

  /* Counter */
  .counter-box {
    margin-bottom: 15px;
  }

  .counter-number {
    font-size: 28px;
  }

  /* WhatsApp button on mobile */
  #wa-float-btn-wrap {
    bottom: 16px !important;
    right: 16px !important;
  }

  .wa-btn-inner {
    width: 52px !important;
    height: 52px !important;
  }

  .wa-btn-inner svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Hide tooltip bubble on very small screens */
  .wa-tooltip-bubble {
    display: none !important;
  }

  /* Back to top adjusts */
  .back-top {
    bottom: 85px;
    right: 16px;
  }
}

/* =============================================
   GENERAL IMPROVEMENTS
   ============================================= */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Better image rendering */
img {
  max-width: 100%;
  height: auto;
}

/* Container max-width improvement */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Better focus states */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(30, 136, 229, 0.4);
  outline-offset: 2px;
}

/* Preloader improvement */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards general */
.card-hover {
  transition: var(--transition);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* =============================================
   FORCE WHATSAPP BUTTON VISIBLE — ALL DEVICES
   (Must be last in file to override theme CSS)
   ============================================= */

#wa-float-btn-wrap,
#wa-float-btn-wrap * {
  box-sizing: border-box;
}

#wa-float-btn-wrap {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
  pointer-events: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#wa-float-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: all !important;
  text-decoration: none !important;
  position: static !important;
}

.wa-btn-inner {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5) !important;
  cursor: pointer !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.wa-btn-inner svg {
  display: block !important;
  visibility: visible !important;
  fill: #fff !important;
  width: 28px !important;
  height: 28px !important;
}

/* Mobile specific */
@media (max-width: 575px) {
  #wa-float-btn-wrap {
    bottom: 16px !important;
    right: 16px !important;
  }

  .wa-btn-inner {
    width: 50px !important;
    height: 50px !important;
  }

  .wa-btn-inner svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* =============================================
   HERO SLIDER FADE ANIMATIONS & SMOOTHNESS
   ============================================= */
/* Hide text ONLY inside inactive slick slides. Safe for static pages and loading states. */
.slick-initialized .slick-slide:not(.slick-active) [data-animation] {
  opacity: 0 !important;
}

/* Ensure animating elements have smooth opacity transitions */
.hero-section [data-animation] {
  transition: opacity 0.5s ease-in-out;
}

/* Active slide elements are always visible */
.hero-section .slick-active [data-animation] {
  opacity: 1 !important;
}

/* Ensure smooth crossfade transition in slick */
.hero-section .slick-slide {
  transition: opacity 1.2s ease-in-out !important;
}

