/* ============================================
   BDORI — Clean Standalone CSS
   No WordPress, no Thrive, no WooCommerce.
   ============================================ */

/* --- Variables --- */
:root {
    --color-primary: #2f64c9;
    --color-primary-dark: #1e3a8a;
    --color-primary-light: #e8eef8;
    --color-text: #1a1a1a;
    --color-text-light: #555;
    --color-text-muted: #777;
    --color-bg: #fff;
    --color-bg-light: #f7f8fa;
    --color-bg-warm: #fafaf8;
    --color-border: #e5e5e5;
    --color-success: #16a34a;
    --color-error: #b91c1c;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: var(--font-body);
    --max-width: 1100px;
    --max-width-narrow: 720px;
    --radius: 6px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.10);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.content-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

/* --- Header --- */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--color-text);
    text-decoration: none;
}
.site-logo strong {
    font-size: 1.25rem;
    letter-spacing: 1px;
}
.site-logo span {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: none;
}
@media (min-width: 768px) {
    .site-logo span { display: inline; }
}
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
}
.site-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
}
.site-nav a:hover,
.site-nav a.active {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    position: absolute;
    left: 0;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 767px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
        padding: 12px 0;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; padding: 0 16px; }
    .site-nav a { padding: 10px 14px; }
}

/* --- Hero --- */
.hero {
    background: var(--color-primary);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-tagline {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 12px;
}
.hero-sub {
    font-size: 1rem;
    opacity: 0.75;
    font-style: italic;
}
@media (min-width: 768px) {
    .hero { padding: 100px 0; }
    .hero h1 { font-size: 2.8rem; }
}

/* --- Page Header --- */
.page-header {
    background: var(--color-bg-light);
    padding: 48px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* --- Content Sections --- */
.content-section {
    padding: 48px 0;
}
.content-section h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    color: var(--color-text);
}
.content-section h2:first-child {
    margin-top: 0;
}
.content-section p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

/* --- Pillar Grid --- */
.pillars {
    padding: 64px 0;
    background: var(--color-bg-light);
}
.pillars h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 40px;
}
.pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}
@media (min-width: 768px) {
    .pillar-grid { grid-template-columns: repeat(3, 1fr); }
}
.pillar-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
}
.pillar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}
.pillar-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* --- CTA Band --- */
.cta-band {
    background: var(--color-bg-light);
    padding: 48px 0;
    text-align: center;
}
.cta-band h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.cta-band p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* --- CTA Block (inline) --- */
.cta-block {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}
.cta-block h3 {
    margin-bottom: 12px;
}
.cta-block p {
    margin-bottom: 16px;
}

/* --- Stats --- */
.stat-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 32px 0;
}
.stat-card {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 32px 48px;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --- Testimonial --- */
.testimonial {
    border-left: 3px solid var(--color-primary);
    padding: 20px 24px;
    margin: 32px 0;
    background: var(--color-bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.testimonial blockquote p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 8px;
}
.testimonial cite {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: normal;
}

/* --- Value callout --- */
.value-callout {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-align: center;
    padding: 16px 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    text-decoration: none;
    line-height: 1.4;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}
.btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

/* --- Forms --- */
.site-form {
    max-width: 100%;
    margin: 24px 0;
}
.form-field {
    display: block;
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-label .optional {
    font-weight: 400;
    color: var(--color-text-muted);
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--color-bg-light);
    transition: border-color 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(47, 100, 201, 0.15);
}
.form-field textarea {
    resize: vertical;
    min-height: 80px;
}
.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}
.form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.form-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}
.form-msg {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius);
}
.form-msg:empty { display: none; }
.form-msg-error {
    color: var(--color-error);
    background: #fef2f2;
}
.form-msg-success {
    color: var(--color-success);
    background: #f0fdf4;
}

/* --- Scholarship form section --- */
.scholarship-form-section {
    background: var(--color-bg-light);
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
}
.scholarship-form-section h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.scholarship-form-section > .container > p {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* --- Leadership --- */
.leadership-list p {
    margin-bottom: 4px;
}

/* --- Contact info --- */
.contact-info {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.crisis-notice {
    margin-top: 32px;
    padding: 16px;
    background: #fef2f2;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--color-error);
}
.crisis-notice a { color: var(--color-error); text-decoration: underline; }

/* --- Donate --- */
.donate-options {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px;
    margin: 24px 0;
    text-align: center;
}
.address-block {
    background: var(--color-bg-light);
    padding: 16px 24px;
    border-radius: var(--radius);
    display: inline-block;
}
.tax-notice {
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
}
.contact-privacy {
    margin-top: 32px;
    font-style: italic;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 48px 0 24px;
    margin-top: 64px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-about strong {
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.footer-about p {
    font-size: 0.85rem;
    margin-top: 8px;
}
.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links a {
    color: #aaa;
    font-size: 0.85rem;
    display: block;
    padding: 3px 0;
    transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-contact p {
    font-size: 0.85rem;
}
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: #fff; }
