﻿:root {
    --eco-green: #2f4f2f;
    --eco-green-soft: #e8f0e8;
    --eco-green-border: #cfd8cf;
    --text-main: #1f2d1f;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

/* =========================
   Header (layout-aware)
   ========================= */

header.site-header {
    background: #2f4f2f;
    color: white;
    padding: 8px 0;
}

    /* inner layout */
    header.site-header .header-inner {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    /* logo */
    header.site-header .brand-logo {
        width: 320px; /* ← primary control */
        max-width: 400px; /* cap it */
        height: auto;
        flex-shrink: 0;
        display: block;
    }

    /* navigation */
    header.site-header .site-nav {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

/* mobile: stack */
@media (max-width: 640px) {
    header.site-header .header-inner {
        flex-direction: column;
        align-items: center;
    }

    header.site-header .site-nav {
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    opacity: 0.85;
    display: inline-block;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.15);
        opacity: 1;
    }

    .nav-link.active {
        background-color: white;
        color: #2f4f2f;
        opacity: 1;
    }

.section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    color: #2f4f2f;
    margin-bottom: 10px;
}

/* Step 2: section heading standard */
.section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--eco-green);
}

.contact-box {
    background: #e8f0e8;
    padding: 20px;
    border-left: 5px solid #2f4f2f;
    margin-top: 20px;
}

footer {
    background: #2f4f2f;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}
.learn-more-button {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 14px;
    background: #2f4f2f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}

    .learn-more-button:hover {
        opacity: 0.9;
    }
.why-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.why-text {
    font-weight: 600;
}
/* =========================
   Contact form (Contact page)
   ========================= */

.card {
    background: #ffffff;
    border: 1px solid #d6dfd6;
    border-radius: 8px;
    padding: 18px;
    margin-top: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.form-row {
    display: block;
    margin-bottom: 14px;
}

    /* 2-column layout that collapses nicely on small screens */
    .form-row.two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

@media (max-width: 720px) {
    .form-row.two-col {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2f4f2f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 10px;
    border: 1px solid #cfd8cf;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #2f4f2f;
        box-shadow: 0 0 0 3px rgba(47, 79, 47, 0.15);
    }

/* Help text under file input */
.help {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 6px;
}

.file-label {
    display: inline-flex;
    align-items: center;
    background: #2f4f2f;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
    width: fit-content;
}

    .file-label .file-label-text {
        display: inline-block;
        line-height: 1.2;
        color: #ffffff;
    }

    .file-label:hover {
        opacity: 0.92;
    }

    /* Hide the default file input but keep it accessible */
    .file-label input[type="file"] {
        position: absolute;
        left: -9999px;
    }

/* Attachment list styling */
#attachment-list {
    padding-left: 18px;
}

    #attachment-list li {
        margin: 4px 0;
    }

/* Submit button */
#contact-submit {
    background: #2f4f2f;
    color: #fff;
    border: none;
    padding: 12px 32px; /* wider */
    min-width: 220px; /* ensures presence */
    font-size: 1.05rem; /* slight emphasis */
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
}

    #contact-submit:hover {
        opacity: 0.92;
    }

    #contact-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Center the submit button row */
.form-row:has(#contact-submit) {
    text-align: center;
}
