/* Clean, variable-driven stylesheet with dark-mode support */

:root {
    --brand: #235a8a;
    /* slightly darker blue */
    --muted: #55616b;
    /* darker muted */
    --card: #f8f9fa;
    /* subtle off-white */
    --bg: #eceff3;
    /* slightly darker page background */
    --text: #0b1220;
    /* slightly darker text */
    --muted-border: rgba(11, 18, 32, 0.06);
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* Make layout a column so footer can stick to bottom when content is short */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.container {
    flex: 1
}

/* accessibility helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.container {
    max-width: 960px;
    margin: 28px auto;
    padding: 20px
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700
}

.headshot{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,0.06)}

.services-headshot{display:flex;justify-content:center}
.services-headshot .headshot{width:200px;height:200px;border-radius:12px}

h1 {
    margin: 0;
    font-size: 1.5rem
}

.tagline {
    color: var(--muted);
    margin-top: 6px
}

/* Layout: hero uses flexbox */
.hero {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start
}

.hero>section {
    flex: 1
}

.hero>aside {
    flex: 0 0 320px
}

.card {
    background: var(--card);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06)
}

.services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.services li {
    flex: 0 0 50%;
    box-sizing: border-box;
    padding: 8px 0;
    border-bottom: 1px dashed var(--muted-border)
}

/* Collapsible service items */
/* Bootstrap accordion used for services */

.cta {
    display: flex;
    gap: 8px;
    margin-top: 12px
}

a.button {
    background: var(--brand);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600
}

a.secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--brand);
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-top: 10px
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    margin-top: 6px;
    background: transparent;
    color: var(--text)
}

footer {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center
}

/* Site footer */
.site-footer {
    background: transparent;
    padding: 18px 0;
    border-top: 1px solid rgba(11, 18, 32, 0.04)
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700
}

.footer-name {
    font-weight: 600;
    text-align: center;
    width: 100%
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center
}

.footer-socials {
    display: flex;
    gap: 10px;
    align-items: center
}

.footer-socials a {
    margin-left: 0;
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent
}

.footer-socials a svg {
    width: 20px;
    height: 20px
}

.footer-socials a:hover {
    color: var(--brand);
    background: rgba(35, 90, 138, 0.06)
}

.footer-socials a:focus {
    outline: 3px solid rgba(35, 90, 138, 0.12);
    outline-offset: 2px
}

/* Contact socials use same .social-link sizing but larger icons and optional label */
.contact-socials {
    display: flex;
    gap: 12px;
    align-items: center
}

.contact-socials .follow-label {
    font-weight: 600;
    color: var(--muted);
    font-size: 0.95rem;
    margin-right: 6px
}

.contact-socials .social-link {
    width: 48px;
    height: 48px;
    border-radius: 10px
}

.contact-socials .social-link svg {
    width: 100%;
    height: 100%;
    display: block
}

.contact-socials .social-link:hover {
    background: rgba(35, 90, 138, 0.06);
    color: var(--brand)
}

.contact-socials .social-link:focus {
    outline: 3px solid rgba(35, 90, 138, 0.12);
    outline-offset: 3px
}

/* center copyright on wider screens */
@media(min-width:800px) {
    .footer-inner {
        justify-content: center
    }

    .footer-left {
        flex-direction: column;
        align-items: center
    }

    .footer-right {
        position: absolute;
        right: 20px
    }
}

@media(max-width:800px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start
    }
}

/* Theme toggle button */
.theme-toggle {
    display: none
}

@media (max-width:800px) {
    .hero {
        flex-direction: column
    }

    .logo {
        width: 48px;
        height: 48px
    }

    .services li {
        flex: 0 0 100%
    }

    .hero>aside {
        flex: 0 0 auto
    }
}

/* Remove Bootstrap accordion highlight when opened */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
    color: var(--text);
}

/* keep strong focus outline for keyboard users */
.accordion-button:focus {
    outline: 3px solid rgba(35, 90, 138, 0.12);
    outline-offset: 2px;
}