/* Main branding and layout styles for Donhodzo Child Trust */
:root {
    --primary: #2d6a4f;
    --secondary: #40916c;
    --accent: #f9c846;
    --accent2: #f9844a;
    --bg: #f6fff8;
    --section-bg: #ffffff;
    --text: #222;
    --white: #fff;
    --gallery-bg: #e9f5ee;
}
body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
}
/* Topbar styles */
.topbar {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    position: sticky;
    top: 0;
    z-index: 1001;
    border-bottom: 2px solid var(--accent2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.topbar-social {
    margin-left: 2.5rem;
    display: flex;
    align-items: center;
}
.topbar-social a {
    color: var(--accent);
    margin: 0 8px;
    font-size: 1.1rem;
    transition: all 0.2s;
    display: inline-block;
}
.topbar-social a:hover {
    color: var(--accent2);
    transform: scale(1.1);
}

/* Accessibility Controls */
.accessibility-controls {
    margin-right: 2.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.accessibility-controls button {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessibility-controls button:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* High Contrast Mode */
body.high-contrast {
    --primary: #000;
    --secondary: #111;
    --accent: #ffff00;
    --accent2: #ffff00;
    --bg: #000;
    --section-bg: #111;
    --text: #fff;
    --white: #fff;
    filter: contrast(1.2);
}

body.high-contrast a {
    text-decoration: underline;
}

/* Floating social bar */
.floating-social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--primary);
    border-radius: 16px 0 0 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    padding: 0.7rem 0.4rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: center;
}
.floating-social-bar a {
    color: var(--accent);
    font-size: 1.3rem;
    transition: color 0.2s, transform 0.2s;
}
.floating-social-bar a:hover {
    color: var(--accent2);
    transform: scale(1.2);
}

/* Responsive Topbar */
@media (max-width: 768px) {
    .topbar {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }
    
    .topbar-social {
        margin-left: 1rem;
    }
    
    .topbar-social a {
        margin: 0 4px;
        font-size: 1rem;
    }
    
    .accessibility-controls {
        margin-right: 1rem;
        gap: 0.3rem;
    }
    
    .accessibility-controls button {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 0.3rem 0;
    }
    
    .topbar-social {
        margin-left: 0.5rem;
    }
    
    .topbar-social a {
        margin: 0 3px;
        font-size: 0.9rem;
    }
    
    .accessibility-controls {
        margin-right: 0.5rem;
    }
    
    .accessibility-controls button {
        padding: 0.3rem 0.4rem;
    }
    
    .floating-social-bar {
        padding: 0.5rem 0.3rem;
        gap: 0.8rem;
    }
    
    .floating-social-bar a {
        font-size: 1.1rem;
    }
}

/* ...existing code for navbar, sections, cards, gallery, footer, slider, etc. from previous inline styles... */
