.partners-section {
    padding: 10px 0 30px;
    position: relative;
    overflow: hidden;
}

.partners-heading {
    text-align: center;
    margin-bottom: 25px;
}

.partners-title {
    font-size: 3rem;
        margin-bottom: 1rem;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        background: linear-gradient(to bottom, #ffffff, #e5e7eb);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: 
            2px 2px 2px rgba(0,0,0,0.2),
            -1px -1px 1px rgba(255,255,255,0.1),
            0 4px 8px rgba(255, 255, 255, 0.15);
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
        position: relative;
}

.partners-subtitle {
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    background: linear-gradient(to right, #00a796, #00c7b3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partner-card {
    flex: 1;
    width: 400px;
    height: 500px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.partner-card:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 167, 150, 0.65) 0%,
        rgba(0, 167, 150, 0.6) 15%,
        rgba(0, 147, 128, 0.55) 25%,
        rgba(0, 133, 115, 0.5) 35%,
        rgba(0, 122, 104, 0.45) 40%,
        rgba(0, 107, 89, 0.4) 50%,
        rgba(0, 82, 71, 0.35) 60%,
        rgba(0, 60, 54, 0.3) 65%,
        rgba(0, 40, 36, 0.25) 70%,
        rgba(0, 20, 18, 0.2) 75%,
        rgba(0, 0, 0, 0.3) 85%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.partner-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.partner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.partner-name {
    font-size: 26px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.partner-role {
    font-size: 17px;
    font-family: 'Inter', sans-serif;
    color: #00c7b3;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 3;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.partner-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 992px) {
    .partners-grid {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .partner-card {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 480px;
        margin-bottom: 30px;
    }

    .partner-card::before {
        opacity: 0.9;
    }

    .partner-image {
        width: 220px;
        height: 220px;
        top: 40px;
    }

    .partner-info {
        padding: 25px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 30px 0;
    }

    .partners-title {
        font-size: 36px;
    }

    .partners-subtitle {
        font-size: 20px;
    }
    
    .partners-grid {
        padding: 0 10px;
    }
    
    .partner-card {
        height: auto;
        min-height: 200px;
        margin-bottom: 20px;
    }

    .partner-image {
        width: 180px;
        height: 180px;
        top: 30px;
        position: relative;
        margin: 30px auto;
        left: auto;
        transform: none;
    }

    .partner-info {
        position: relative;
        padding: 20px;
        bottom: auto;
        background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
    }

    .partner-name {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .partner-role {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .partner-description {
        font-size: 13px;
        line-height: 1.4;
    }
}