body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;       /* Base font size */
    line-height: 1.6;      /* Space between lines for readability */
    margin: 0;
    color: #111;           /* Dark text for better contrast */
    background-color: #fff; /* Optional: white background for clarity */
}

header {
    background-color: #1f2933;
    color: white;
    padding: 2rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

section {
    margin-bottom: 4rem;
}

main p {
    margin-bottom: 1.5rem;
}

nav a {
    color: white;
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: color 0.3s;
}

/* Hover underline animation */
nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #9095af; /* updated silver/blue accent */
    transition: width 0.3s;
    position: absolute;
    bottom: -4px;
    left: 0;
}

nav a:hover::after {
    width: 100%;
}

/* Active page highlight */
nav a.active {
    color: #9095af; /* updated silver/blue active link */
}

.site-logo {
    margin: 0;
}

.site-logo img {
    width: auto;
    max-width: 360px; /* desktop logo size */
    height: auto;
    display: block;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    font-size: 2.5rem;   /* Large, prominent page title */
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb; /* light grey line */
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}


h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h1, h2, h3 {
    line-height: 1.2;    /* Slightly tighter to visually separate headings from paragraphs */
}

section {
    margin-bottom: 3rem;
}

/* Responsive logo for all devices */
header .site-logo img {
    width: auto;         /* allow the image to scale */
    max-width: 360px;    /* cap its size on large screens */
    height: auto;        /* maintain aspect ratio */
    display: block;      /* remove inline spacing issues */
    margin: 0 auto;      /* center the logo */
    object-fit: contain; /* ensures it doesn’t distort */
}

/* Tablet screens (optional tweak) */
/* Header & nav responsive tweaks */
@media (max-width: 768px) {
    .header-inner {
        max-width: 1200px; /* KEEP layout width */
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    header .site-logo img {
        max-width: 260px; /* logo size belongs here */
    }

    nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    nav a {
        margin: 0.25rem 0;
    }
}


/* Optional: very small phones (< 480px) */
@media (max-width: 480px) {
    header .site-logo img {
        max-width: 180px;
    }
}

form {
    max-width: 600px;
    margin-top: 2rem;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

form button {
    background-color: #1f2933;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #374151;
}