/* partners.css */
.partners-section {
    background-color: #f5f5f7;
    padding-top: 120px;
    padding-bottom: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.partners-title {
    color: #2E2E2E;
    text-align: center;
    font-family: Pretendard;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 58.8px */
    letter-spacing: -0.84px;
    margin: 0;
}

.partners-title .highlight {
    color: var(--sub-70, #006DFE);
    font-family: Pretendard;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.84px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-412px * 5)); /* (card width + gap) * number of logos */
    }
}

.partner-logos {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.logo-track {
    padding-top: 20px;
    width: 100%;
    display: flex;
    gap: 27px;
    width: calc(412px * 10); /* (card width + gap) * number of logos * 2 */
    animation: scroll 40s linear infinite;
    position: relative;
    padding-bottom: 20px;
}

.partner-logo-card {
    min-width: 365px;
    height: 180px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.partner-logo-card img {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    object-fit: contain;
}

.apply-button {
    background-color: var(--sub-70, #006DFE);
    color: #ffffff;
    font-family: Pretendard;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 44.8px */
    letter-spacing: -0.64px;
    border: none;
    border-radius: 50px;
    padding: 20px 10px;
    width: 360px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 0px 16px 0px rgba(102, 102, 102, 0.3);
    text-decoration: none;
    display: inline-block;
}
