:root {
    --primary-color: #082E42;
    --secondary-color: #1d3557;
    --accent-color: #e13c32;
    --background-color: #ffffff;
    --footer-color: #082E42;
    --text-color: black;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

header img {
    height: 50px; /* Reduced for smaller screens */
    margin-bottom: 10px; /* Added spacing below logo */
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

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

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px;
}

main h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

main p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

p {
    padding: 10px; /* This applies to all <p> elements */
}

footer {
    background-color: var(--footer-color);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.cta {
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    background-color: var(--accent-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
}

.cta:hover {
    background-color: var(--primary-color);
}


@media (max-width: 480px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0px 0px;
    }
    
    header img {
        height: 100px; /* Reduced for smaller screens */
        margin-bottom: 0px;
}

    header h1 {
        width: 100%;
        margin: 5px;
    }
    
    main {
    padding: 15px;
    text-align: justify;
    }

    nav {
        display: flex;
        gap: 20px;
        justify-content: center;
    }
}