.partners-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.partners-hero {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
}

.hero-image-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.partners-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #000;
    margin-top: 20px;
}

.handshake {
    font-size: 64px;
}

.partners-title .highlight {
    font-weight: 800;
    font-size: 64px;
    color: #5836FF;
    text-transform: uppercase;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.partner-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.partner-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
}

.partner-name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    text-transform: uppercase;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.partner-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.partner-desc a {
    color: #5836FF;
    text-decoration: none;
    font-weight: 600;
}

.partner-desc a:hover {
    text-decoration: underline;
}

.visit-app-btn {
    display: block;
    padding: 12px;
    background: linear-gradient(90deg, #5836FF 0%, #8C15E9 100%);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.2s ease;
    width: 135px;
    align-self: flex-end;
}

.visit-app-btn:hover {
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partners-title {
        font-size: 32px;
    }

    .handshake {
        font-size: 32px;
    }

    .partners-title .highlight {
        font-size: 32px;
    }
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 40px;
    gap: 8px;
    margin-bottom: 40px;
    width: 100%;
}

.pagination-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #E5E5E5;
    background-color: #fff;
}

.pagination-link:hover:not(.disabled):not(.active) {
    background-color: #f9f9f9;
    border-color: #d0d0d0;
}

.pagination-link.active {
    background: #fff;
    border: 1px solid #5836FF;
    color: #5836FF;
    box-shadow: none;
    pointer-events: none;
    cursor: default;
}

.pagination-link.disabled {
    color: #fff;
    background-color: #D9D9D9;
    border-color: #D9D9D9;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-link.disabled svg {
    stroke: #fff;
}

.next-arrow {
    color: #ccc;
}

.next-arrow svg {
    stroke: #ccc;
}

.pagination-link:not(.disabled) svg {
    stroke: #ccc;
}