.container {
    /*max-width: 1400px;*/
    margin: 0px auto; 
    /* padding: 20px; */
    /* border-radius: 12px; */
    margin-top: 0 auto;
}

.container.withoutVerticalMargin {
    margin: 0px auto;
}

/* .container.witheBackground {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
} */

.section-title {
    font-size: 25px;
    font-weight: 700;
    /* margin-bottom: 24px; */
    color: #333;
}

.activity-slider-container {
    position: relative;
    margin: 0 -10px;
}

.activity-slider {
    display: flex;
    overflow-x: scroll;
    /* scroll-behavior: smooth;
    scroll-snap-type: x mandatory; */
    padding: 10px;
    /* -ms-overflow-style: none;  Hide scrollbar in IE and Edge */
    /* scrollbar-width: none;  Hide scrollbar in Firefox */
}

/* .activity-slider::-webkit-scrollbar {
    display: none;   Hide scrollbar in Chrome, Safari and Opera 
} */

.activity-card {
    min-width: 300px;
    flex: 0 0 300px;
    margin: 0 10px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

/* .card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
} */

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
    height: 48px; /* Fixed height for consistent alignment */
    display: flex;
    align-items: flex-start;
    line-height: 1.3;
}


.card-location {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.location-icon {
    margin-right: 5px;
    font-size: 12px;
}

.card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /*-webkit-line-clamp: 3;  /* number of lines to show */
    -webkit-box-orient: vertical;
    max-height: 4.5em; /* adjust based on line height */
    line-height: 1.5em;
}

/* .card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1; /* This makes the description area flexible 
} */

.card-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #FF8A00; /* Orange color for stars */
    margin-right: 8px;
    font-size: 16px;
}

.review-count {
    font-size: 13px;
    color: #888;
}

.view-details-btn {
    display: inline-block;
    background-color: #FF8A00; /* Orange accent color */
    color: white;
    /* font-weight: 600; */
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    align-self: flex-start; /* Align button to start */
    margin-top: auto; /* Push button to bottom */
}

.view-details-btn:hover {
    background-color: #E67E00;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 25px;
    margin-right: 25px;
}

.slider-btn:hover {
    background-color: #FF8A00;
    color: white;
}

.slider-btn.prev {
    left: -30px;
}

.slider-btn.next {
    right: -30px;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .activity-card {
        flex: 0 0 270px;
        height: 400px; /* Slightly smaller height for tablets */
    }
    
    .section-title {
        font-size: 24px;
    }

    .slider-btn.prev {
        left: -17px;
    }
    
    .slider-btn.next {
        right: -17px;
    }
}

@media (max-width: 480px) {
    .activity-card {
        flex: 0 0 240px;
        height: 380px; /* Even smaller height for mobile */
    }
    
    .card-image {
        height: 160px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
    }
}