* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Optimal size for 1080x1920 display */
@media (width: 1080px) and (height: 1920px) {
    body {
        width: 1080px;
        height: 1920px;
    }
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1920px;
    justify-content: space-between;
}

.logo-container {
    text-align: center;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
}

.logo {
    max-width: min(300px, 60vw);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(1.2);
}

header {
    text-align: center;
    margin-bottom: 80px;
    padding-top: 40px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 2px;
}

.companies {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin: 80px 0;
    width: 100%;
    max-width: 1000px;
    align-self: center;
}

.company {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 2rem);
    transition: background-color 0.3s ease;
    word-wrap: break-word;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width: 100%;
}

.company:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* For landscape orientations */
@media (orientation: landscape) {
    .companies {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }
}
