:root {
    --berting-blue: #002987;
    --berting-red: #FF0000;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;  /* Reduced from 2rem for mobile */
}

.container {
    max-width: 680px;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 120px;  /* Reduced from 100px for mobile */
    height: 120px;  /* Reduced from 100px for mobile */
    margin-bottom: 1rem;
    border-radius: 50%;
    object-fit: cover;  /* Ensures the image covers the area properly */
}

.title {
    color: var(--berting-blue);
    font-size: 1.25rem;  /* Slightly smaller on mobile */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subtitle {
    color: #666;
    font-size: 0.875rem;  /* Smaller on mobile */
    margin-bottom: 1.5rem;  /* Reduced from 2rem */
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;  /* Reduced from 1rem for tighter mobile layout */
    padding: 0 0.5rem;  /* Reduced side padding */
    width: 100%;
}

.link {
    background-color: white;
    color: var(--berting-blue);
    padding: 0.875rem 1rem;  /* Slightly reduced padding */
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;  /* Center text */
    transition: all 0.2s ease;
    border: 2px solid var(--berting-blue);
    font-weight: 500;
    text-align: center;
}

.link:hover {
    transform: translateY(-2px);
    background-color: var(--berting-blue);
    color: white;
}

.link:active {
    transform: translateY(0);  /* Remove lift effect when pressed */
}

.link span {
    flex-grow: 1;
    text-align: center;  /* Center text */
}

.logo-link, .title-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.title-link:hover .title {
    color: var(--berting-red);
}

/* Add these CSS rules */
.footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 41, 135, 0.1); /* Using berting-blue with opacity */
    text-align: center;
    width: 100%;
}

.footer-content {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.5;
}

.address, .contact {
    margin-top: 0.25rem;
}

/* Media Queries for larger screens */
@media (min-width: 480px) {
    body {
        padding: 2rem 1rem;
    }

    .logo {
        width: 240px;
        height: 240px;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .links {
        gap: 1rem;
        padding: 0 1rem;
    }

    .link {
        padding: 1rem;
    }

    .footer {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    .footer-content {
        font-size: 0.875rem;
    }
}