/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

a { color: #004080; }
a:hover { color: #c45200; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin-left: 2rem; margin-bottom: 1rem; }
li { margin-bottom: 0.25rem; }

.bg-light { background-color: #f5f5f5; }

/* === Typography === */
h1, h2, h3 { color: #004080; line-height: 1.3; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: #555; }

.text-link {
    color: #c45200;
    font-weight: bold;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* === Layout === */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

section { padding: 5rem 2rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 { color: #004080; }
.section-title p { color: #666; }

/* === Navigation === */
nav {
    background-color: #004080;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}
.logo:hover { color: white; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover { color: #c45200; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 220px;
    padding: 0.5rem 0;
    margin-top: 0.75rem;
    z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    font-size: 0.9rem;
}
.nav-dropdown-menu a:hover {
    background: #f5f5f5;
    color: #c45200;
}

.nav-cta {
    background-color: #c45200;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background-color 0.3s;
}
.nav-cta:hover { background-color: #a34400; color: white; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: transform 0.3s;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #004080 0%, #002e5d 50%, #001a3a 100%);
    min-height: 65vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero .lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* === CTA Button === */
.cta-button {
    display: inline-block;
    background-color: #c45200;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #a34400;
    color: white;
}

/* === CTA Section === */
.cta-section {
    text-align: center;
    max-width: 700px;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; color: #555; font-size: 1.1rem; }

/* === Approach === */
.approach-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.approach-item {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.approach-item h3 { color: #004080; }

/* === Services Grid === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.service-icon {
    color: #c45200;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    color: #004080;
    margin: 1rem 0 0.5rem;
}
.service-card p { color: #555; font-size: 0.95rem; margin-bottom: 0; }

/* === Process Steps === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #004080;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.process-step h3 { color: #004080; }
.process-step p { color: #555; font-size: 0.95rem; }

/* === About / Founder === */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-image { flex: 1; min-width: 250px; max-width: 400px; }
.about-image img { border-radius: 8px; }
.about-text { flex: 2; min-width: 300px; }

/* === Stewardship === */
.stewardship-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f5f5f5;
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-list dt {
    font-weight: bold;
    color: #004080;
    font-size: 1.1rem;
    padding: 1.25rem 0 0.5rem;
    border-top: 1px solid #e0e0e0;
    cursor: default;
}
.faq-list dt:first-child { border-top: none; }

.faq-list dd {
    padding-bottom: 1.25rem;
    color: #555;
    line-height: 1.7;
}

/* === Contact Form === */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info { flex: 1; min-width: 280px; }
.contact-info h3 { margin-bottom: 1rem; }

.contact-form { flex: 2; min-width: 300px; }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}
.form-group .optional {
    font-weight: normal;
    color: #888;
    font-size: 0.85rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 2px solid #004080;
    outline-offset: 1px;
    border-color: #004080;
}
.form-group textarea { height: 150px; resize: vertical; }

.form-error {
    color: #c00;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.submit-button {
    background-color: #c45200;
    color: white;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s;
}
.submit-button:hover { background-color: #a34400; }
.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.honeypot { position: absolute; left: -9999px; }

/* === Thank You === */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}
.thank-you-content { max-width: 600px; margin: 0 auto; }
.thank-you-content h1 { margin-bottom: 1.5rem; }
.thank-you-content p { color: #555; font-size: 1.1rem; }

/* === 404 === */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}
.error-content { max-width: 600px; margin: 0 auto; }
.error-content h1 { font-size: 3rem; margin-bottom: 1rem; }
.error-content p { color: #555; font-size: 1.1rem; margin-bottom: 1.5rem; }
.error-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === Breadcrumbs === */
.breadcrumbs {
    padding: 1rem 2rem;
    padding-top: calc(60px + 1rem);
    font-size: 0.85rem;
    color: #888;
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumbs a { color: #004080; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; }

/* === Footer === */
footer {
    background-color: #004080;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content { max-width: 1200px; margin: 0 auto; }

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand { flex: 1; min-width: 250px; }
.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.footer-brand p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer-contact a { color: #c45200; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    flex: 2;
}

.footer-col { min-width: 150px; }
.footer-heading {
    font-weight: bold;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer-bottom a:hover { color: white; }

/* === Utility === */
:focus-visible {
    outline: 2px solid #c45200;
    outline-offset: 2px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #004080;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    .nav-links.nav-open { display: flex; }
    .nav-links a { padding: 0.75rem 1rem; }
    .nav-cta { display: none; }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.15);
        margin-top: 0;
        border-radius: 0;
    }
    .nav-dropdown-menu a { color: rgba(255,255,255,0.9); padding-left: 2rem; }
    .nav-dropdown-menu a:hover { background: rgba(0,0,0,0.1); color: white; }
    .nav-dropdown .nav-dropdown-menu { display: block; }

    .hero h1 { font-size: 1.8rem; }
    .hero .lead { font-size: 1rem; }
    section { padding: 3rem 1rem; }
    h2 { font-size: 1.5rem; }

    .about-content { flex-direction: column; }
    .about-image { max-width: 100%; }

    .footer-main { flex-direction: column; gap: 2rem; }
    .footer-nav { gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media print {
    nav, .nav-toggle, .cta-button, .nav-cta, footer script { display: none; }
    .hero { min-height: auto; padding: 2rem; }
    section { padding: 1.5rem 0; }
    a { color: #333; }
    body { font-size: 11pt; }
}
