#tabs {
    width: 100%;
    margin: 0 auto;
  }
  
  /* Tab Navigation */
  #tabs ul {
    margin-bottom: 20px !important;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 2px solid #ccc;
  }
  
  #tabs ul li {
    margin: 0;
  }
  
  #tabs ul li a {
    text-align: center;
    max-width: 200px;
    border-radius: 10px 10px 0 0;
    margin: 0 10px;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    color: #333;
    background: #f4f4f4;
    /* border: 1px solid #ccc; */
    /* border-bottom: none; */
    cursor: pointer;
    /* transition: background 0.3s ease, color 0.3s ease; */
  }
  
  #tabs ul li a:hover {
    background: #ddd;
  }
  
  #tabs ul li a.active {
    border-radius: 10px 10px 0 0;
    background: #fff;
    color: #000;
    font-weight: bold;
    border-top: 2px solid #007bff;
    /* border-left: 1px solid #ccc; */
    /* border-right: 1px solid #ccc; */
    /* border-bottom: none; */
  }

/* Responsive Media Query for Small Screens */
@media (max-width: 768px) {
    /* Stack tabs vertically */
    #tabs ul {
        /*flex-direction: column; */ /* Tabs will now stack vertically */
        border-bottom: none; /* Remove the bottom border for stacked tabs */
    }

    #tabs ul li a {
        margin: 5px;
        padding: 10px;
        border-bottom: 1px solid #ccc; /* Add a bottom border for separation */
        border-right: none; /* Remove the right border */
        font-size: 14px; /* Smaller font size for mobile */
        text-align: center; /* Center-align text */
    }

    #tabs ul li a.active {
        border-bottom: none; /* Remove border to blend with content */
        border-right: none;
        border-left: none;
    }

    #tabs ul li a:hover {
        background: #eee; /* Lighter hover effect for mobile */
    }
}