
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero-wrapper {
    width: 100%;
    height: 50vh; /* 60% of viewport height */
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero h1 {
    text-align: center;
    font-size: 62px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    max-width: 80%;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff5722;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.gallery-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    z-index: 0;
}

.gallery {
    display: flex;
    height: 100%;
    align-items: center;
}

.gallery img {
    height: 100%;
    width: auto;
    object-fit: cover;
    opacity: 0.7;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
}

.hero-wrapper .gallery-container .gallery .related-tours-container{
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

/* Animation for non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .gallery {
        animation: scroll 40s linear infinite;
    }
}

/* Touch device styles */
@media (hover: none) and (pointer: coarse) {
    .gallery {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .gallery img {
        scroll-snap-align: start;
    }
    
    /* Hide scrollbar */
    .gallery::-webkit-scrollbar {
        display: none;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-wrapper {
        height: 60vh;
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .hero p {
        max-width: 90%;
    }
    
    .hero-btn {
        padding: 10px 25px;
    }
    
    .gallery img {
        width: 100vw;
        height: auto;
    }
}


.trip-itinerary-container {
    font-family: var(--default-font);
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    box-sizing: border-box;
}

.trip-itinerary-container .itinerary-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.trip-itinerary-container .itinerary-subtitle {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
    color: #333;
}

.trip-itinerary-container .itinerary-timeline {
    position: relative;
    padding-left: 10px;
}

.trip-itinerary-container .itinerary-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 1px;
    background-color: #ccc;
}

.trip-itinerary-container .itinerary-item {
    display: flex;
    position: relative;
    margin-bottom: 25px;
}

.trip-itinerary-container .itinerary-dot {
    position: relative;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #713333;
    background-color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.trip-itinerary-container .itinerary-content {
    padding-top: 3px;
    cursor: pointer;
}

.trip-itinerary-container .itinerary-content:hover ~ .itinerary-dot,
.trip-itinerary-container .itinerary-item:hover .itinerary-dot {
    background-color: #782929;
    transform: scale(1.2); /* Increase size by 20% */
}

.trip-itinerary-container .itinerary-time {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.trip-itinerary-container .itinerary-description {
    color: #887575;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 0;
}

.trip-itinerary-container .itinerary-red-dot {
    color: #ff0000;
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
}


.related-tours-container {
    font-family: var(--default-font);
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    position: relative;
}

.related-tours-container .tours-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

.related-tours-container .tours-subtitle {
    text-align: center;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.5;
}

/* Slider Container and Track */
.related-tours-container .tours-slider-container {
    position: relative;
    overflow: hidden;
    padding: 10px 0 40px;
}

.related-tours-container .tours-slider-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 20px;
}

/* Tour Cards */
.related-tours-container .tour-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-tours-container .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.related-tours-container .tour-image {
    height: 200px;
    overflow: hidden;
}

.related-tours-container .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-tours-container .tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.related-tours-container .tour-content {
    padding: 20px;
}

.related-tours-container .tour-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 8px;
}

.related-tours-container .tour-name {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0 12px;
    color: #333;
}

.related-tours-container .tour-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Navigation Buttons */
.related-tours-container .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 60%;
    background-color: #feb900;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.related-tours-container .slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.related-tours-container .slider-nav.prev-btn {
    left: -15px;
}

.related-tours-container .slider-nav.next-btn {
    right: -15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-tours-container .tour-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .related-tours-container .tour-card {
        flex: 0 0 100%;
    }
}

/* Hide WhatsApp button by default */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0; /* Initially hidden */
    visibility: hidden;
    transform: translateY(20px);
  }
  
  .whatsapp-float.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .whatsapp-float:hover {
    background-color: #33c879;
    transform: scale(1.1) translateY(0);
  }
  
  /* Hero Section (Example) */
  #hero {
    height: 100vh; /* Full viewport height */
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
  }

  .card {
    /* color used to softly clip top and bottom of the .words container */
    --bg-color: #f4f3f3;
    background-color: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 1.25rem;
  }
  .loader {
    color: rgb(124, 124, 124);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 25px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 40px;
    padding: 10px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 8px;
  }
  
  .words {
    overflow: hidden;
    position: relative;
  }
  .words::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      var(--bg-color) 10%,
      transparent 30%,
      transparent 70%,
      var(--bg-color) 90%
    );
    z-index: 20;
  }
  
  .word {
    display: block;
    height: 100%;
    padding-left: 6px;
    color: #feb900;
    animation: spin_4991 4s infinite;
  }
  
  @keyframes spin_4991 {
    10% {
      -webkit-transform: translateY(-102%);
      transform: translateY(-102%);
    }
  
    25% {
      -webkit-transform: translateY(-100%);
      transform: translateY(-100%);
    }
  
    35% {
      -webkit-transform: translateY(-202%);
      transform: translateY(-202%);
    }
  
    50% {
      -webkit-transform: translateY(-200%);
      transform: translateY(-200%);
    }
  
    60% {
      -webkit-transform: translateY(-302%);
      transform: translateY(-302%);
    }
  
    75% {
      -webkit-transform: translateY(-300%);
      transform: translateY(-300%);
    }
  
    85% {
      -webkit-transform: translateY(-402%);
      transform: translateY(-402%);
    }
  
    100% {
      -webkit-transform: translateY(-400%);
      transform: translateY(-400%);
    }
  }
  

.price-inr {
  position: relative;
  cursor: pointer;
}

.price-usd-tooltip {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.price-usd-tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.price-inr:hover .price-usd-tooltip {
  visibility: visible;
  opacity: 1;
}

.price-usd-tooltip::before {
  content: "* ";
  font-size: smaller;
}

.price-usd-tooltip::after {
  content: " (approximate)";
  font-size: smaller;
  display: block;
  margin-top: 3px;
}