:root {
    --navy: #0d1b5e;
    --blue: #1a1a6e;
    --light-blue: #5b7fd4;
    --pale-blue: #eef2fb;
    --grey: #5a6270;
    --light-grey: #e8ecf3;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Georgia", "Times New Roman", serif;
    line-height: 1.7;
    color: var(--grey);
    background: var(--white);
    font-size: 17px;
}

/* ---------- Header ---------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 3rem;
    background: var(--white);
    border-bottom: 3px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 56px;
}

/* ---------- Brand (Logo + Name) ---------- */
.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--navy);
    border-bottom: none;
}

.brand:hover,
.brand:focus,
.brand:visited {
    text-decoration: none;
    border-bottom: none;
}

.brand-name {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--navy);
    line-height: 1;
}

.brand:hover .brand-name {
    color: var(--light-blue);
    transition: color 0.25s;
}

nav a {
    margin-left: 2.5rem;
    text-decoration: none;
    color: var(--navy);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--light-blue);
}

/* ---------- Main ---------- */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 6rem 1rem 5rem;
    background: var(--pale-blue);
    margin: 0 -2rem 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3rem;
    color: var(--navy);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.2rem;
    color: var(--grey);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.8;
}

.button {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 3px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: background 0.25s;
}

.button:hover {
    background: var(--light-blue);
}

/* ---------- Section Headings ---------- */
.services-preview h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.services-preview h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--light-blue);
    margin: 1rem auto 0;
}

/* ---------- Service Cards ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.service-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-top: 3px solid var(--navy);
    border-radius: 4px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(13, 27, 94, 0.08);
    transform: translateY(-3px);
}

.service-card h3 {
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-card p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--grey);
}

/* ---------- Footer ---------- */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--navy);
    color: #c8d2e8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    line-height: 2;
}

footer a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

footer a:hover {
    border-bottom-color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    header {
        flex-direction: column;
        padding: 1.2rem 1rem;
        gap: 1rem;
    }

    nav a {
        margin: 0 0.8rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 4rem 1.5rem 3rem;
        margin: 0 -2rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }
}
/* ---------- Job Form ---------- */
.job-form {
    max-width: 640px;
    margin: 0 auto 5rem;
}

.job-form h2 {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.job-form h2:first-of-type {
    margin-top: 0;
}

.job-form label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
    margin-top: 1.25rem;
}

.job-form input[type="text"],
.job-form input[type="email"],
.job-form input[type="tel"],
.job-form input[type="date"],
.job-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-grey);
    border-radius: 3px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    color: var(--grey);
    background: var(--white);
    transition: border-color 0.2s;
}

.job-form input:focus,
.job-form textarea:focus {
    outline: none;
    border-color: var(--light-blue);
}

.job-form textarea {
    resize: vertical;
    line-height: 1.6;
}

.job-form .button {
    margin-top: 2rem;
    border: none;
    cursor: pointer;
}

/* Honeypot field - hidden from humans */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}
/* ---------- Select Dropdowns ---------- */
.job-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-grey);
    border-radius: 3px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    color: var(--grey);
    background: var(--white);
    transition: border-color 0.2s;
    cursor: pointer;
}

.job-form select:focus {
    outline: none;
    border-color: var(--light-blue);
}