/* Colours taken from the original MinaCert home page */
:root {
    --prim: #2e5366;
    --seco: #6e8898;
    --tert: #9fb1bd;
    --quad: #d3d0cb;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    background-color: var(--seco);
}

.page-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--seco);
}

.logo {
    width: 300px;
    max-width: 70vw;
    height: auto;
}

h1 {
    margin: 10px 0 0;
    font-size: 3rem;
    font-weight: bold;
}

h2 {
    margin: 10px 0 20px;
    font-size: 1.8rem;
    font-weight: 300;
}

.lead {
    max-width: 620px;
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.6;
}

.lead.en {
    font-size: 0.95rem;
    opacity: 0.8;
}

.contact {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.contact-title {
    flex-basis: 100%;
    margin: 0 0 4px;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.btn:hover,
.btn:focus {
    background-color: #fff;
    color: var(--prim);
}

.footer {
    padding: 18px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--prim);
    background-color: #fff;
}

@media (max-width: 768px) {
    .logo {
        width: 200px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}
