
/* Partner Item Styles */
.partner-item {
    position: relative;
    background: var(--white-color);
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(0,0,0,0.05);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-image {
    width: 100%;
    height: 100px; /* Fixed height container */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.partner-image figure {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.partner-image img {
    max-width: 80%; /* Prevent touching edges */
    max-height: 100%;
    object-fit: contain;
    width: auto !important;
    height: auto !important;
    filter: grayscale(100%); /* Optional: makes them look uniform initially */
    transition: filter 0.3s ease;
    background: transparent !important; /* Remove white bg inline style override */
    padding: 0 !important; /* Remove padding inline style override */
}

.partner-item:hover .partner-image img {
    filter: grayscale(0%);
}



.partner-content {
    text-align: center;
    width: 100%;
}

.partner-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.partner-content p {
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}
