.overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    opacity: 0;
}

.overlay.show {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

.notification {
    background-color: #333;
    text-align: center;
    border-radius: 5px;
    padding: 20px;
    position: relative;
    overflow: auto;
    width: 400px;
    max-width: 80%;
    max-height: 80%;
    transition: 0.5s;
}

.closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;
}

.closebtn:hover {
    color: #bbb;
    transition: 0.5s;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    color: var(--text);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--text);
}

/* ===== PARTNERS GRID ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PARTNER CARD ===== */
.partner-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--nav);
    border: 1px solid var(--buttons-hover);
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    min-height: 90px;
}

.partner-card:hover {
    border-color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== PARTNER LOGO ===== */
.partner-logo {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

/* ===== PARTNER INFO ===== */
.partner-info {
    flex: 1;
    min-width: 0;
    padding-right: 30px;
}

.partner-name {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-stats {
    color: var(--text);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== PARTNER BADGE ===== */
.partner-badge {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text);
    font-size: 1.2rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .partner-logo {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 30px 15px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        min-height: 80px;
    }
}