/* --- Headings and Text --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

p {
    margin-bottom: 1em;
}

/* --- Header Section --- */
header {
    text-align: center;
    margin-bottom: 2em;
}

header h1 {
    margin-bottom: 0.2em;
}

header p {
    font-size: 1.1em;
    color: var(--text-light);
}

/* --- Buttons --- */
.button,
.secondary-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px var(--shadow-light);
    min-width: 200px;
    max-width: 100%;
}

.button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.button:active,
.secondary-button:active {
    transform: translateY(0);
}

.button {
    background-color: var(--primary-blue);
    color: white;
}

.button:hover {
    background-color: var(--primary-blue-dark);
}

.secondary-button {
    background-color: var(--secondary-grey);
    color: var(--text-dark);
}

.secondary-button:hover {
    background-color: var(--secondary-grey-dark);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}

@media (min-width: 600px) {
    .button-group {
        flex-direction: row;
        justify-content: center;
    }
}

/* --- Lists --- */
ul {
    padding-left: 20px;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2em 0;
    font-size: 0.9em;
    color: var(--text-light);
}

hr {
    border: none;
    border-top: 1px solid var(--secondary-grey);
    margin: 2em 0;
}

.footer-links {
    margin-bottom: 1em;
}

.footer-links a {
    color: var(--primary-blue);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue-dark);
}