:root {
    /* Brand Colors */
    --primary-color: #5D5353;
    --secondary-color: #787878;
    --accent-color: #00A8E1;
    --bg-white: #FFFFFF;
    --bg-gray: #C0C0C0;
    
    /* UI Colors */
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --accent-hover: #0096c7;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-muted: #6b7280;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-2: 0.5rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 600;
}

p { color: var(--text-muted); margin-bottom: var(--space-4); }
a { color: var(--accent-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}
.section { padding: var(--space-16) 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
}
@media (min-width: 768px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    gap: var(--space-2);
}
.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white) !important;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color) !important;
}
.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-white) !important;
}
.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
}
.btn-whatsapp:hover { background-color: #128C7E; }

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon-lg { width: 3rem; height: 3rem; margin-bottom: var(--space-4); color: var(--accent-color); }

/* Header & Nav */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav-container {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.logo span { color: var(--accent-color); }
.logo svg { width: 32px; height: 32px; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    padding: var(--space-2);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-6);
    align-items: center;
}
.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); }

@media (max-width: 767px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--space-6) var(--space-4);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links .btn { width: 100%; margin-top: var(--space-2); }
}

/* Cards */
.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Forms & Interactive Components */
.form-group { margin-bottom: var(--space-4); text-align: left; }
.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--bg-white);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 168, 225, 0.1);
}
input[type=range] {
    width: 100%;
    accent-color: var(--accent-color);
    margin: var(--space-4) 0;
}

.box {
    background: var(--bg-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Footer */
footer {
    background-color: #111827; /* Very dark gray for high contrast */
    color: #ffffff;
    padding: var(--space-12) 0 var(--space-6);
}
footer h4 { color: var(--accent-color); margin-bottom: var(--space-4); }
footer p { color: #f3f4f6; } /* Brighter gray for paragraph text */
footer ul { list-style: none; }
footer ul li { margin-bottom: var(--space-2); }
footer ul li a { color: #f3f4f6; transition: color 0.2s; }
footer ul li a:hover { color: var(--accent-color); }
.footer-bottom {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.15);
    color: #9ca3af;
    text-align: center;
    font-size: 0.9rem;
}

/* Utils */
.mt-4 { margin-top: var(--space-4); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.w-full { width: 100%; }

/* Hero specific */
.hero {
    padding: var(--space-16) 0;
    background: linear-gradient(to right, rgba(249, 250, 251, 0.9), rgba(249, 250, 251, 0.7));
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-6);
    color: var(--primary-color);
}
.hero p {
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
    color: var(--text-muted);
}
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
}
.stat-item h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0;
}
.stat-item p { margin: 0; font-size: 0.9rem; }
.flex-col{
  flex-direction: column;
}
/* Mobile Specific Adjustments */
@media (max-width: 767px) {
    /* Adjust button sizes to be full width */
    .btn {
        width: 100%;
        padding: 0.875rem 1rem;
    }
    
    /* Ensure flex groups with buttons stack vertically */
    .flex.justify-center.gap-4, 
    .flex.gap-4 {
        flex-direction: column;
        width: 100%;
    }

    /* Reduce paddings for divs like cards and boxes */
    .card {
        padding: var(--space-6);
    }
    .box {
        padding: var(--space-6);
    }

    /* Reduce overall section and hero paddings */
    .section, .hero {
        padding-top: var(--space-8) !important;
        padding-bottom: var(--space-8) !important;
    }
    
    .stats {
        margin-top: var(--space-8);
        padding-top: var(--space-6);
    }
}

/* Success Animation */
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.9) translateY(-10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.success-animate {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.spin-animate {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* --- Board of Trustees Section Styles --- */
.section--ivory {
    background-color: #f9fafb;
}

.section-head {
    margin-bottom: var(--space-12);
    text-align: center;
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.section-head h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-top: 0;
}

.trustee {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.trustee:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.trustee-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    margin-bottom: var(--space-4);
    border: 3px solid var(--bg-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.trustee-info {
    margin-bottom: var(--space-4);
}

.trustee-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.trustee-role {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 600;
}

.trustee-drawer {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-4);
    margin-top: auto;
    flex-grow: 1;
}

.trustee-bio p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.trustee-bio.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trustee-read-more-btn {
    margin-top: 15px;
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm, 4px);
    width: auto !important;
    display: inline-block;
}
