/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f5f7f4;
    color: #333;
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

a {
    color: #007a7a;
}

a:hover {
    color: #005f5f;
}

/* ===== TOP NAV ===== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #005f5f 0%, #007a7a 60%, #2e7a4a 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

.nav-brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* ===== HERO (homepage only) ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #00504a 0%, #006b5e 40%, #1e6b3a 100%);
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 44px 28px 40px;
}

.hero-content h1 {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 720px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    border-bottom: none;
    text-align: left;
    padding-bottom: 0;
    margin: 0 0 10px 0;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    max-width: 580px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    margin: 0;
}

/* ===== PAGE WRAPPER ===== */
.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 28px 24px;
}

/* ===== HEADINGS ===== */
h1 {
    color: #007a7a;
    font-size: 1.8rem;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #c8e6c9;
}

h2 {
    color: #005f5f;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c8e6c9;
}

h2.section-spaced {
    margin-top: 44px;
}

/* ===== CONTENT CARD ===== */
.content-card {
    background: #fff;
    border-radius: 8px;
    padding: 22px 26px;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
    border-left: 4px solid #007a7a;
}

/* ===== ORGANIZATION BLOCK ===== */
.organization {
    background-color: #fff;
    border-radius: 8px;
    padding: 22px 26px;
    margin: 16px 0 20px;
    border-left: 4px solid #2e8b57;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
}

.organization h2 {
    border-bottom: none;
    margin-top: 20px;
}

.organization h3 {
    margin-top: 0;
    color: #333;
}

/* ===== ORG BUTTON GRID ===== */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 4px 0 24px;
}

.org-button {
    background-color: #fff;
    color: #005f5f;
    border: 2px solid #b2d8c8;
    border-radius: 8px;
    padding: 18px 14px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    width: 195px;
}

.org-button:hover {
    background-color: #005f5f;
    color: #fff;
    border-color: #005f5f;
    box-shadow: 0 4px 12px rgba(0, 95, 95, 0.22);
    transform: translateY(-2px);
}

/* ===== BACK LINK ===== */
.back-link {
    display: inline-block;
    margin-bottom: 22px;
    padding: 7px 14px;
    background-color: transparent;
    color: #007a7a;
    text-decoration: none;
    border: 1px solid #b2d8c8;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s;
}

.back-link:hover {
    background-color: #007a7a;
    color: #fff;
    border-color: #007a7a;
}

/* ===== BOTTOM BUTTONS (org detail pages) ===== */
.bottom-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 28px 0 8px;
    flex-wrap: wrap;
}

.bottom-button {
    background-color: #007a7a;
    color: white;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    font-size: 0.97rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 180px;
}

.bottom-button:hover {
    background-color: #005f5f;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 95, 95, 0.22);
    transform: translateY(-2px);
}

/* ===== (MORE)/(LESS) TOGGLES ===== */
.hidden-text {
    display: none;
}

.more-link {
    color: #007a7a;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
}

.more-link:hover {
    color: #005f5f;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #005f5f 0%, #007a7a 60%, #2e7a4a 100%);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 52px;
    padding: 36px 28px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-tagline {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 290px;
    line-height: 1.4;
}

.footer-nav-block {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
}

.footer-nav-block a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-nav-block a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

