/* Partner Page Styles */
.partner-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.80), transparent 30%),
        radial-gradient(circle at 16% 82%, rgba(224, 242, 254, 0.60), transparent 30%),
        linear-gradient(125deg, #e0f2fe 0%, #f0fdf4 50%, #faf5ff 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.24;
}

.partner-hero::after {
    content: '';
    position: absolute;
    right: -180px;
    top: -180px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 90px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.partner-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.partner-hero-text {
    flex: 1;
    text-align: left;
}

.partner-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0f172a;
    text-shadow: none;
}

.partner-hero-description {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 30px;
}

.partner-hero-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.partner-hero-features li {
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.partner-hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #0ea5e9;
}

.partner-hero-features li::before {
    content: '\2713';
}

.partner-hero-button {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.partner-hero-button:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #4f46e5);
    box-shadow: 0 14px 32px rgba(99, 102, 241, 0.35);
}

.partner-hero-image {
    flex: 1;
    max-width: 500px;
}

.partner-hero-image img {
    width: 100%;
    height: auto;
}

.partner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.partner-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.partner-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
}

.partner-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.partner-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.partner-section {
    margin-bottom: 60px;
}

.partner-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.partner-card {
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    min-height: 100px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f3f4f6;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-logo {
    max-width: 100%;
    /*max-height: 50px;*/
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partner-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .partner-hero-text {
        text-align: center;
    }

    .partner-hero h1 {
        font-size: 32px;
    }

    .partner-hero-features li {
        text-align: left;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .partner-card {
        padding: 20px 10px;
        min-height: 80px;
    }

    .partner-logo {
        max-height: 40px;
    }

    .partner-tabs {
        gap: 10px;
    }

    .partner-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
}
