.partners-section {
    padding: 4rem 0 0 0;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

.partners-section .container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.partners-section .floating-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    width: 100%;
}

.partner-item {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.partner-logo {
    width: auto;
    max-width: 140px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

/* AngelSpan specific size adjustment */
img[alt="AngelSpan"] {
    max-width: 112px; /* 140px * 0.8 = 112px */
}

.partner-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 3rem;
        padding: 1.5rem;
    }
    
    .partner-item {
        padding: 1rem;
    }
    
    .partner-logo {
        max-width: 120px;
    }
    
    img[alt="AngelSpan"] {
        max-width: 96px; /* 120px * 0.8 = 96px */
    }
}

@media (max-width: 480px) {
    .partners-grid {
        gap: 2rem;
        padding: 1rem;
    }
    
    .partner-logo {
        max-width: 100px;
    }
    
    img[alt="AngelSpan"] {
        max-width: 80px; /* 100px * 0.8 = 80px */
    }
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

/* Let's also log any transforms in the console */ 

.republic-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .republic-logo {
        max-height: 90px;
    }
}

@supports (-webkit-touch-callout: none) {
    /* iOS-specific fix */
    .republic-logo {
        transform: rotate(-90deg) !important;
        -webkit-transform: rotate(-90deg) !important;
    }
} 