body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fdfdfd;
}
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 1rem;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}
header p {
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 300;
}
nav {
    background-color: #34495e;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
nav a:hover {
    color: #3498db;
}
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
section {
    margin-bottom: 3rem;
}
h2 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    color: #2c3e50;
    margin-top: 0;
}
h3 {
    color: #2c3e50;
}
ul, ol {
    padding-left: 20px;
}
li {
    margin-bottom: 0.5rem;
}
.highlight-box {
    background-color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #3498db;
    margin-bottom: 2rem;
}
.toc {
    background-color: #ecf0f1;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}
.toc a {
    color: #2c3e50;
    text-decoration: none;
}
.toc a:hover {
    color: #3498db;
    text-decoration: underline;
}
.note {
    font-style: italic;
    color: #555;
    border-left: 3px solid #bdc3c7;
    padding-left: 1rem;
    margin-top: 1rem;
}
.acceptance-box {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}
.acceptance-box p {
    margin: 0;
}
.acceptance-form {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.acceptance-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.acceptance-form label {
    font-size: 0.95rem;
}
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}
.contact-info {
    font-weight: bold;
    color: #ecf0f1;
}
    

a {
    color: #2980b9;
}
nav a:focus-visible,
a:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}
footer a {
    color: #3498db;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.footer-links {
    margin-top: 1rem;
}
.footer-links a {
    margin: 0 0.5rem;
}
.footer-small {
    margin-top: 20px;
    font-size: 0.8rem;
}

/* Projects */
.project-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid #dfe4e8;
    border-radius: 8px;
    overflow: hidden;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-card-body {
    padding: 1.25rem 1.5rem 1.5rem 0;
}
.project-card-body h3 {
    margin-top: 0;
}
.project-figures {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}
.project-figures li {
    margin: 0;
}
.project-figures strong {
    display: block;
    font-size: 1.6rem;
    color: #3498db;
    line-height: 1.1;
}
.button {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin: 0.25rem 0.5rem 0.25rem 0;
}
.button:hover {
    background: #2980b9;
}
.button-secondary {
    background: transparent;
    color: #2c3e50;
    border: 1px solid #2c3e50;
}
.button-secondary:hover {
    background: #2c3e50;
    color: #fff;
}
.pending {
    background: #fff3cd;
    padding: 0 0.25rem;
}

nav a.nav-cta {
    background: #3498db;
    padding: 0.15rem 0.75rem;
    border-radius: 4px;
}
nav a.nav-cta:hover {
    background: #2980b9;
    color: #fff;
}

/* Membership page */
.benefits li {
    margin-bottom: 0.75rem;
}
.fee-card {
    display: inline-block;
    background: #fff;
    border: 1px solid #dfe4e8;
    border-top: 4px solid #3498db;
    border-radius: 8px;
    padding: 1.25rem 2rem;
    text-align: center;
}
.fee-amount {
    display: block;
    font-size: 2.6rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.1;
}
.fee-period {
    color: #7f8c8d;
}
.fee-card p {
    margin: 0.75rem 0 0;
}
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 1.25rem 3rem;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #3498db;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps li strong {
    display: block;
}

@media (max-width: 640px) {
    header {
        padding: 2rem 1rem;
    }
    /* On phones the menu wraps to several lines: keep it in the page flow instead of stuck on top */
    nav {
        position: static;
    }
    header h1 {
        font-size: 2rem;
    }
    .project-card {
        grid-template-columns: 1fr;
    }
    .project-card img {
        height: 180px;
    }
    .project-card-body {
        padding: 0 1.25rem 1.25rem;
    }
}

