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

body {
    background-color: #b7b7b7;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 800px;
    height: 800px;
    max-width: 95vw;
    max-height: 95vw;
    margin: auto 0;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 25px;
    font-weight: bold;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info .company-name {
    font-weight: bold;
}

.contact-info a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

.contact-info span.label {
    font-weight: normal;
}

/* Navigation Styles */
.top-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    z-index: 10;
    flex-shrink: 0;
}

.nav-button {
    padding: 10px 25px;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-button:hover {
    background-color: #555555;
    transform: translateY(-2px);
}

/* Info Page Styles */
.info-container {
    background-image: none;
    background-color: #f9f9f9;
    padding: 50px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.info-content {
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.info-content h1 {
    margin-bottom: 25px;
    color: #b73e35;
    /* Using a dark red accent to fit the brand */
}

.info-content p {
    margin-bottom: 15px;
}

/* Document List Styles */
.document-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 360px; /* Reserves space so buttons do not jump when there are fewer than 4 items */
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 13px 18px;
    border-radius: 6px;
    border-left: 5px solid #b73e35;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.doc-info {
    display: flex;
    flex-direction: column;
}

.doc-title {
    font-weight: bold;
    color: #333333;
    font-size: 16px;
    margin-bottom: 5px;
}

.doc-date {
    font-size: 13px;
    color: #777777;
}

.download-btn {
    background-color: #b73e35;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #96322b;
}

/* Pagination Styles */
.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 12px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    color: #333333;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-btn:hover:not(.disabled) {
    background-color: #f1f1f1;
    border-color: #cccccc;
}

.page-btn.active {
    background-color: #b73e35;
    color: #ffffff;
    border-color: #b73e35;
    font-weight: bold;
}

.page-btn.disabled {
    color: #aaaaaa;
    cursor: not-allowed;
    background-color: #fafafa;
}

/* Responsive Design (Mobile & Tablets) */
@media screen and (max-width: 768px) {
    .container {
        /* Reduce the square size slightly or make it fill screen width with margin */
        width: 100%;
        max-width: 95vw;
        height: 95vw; /* keep it square for index page */
    }

    .info-container {
        /* Let information wrapper flow vertically */
        max-height: none; 
        height: auto;
        min-height: 80vh;
        padding: 30px 20px 40px 20px;
    }

    .top-nav {
        gap: 10px;
        padding: 15px 10px;
    }

    .nav-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .contact-info {
        bottom: 20px;
        left: 20px;
        font-size: 13px;
        line-height: 1.4;
    }

    .contact-info p {
        margin-bottom: 15px;
    }

    .info-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .download-btn {
        width: 100%;
        text-align: center;
    }
}