.horizontal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Spacing between buttons */
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center; /* Center the buttons */
}

.horizontal-list li {
    flex: 1 1 150px; /* Ensure all buttons are the same width */
    max-width: 200px; /* Set a maximum width for larger screens */
}

.horizontal-list .btn {
    display: flex; /* Use Flexbox for alignment */
    align-items: center; /* Vertically align the text */
    justify-content: center; /* Horizontally center the text */
    text-align: center;
    padding: 10px 15px;
    font-weight: 500; /* Slightly bold text */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
    width: 100%; /* Ensure buttons take the full width of the list item */
    height: 100%; /* Ensure the height fills the parent */
    box-sizing: border-box; /* Include padding and borders in width/height */
}

.horizontal-list .btn:hover {
    background-color: #6c757d;
    color: #ffffff; /* White text on hover */
    border-color: #fff; 
}


