@media (max-width: 768px) {
    .adventure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pagination {
        grid-auto-flow: row;
        gap: 5px;
    }
    .hero {
        height: 60vh;
    }
    .hero-image {
        margin-top: 60px;
    }
    .adventure-content h2 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-top: 0.5rem;
        margin-left: 5px;
        margin-right: 5px;
    }
    .adventure-price {
        font-size: 1.2rem;
        margin: 0.5rem 0;
        color: #567b68;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .adventure-grid {
        grid-template-columns: 1fr;
    }
    .pagination {
        grid-auto-flow: row;
        gap: 5px;
    }
}

/*Css for Carousel on HomePage*/
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
    }
    
    .swiper-container {
        padding: 0;
    }
    
    .swiper-slide {
        min-width: 90vw; /* Increase the minimum width for better fit */
        max-width: 95vw; /* Slightly narrower than full screen for spacing */
        margin: 0 auto; /* Center the slide */
        overflow: visible; /* Allow the content to be fully visible */
        box-sizing: border-box;
        display: flex; /* Make sure the slide can grow with its content */
        flex-direction: column; /* Stack the image and text vertically */
    }
    
    .slide-content {
        padding: 15px;
        height: auto; /* Make sure content height is managed dynamically */
        overflow: visible; /* Ensure all text is shown */
    }
    
    .swiper-slide img {
        border-radius: 0;
    }
    
    .slide-info {
        padding: 15px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}