* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-wrap: pretty;
}

body {
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.main-container {
    background-color: #d9e3e4;
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

header {
    text-align: center;
    padding: 1.5rem;
    border-bottom: 1px solid #ccc;
}

header img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 50%;
    border: none;
}

header h2 {
    color: #428ea8; /* Matches primary button hover color */
    font-size: 3rem; /* Slightly larger than previous h1 */
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.link-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    align-items: center;
}

.link-button {
    display: block;
    background-color: #83b9cc;
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 6px #666;
    min-height: 48px;
    width: 350px; /* Increased from 300px */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.link-button:hover {
    background-color: #428ea8;
    transform: scale(1.05);
    opacity: 0.9;
}

.secondary-button {
    display: block;
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 6px #666;
    min-height: 48px;
    width: 350px; /* Increased from 300px */
    border: 2px solid #acd2df;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #acd2df;
    transform: scale(1.05);
}

.about-contact-button {
    display: block;
    background-color: #d1e6f0;
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 6px #666;
    min-height: 48px;
    width: 350px; /* Increased from 300px */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-contact-button:hover {
    background-color: #acd2df;
    transform: scale(1.05);
}

footer {
    text-align: center;
    color: #666;
    font-size: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #ccc;
}

footer a {
    color: #83b9cc;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile (<600px) */
@media (max-width: 600px) {
    .main-container {
        padding: 1rem;
    }
    header img {
        max-width: 100px;
    }
    header h2 {
        font-size: 2.4rem; /* Adjusted for mobile */
    }
    .link-button {
        font-size: 1rem;
        padding: 0.8rem;
        width: 290px; /* Adjusted from 250px to match new proportion */
    }
    .secondary-button {
        font-size: 1rem;
        padding: 0.8rem;
        width: 290px; /* Adjusted from 250px to match new proportion */
    }
    .about-contact-button {
        font-size: 1rem;
        padding: 0.8rem;
        width: 290px; /* Adjusted from 250px to match new proportion */
    }
    footer {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* Tablet (600px–900px) */
@media (min-width: 600px) and (max-width: 900px) {
    .main-container {
        padding: 1.5rem;
    }
    header img {
        max-width: 140px;
    }
    header h2 {
        font-size: 2.7rem; /* Adjusted for tablet */
    }
    .link-button {
        font-size: 1.15rem;
        padding: 1rem;
        width: 330px; /* Adjusted from 300px to match new proportion */
    }
    .secondary-button {
        font-size: 1.15rem;
        padding: 1rem;
        width: 330px; /* Adjusted from 300px to match new proportion */
    }
    .about-contact-button {
        font-size: 1.15rem;
        padding: 1rem;
        width: 330px; /* Adjusted from 300px to match new proportion */
    }
    footer {
        font-size: 0.95rem;
    }
}

/* Desktop (>900px) */
@media (min-width: 900px) {
    .main-container {
        padding: 2rem;
    }
    header img {
        max-width: 160px;
    }
    header h2 {
        font-size: 3rem; /* Base size */
    }
    .link-button {
        font-size: 1.2rem;
        padding: 1.2rem;
        width: 350px; /* Base size */
    }
    .secondary-button {
        font-size: 1.2rem;
        padding: 1.2rem;
        width: 350px; /* Base size */
    }
    .about-contact-button {
        font-size: 1.2rem;
        padding: 1.2rem;
        width: 350px; /* Base size */
    }
    footer {
        font-size: 1rem;
        padding: 1.2rem;
    }
}
