#filter-form {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#filter-input {
    width: 300px;
    padding: 10px 15px;
    box-sizing: border-box;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s;
}

#filter-input:focus {
    border-color: #007BFF;
    outline: none;
}

#filter-input::placeholder {
    font-size: 1rem;
    color: #999;
}

.partner-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.partner-button {
    flex: 1 0 calc(16.666% - 10px);
    /* This will make 6 buttons per row, adjust if needed */
    padding: 15px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 5px;
    margin-bottom: 10px;
    color: #000;
    font-size: 1.1rem;
    text-align: center;
    min-width: 150px;
    /* Ensures a minimum width for the buttons */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-button.active {
    background-color: #a0a0a0;
    color: #000;
    font-weight: bold;
}

.partner-button:hover:not(.active) {
    background-color: #e0e0e0;
}

.industry-partners {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.industry-partner {
    display: flex;
    padding: 20px 0;
    align-items: flex-start;
    position: relative;
}

.industry-partner:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12.5%;
    width: 75%;
    height: 1px;
    background-color: #ccc;
}

.partner-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 34%;
    padding-right: 20px;
    box-sizing: border-box;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

.partner-details {
    flex: 1;
    max-width: 66%;
    box-sizing: border-box;
}

.partner-details strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.partner-details p {
    margin: 0;
}

.pagination {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.pagination button {
    padding: 10px;
    margin: 0 5px;
    cursor: pointer;
}

.pagination button.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.partner-logo a {
    text-decoration: none;
    border: none;
    background:none;
}

.partner-logo a:hover {
    text-decoration: none;
    background: none;
}

.back-to-top {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
    position:sticky;
    bottom:30px;
}

#backToTopBtn {
    background-color: #F7E904;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

#backToTopBtn:hover {
    background-color: #C6BB03;
}
