/* --- FONT & GLOBAL STYLES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;900&display=swap');

body {
    background-color: #FFFFFF;
    font-family: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
    color: #060507;
}

*:focus-visible {
    outline: 2px solid rgba(6, 5, 7, 0.35);
    outline-offset: 2px;
}

/* --- LAYOUT CONTAINER --- */
.page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    /* Mobile padding */
}

/* --- PAGE TITLE --- */
h1 {
    text-align: center;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #060507;
    margin-top: 40px;
    margin-bottom: 56px;
}

/* --- PARTNERS GRID --- */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile */
    gap: 24px;
    /* Mobile */
    margin-bottom: 40px;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* --- PARTNER TILE --- */
.partner-tile {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: 24px;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.partner-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.partner-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 28px;
}

/* --- TILE BACKGROUNDS --- */
.tile-spark {
    background-color: #0D3EA3;
}

.tile-pixelup {
    background-color: #2F2F2F;
}

.tile-tedx {
    background-color: #ED2224;
}

.tile-aws {
    background-color: #2B3340;
}

.tile-giz {
    background-color: #D62626;
}

.tile-impact {
    background-color: #3C6FA3;
}

/* --- LOAD MORE BUTTON --- */
.load-more {
    display: block;
    margin: 0 auto;
    height: 44px;
    padding: 0 28px;
    border-radius: 9999px;
    background-color: transparent;
    border: 1.5px solid rgba(6, 5, 7, 0.12);
    color: #060507;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- FOOTER --- */
footer {
    text-align: left;
    padding: 24px;
    max-width: 1240px;
    margin: 40px auto 0;
}

footer p {
    font-size: 12px;
    color: #5D5257;
}

/* --- TABLET STYLES --- */
@media (min-width: 768px) {
    .page-container {
        padding: 0 40px;
    }

    h1 {
        font-size: 56px;
        margin-bottom: 40px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    footer {
        padding: 24px 40px;
    }
}

/* --- DESKTOP STYLES --- */
@media (min-width: 1024px) {
    .page-container {
        padding: 0 64px;
    }

    h1 {
        font-size: 72px;
        margin-bottom: 56px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .partner-tile {
        min-width: 340px;
    }

    footer {
        padding: 24px 64px;
    }
}