@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --primary:       #3b82f6;
    --primary-dark:  #2563eb;
    --primary-glow:  rgba(59,130,246,0.45);
    --accent:        #6366f1;
    --success:       #10b981;
    --danger:        #ef4444;
    --warning:       #f59e0b;

    /* Palette aliases (used throughout old code) */
    --neon-p:   #3b82f6;
    --neon-s:   #8b5cf6;
    --neon-g:   #10b981;
    --neon-d:   #ef4444;

    /* Surface */
    --bg:           #0a0f1e;
    --surface:      rgba(15,23,42,0.7);
    --card:         rgba(20,30,55,0.75);
    --border:       rgba(255,255,255,0.07);
    --glass-border: rgba(255,255,255,0.09);

    /* Text */
    --text:          #f1f5f9;
    --text-dim:      #94a3b8;
    --text-secondary:#94a3b8;

    /* Effects */
    --blur:   blur(14px);
    --shadow: 0 4px 16px -4px rgba(0,0,0,0.28);
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    /* Zoom */
    --zoom-scale: 1;

    /* Spacing scale */
    --sp-xs:  0.5rem;
    --sp-sm:  1rem;
    --sp-md:  2rem;
    --sp-lg:  4rem;
    --sp-xl:  6rem;
}

/* Zoom levels */
[data-zoom="large"]  { --zoom-scale: 1.2; }
[data-zoom="xlarge"] { --zoom-scale: 1.45; }

html {
    font-size: calc(100% * var(--zoom-scale));
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        font-size 0.35s ease;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   DECORATION SPHERES
   ============================================================ */
.decoration {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.sphere {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(90px);
    opacity: 0.12;
    animation: float 22s infinite alternate ease-in-out;
}

@keyframes float {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(40px,60px) scale(1.12); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
    background: var(--card);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 2rem;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
section {
    max-width: 1200px;
    margin: var(--sp-xl) auto;
    padding: 0 var(--sp-md);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px -2px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 16px -4px var(--primary-glow);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(59,130,246,0.35);
    backdrop-filter: var(--blur);
}
.btn-outline:hover {
    background: rgba(59,130,246,0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-dark {
    background: #1e293b;
    color: #fff;
}
.btn-dark:hover {
    background: #2d3f57;
    transform: translateY(-2px);
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #fff;
}
.btn-success:hover { background: #059669; transform: translateY(-2px); color:#fff; }

.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover { background: #dc2626; transform: translateY(-2px); color:#fff; }

.btn-secondary {
    background: var(--accent);
    color: #fff;
}
.btn-secondary:hover { transform: translateY(-2px); color:#fff; }

.btn-donate {
    background: var(--success);
    color: #fff;
    padding: 1.1rem 3rem;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-donate:hover {
    transform: translateY(-3px);
    background: #059669;
    color: #fff;
}

/* ============================================================
   FORMS (admin shared)
   ============================================================ */
.input-group { margin-bottom: 20px; width: 100%; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .full-width { grid-column: 1 / -1; }
}

input, textarea, select {
    font-family: inherit;
    font-size: 0.97rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    width: 100%;
    transition: border-color 0.25s, box-shadow 0.25s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}

/* Akadálymentesítési fókuszjelző – TAB navigációhoz */
:focus-visible {
    outline: 2px solid var(--primary) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(59,130,246,0.22) !important;
    border-radius: 6px;
}
/* Tartalmi elemek (h, p, li) kiemelése fókuszban */
[data-tts-added]:focus-visible {
    background: rgba(59,130,246,0.07);
    border-radius: 8px;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.92rem;
}

.alert-success {
    background: rgba(16,185,129,0.1);
    color: var(--success);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(16,185,129,0.25);
    font-weight: 600;
}
.alert-error {
    background: rgba(239,68,68,0.1);
    color: var(--danger);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(239,68,68,0.25);
    font-weight: 600;
}

/* Custom file upload */
.custom-file-upload {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    cursor: pointer;
    background: var(--surface);
    color: var(--text);
    border: 1.5px dashed var(--primary);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    margin-top: 6px;
}
.custom-file-upload:hover { background: rgba(59,130,246,0.08); }
.custom-file-upload input[type="file"] { display: none; }
.file-name-display {
    font-style: italic;
    color: var(--text-dim);
    font-size: 0.82rem;
    margin-left: auto;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.image-actions-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

/* Admin table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: var(--text);
}
.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-dim);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table tr:hover { background: rgba(255,255,255,0.02); }
.admin-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: var(--radius-lg);
    padding: 10px 22px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.navbar.scrolled {
    top: 8px;
    width: 98%;
    padding: 8px 20px;
    border-radius: 16px;
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.logo-accent { color: var(--primary); font-weight: 900; }
.logo-main   { color: var(--text-dim); font-weight: 400; }
[data-theme="light"] .logo-main { color: #475569; }

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    overflow: visible; /* Allow absolutely positioned dropdowns to overflow */
}

/* Compact mode for high zoom */
[data-zoom="large"] .nav-link-item { padding: 6px 10px; font-size: 0.88rem; }
[data-zoom="xlarge"] .nav-link-item { padding: 5px 8px; font-size: 0.8rem; }
[data-zoom="xlarge"] .nav-links { gap: 0; }
[data-zoom="xlarge"] .nav-container { gap: 0.5rem; }
[data-zoom="xlarge"] .navbar { padding: 6px 16px; width: 96%; }
[data-zoom="xlarge"] .logo { font-size: 1.1rem; }
[data-zoom="xlarge"] .theme-toggle { width: 34px; height: 34px; font-size: 0.9rem; }

/* Visibility helpers for desktop/mobile buttons */
.nav-login-mobile  { display: none !important; }
.nav-login-desktop { display: inline-flex !important; }

/* In mobile views (triggered by media queries) we will override these */

.nav-link-item {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 7px 14px;
    border-radius: 10px;
    transition: all 0.25s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-link-item:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

.login-link {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: rgba(59,130,246,0.08) !important;
    border: 1px solid rgba(59,130,246,0.2);
}
.login-link:hover {
    background: rgba(59,130,246,0.15) !important;
    border-color: var(--primary);
}

/* Dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
    padding: 6px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    padding: 9px 14px !important;
    border-radius: 10px;
    color: var(--text-dim) !important;
    font-size: 0.9rem !important;
    transition: all 0.2s !important;
}
.dropdown-item:hover {
    background: rgba(59,130,246,0.1);
    color: var(--primary) !important;
}

/* Nav action buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s;
}
.theme-toggle:hover {
    background: rgba(59,130,246,0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Burger */
.burger-menu {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s;
}
.burger-menu:hover { 
    background: rgba(59, 130, 246, 0.1); 
    border-color: var(--primary);
    color: var(--primary);
}

.close-menu {
    display: none;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Burger menu earlier on high zoom */
@media (max-width: 1500px) {
    [data-zoom="xlarge"] .nav-links { display: none !important; }
    [data-zoom="xlarge"] .burger-menu { display: flex !important; }
    [data-zoom="xlarge"] .nav-login-desktop { display: none !important; }
    [data-zoom="xlarge"] .nav-login-mobile { display: inline-flex !important; }
}

@media (max-width: 1300px) {
    [data-zoom="large"] .nav-links { display: none !important; }
    [data-zoom="large"] .burger-menu { display: flex !important; }
    [data-zoom="large"] .nav-login-desktop { display: none !important; }
    [data-zoom="large"] .nav-login-mobile { display: inline-flex !important; }
}

/* Mobile nav core logic */
@media (max-width: 1100px) {
    .navbar {
        top: 0; left: 0;
        transform: none;
        width: 100%; max-width: none;
        border-radius: 0;
        border-left: none; border-right: none; border-top: none;
        padding: 12px 20px;
    }

    .burger-menu { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 85vw);
        height: 100dvh;
        background: var(--card);
        backdrop-filter: var(--blur);
        -webkit-backdrop-filter: var(--blur);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 2rem 2rem;
        transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
        z-index: 1001;
        gap: 4px;
        overflow-y: auto; /* Enable scrolling for long menu contents on mobile */
    }
    .nav-links.active { right: 0; }

    .close-menu { display: block; }

    .nav-link-item {
        font-size: 1.15rem;
        padding: 12px 20px;
        width: 100%;
        color: var(--text);
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .nav-dropdown { width: 100%; }
    .nav-dropdown .dropdown-toggle { width: 100%; justify-content: space-between; }

    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        padding: 0 0 0 1rem;
    }
    .nav-dropdown.active .dropdown-menu { display: block; }
    .dropdown-item { font-size: 0.95rem !important; }

    .nav-login-mobile  { display: inline-flex !important; }
    .nav-login-desktop { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    margin-top: 6rem;
    padding: 70px 60px;
    border-radius: var(--radius-xl);
    animation: fadeIn 0.9s ease-out both;
}

.hero-content { animation: slideInLeft 0.9s ease-out both; }

.hero-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn-outline {
    border-color: var(--border) !important;
    background: rgba(255,255,255,0.04) !important;
    color: var(--text) !important;
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.2) !important;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-sphere {
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(70px);
    opacity: 0.18;
}

.hero-logo-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 320px;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

/* Hero card wrapper (uses glass-card) */
.hero-card {
    padding: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 24px 50px;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-image { order: -1; }
    .hero-content p { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ============================================================
   LOGO CAROUSEL
   ============================================================ */
.logo-carousel-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 16px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    text-align: center;
}
.logo-carousel-container::-webkit-scrollbar { display: none; }

.logo-carousel {
    display: inline-flex !important;
    gap: 48px;
    padding: 18px 48px;
    border-radius: 100px;
    min-width: min-content;
    vertical-align: middle;
    margin: 1.5rem auto;
}

.partner-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dim);
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.partner-link:hover { color: var(--primary); }
.partner-link i { opacity: 0.6; }

/* ============================================================
   ABOUT SECTION (2-column on desktop)
   ============================================================ */
.about-section {
    margin: var(--sp-xl) auto;
    max-width: 1200px;
    padding: 0 var(--sp-md);
}

.section-v-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    padding: 3.5rem 3rem;
    align-items: center;
}

.about-image-box {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg,#1e293b,#0f172a);
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.about-image-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.about-image-box:hover img { transform: scale(1.04); }

.about-content { text-align: left; }

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.3px;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-btn-more {
    padding: 12px 32px;
    font-size: 0.95rem;
}

@media (max-width: 820px) {
    .section-v-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }
    .about-image-box { height: 280px; }
    .about-content { text-align: center; }
    .about-content h2 { font-size: 2rem; }
}

/* ============================================================
   PROGRAMS SECTION (3-column on desktop)
   ============================================================ */
.programs-section {
    margin: var(--sp-xl) auto;
    max-width: 1200px;
    padding: 0 var(--sp-md);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    margin: 14px auto 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275),
                border-color 0.35s, box-shadow 0.35s;
}
.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px -6px rgba(59,130,246,0.15);
}

.program-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0,0,0,0.12);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}
.program-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.program-card:hover .program-image img { transform: scale(1.06); }

.program-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(99,102,241,0.05));
}
.program-placeholder i { font-size: 4.5rem; color: var(--primary); opacity: 0.25; }

.dark-placeholder { background: linear-gradient(135deg, rgba(30,41,59,0.3), rgba(15,23,42,0.3)); }
.dark-placeholder i { color: #94a3b8; }

.primary-placeholder { background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(59,130,246,0.04)); }
.primary-placeholder i { color: var(--accent); }

.program-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-tag {
    background: var(--primary);
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    width: fit-content;
}
.dark-tag   { background: #1e293b; }
.outline-tag {
    background: rgba(59,130,246,0.08);
    color: var(--primary);
    border: 1px solid rgba(59,130,246,0.25);
}

.program-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.2px;
}

.program-body p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex: 1;
}

.program-btn {
    padding: 10px 20px;
    font-size: 0.82rem;
    border-radius: 10px;
    align-self: flex-start;
    font-weight: 800;
    letter-spacing: 0.4px;
}

@media (max-width: 900px) {
    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .program-image { height: 220px; }
}

@media (min-width: 600px) and (max-width: 900px) {
    .programs-grid { grid-template-columns: 1fr 1fr; max-width: 700px; }
}

/* ============================================================
   SUPPORT SECTION
   ============================================================ */
.support-section-new {
    max-width: 1100px;
    margin: var(--sp-xl) auto;
    padding: 0 var(--sp-md) var(--sp-xl);
}

.support-section-new > h2 {
    text-align: center;
    font-size: clamp(2rem,4vw,2.8rem);
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.3px;
}

.support-section-new > h2::after {
    content:'';
    display: block;
    width: 60px; height: 4px;
    background: linear-gradient(90deg,var(--primary),var(--accent));
    border-radius: 4px;
    margin: 14px auto 0;
}

.support-grid-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-top-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.support-card-row {
    padding: 2.5rem 1.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
}
.support-card-row:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 6px 20px -6px rgba(59,130,246,0.12);
}

.support-icon {
    font-size: 2.8rem;
    color: var(--primary);
    filter: drop-shadow(0 0 12px rgba(59,130,246,0.3));
}
.color-p, .color-s, .color-dim { color: var(--primary) !important; }

.support-text h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.support-text p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.support-bottom-row { }

.support-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(99,102,241,0.05));
    border: 1px solid rgba(59,130,246,0.15);
}

.support-main-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
}
.support-main-content p {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
}

.support-main-text { }

@media (max-width: 860px) {
    .support-top-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border-top: 1px solid var(--border);
    padding: 5rem 0 0;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem 4rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 3.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

footer h3, footer h4 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text);
}
footer h3 { color: var(--primary); }

footer p, footer a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.7;
}
footer a:hover { color: var(--primary); }

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links-list a {
    font-weight: 500;
    margin: 0;
    transition: all 0.25s;
}
.footer-links-list a:hover { padding-left: 6px; }
.admin-link { font-weight: 700; color: var(--primary) !important; margin-top: 12px; }

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.social-icons a {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    margin: 0;
    transition: all 0.3s;
    font-size: 1rem;
}
.social-icons a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(59,130,246,0.35);
    transform: translateY(-2px);
}

.footer-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-info-row {
    font-size: 13px;
    display: flex;
    gap: 6px;
    align-items: baseline;
    flex-wrap: wrap;
}
.footer-info-row strong { color: var(--text); }

.copyable {
    cursor: pointer;
    padding: 3px 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 7px;
    border: 1px solid transparent;
    position: relative;
    display: inline-block;
    transition: all 0.25s;
}
.copyable:hover {
    background: rgba(59,130,246,0.08);
    border-color: var(--primary);
    color: var(--primary);
}
.copy-tooltip {
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s;
    pointer-events: none;
}
.copyable.copied .copy-tooltip { visibility: visible; opacity: 1; bottom: 125%; }
.copyable.copied { color: var(--success); border-color: var(--success); }

.copyright {
    text-align: center;
    border-top: 1px solid var(--border);
    padding: 1.75rem 2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

@media (max-width: 840px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 0 1.5rem 3rem;
    }
    .footer-info-row, .social-icons, .footer-brand { justify-content: center; }
}

/* ============================================================
   RÓLUNK PAGE
   ============================================================ */
.bio-hero {
    padding-top: 130px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--sp-md);
    padding-right: var(--sp-md);
}
.bio-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}
.bio-hero p {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}
.bio-hero-img-container {
    margin-top: 3.5rem;
    padding: 0 0 0;
}
.bio-hero-img-box {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}
.bio-hero-img-box img { width: 100%; height: 100%; object-fit: cover; }

.bio-content {
    max-width: 850px; /* Golden reading width */
    margin: 4rem auto;
    padding: 0 var(--sp-md);
}

.bio-content h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.bio-content p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-dim);
    margin-bottom: 1.8rem;
    transition: all 0.25s ease;
}

.bio-content p:focus,
.bio-content p:hover {
    color: var(--text);
    outline: none;
}

/* Make bullet lists look jaw-droppingly premium and accessible */
.bio-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.8rem 0 2.5rem !important;
    display: grid;
    gap: 12px;
}

.bio-content ul li {
    position: relative;
    padding: 1.1rem 1.5rem 1.1rem 3.5rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    font-size: 1.1rem !important;
    color: var(--text-dim) !important;
    line-height: 1.6 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: default;
}

/* Reset inner paragraphs inside list items to fix the alignment shift */
.bio-content ul li p {
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}

/* Ensure links inside list items fill the clickable area beautifully */
.bio-content ul li a {
    color: var(--secondary) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}
.bio-content ul li a:hover {
    color: var(--secondary-hover) !important;
    text-decoration: underline !important;
}

/* If the list item has a link inside, make the entire card cursor pointer! */
.bio-content ul li:has(a) {
    cursor: pointer !important;
}

/* Custom premium checkmark indicator */
.bio-content ul li::before {
    content: "\f00c" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--success) !important;
    font-size: 0.95rem !important;
    background: rgba(16, 185, 129, 0.08) !important;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease !important;
}

/* If the list item has an anchor (link), use a beautiful link icon instead of a checkmark! */
.bio-content ul li:has(a)::before {
    content: "\f0c1" !important; /* FontAwesome link icon */
    color: var(--secondary) !important;
    background: rgba(59, 130, 246, 0.08) !important;
}

.bio-content ul li:focus,
.bio-content ul li:hover {
    color: var(--text) !important;
    background: rgba(59, 130, 246, 0.06) !important;
    border-color: rgba(59, 130, 246, 0.22) !important;
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
    outline: none;
}

/* If it is a link card, we change the hover border & background to look like a clickable link */
.bio-content ul li:has(a):focus,
.bio-content ul li:has(a):hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
    background: rgba(59, 130, 246, 0.09) !important;
}

.bio-content ul li:focus::before,
.bio-content ul li:hover::before {
    background: var(--success) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
}

/* Hover bubble styling if it is a link card */
.bio-content ul li:has(a):focus::before,
.bio-content ul li:has(a):hover::before {
    background: var(--secondary) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
}

.bio-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 4rem 0;
}
.bio-card-main {
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 3rem;
}
.bio-card-main h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.bio-card-main p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-dim);
    margin-bottom: 2rem;
}
.mission-card-boxed {
    background: rgba(59,130,246,0.05);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59,130,246,0.12);
}
.mission-card-boxed h2 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.mission-card-boxed p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin: 0;
}

.gallery-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin: 4rem 0 2rem;
}

/* Volunteers */
.volunteers-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto 5rem;
}
.volunteer-card {
    background: var(--card);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: var(--shadow);
}
.volunteer-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 6px 20px -6px rgba(59,130,246,0.1);
}
.volunteer-img {
    width: 140px; height: 140px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(59,130,246,0.12);
    background: rgba(0,0,0,0.15);
}
.volunteer-info { flex: 1; }
.volunteer-socials {
    margin-top: 14px;
    display: flex;
    gap: 14px;
    font-size: 1rem;
}
.volunteer-socials a {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.25s;
    margin: 0;
}
.volunteer-socials a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .volunteer-card { flex-direction: column; text-align: center; padding: 2rem; }
    .volunteer-socials { justify-content: center; }
    .bio-hero h1 { font-size: 2.4rem; }
    .bio-hero-img-box { height: 260px; border-radius: 24px; }
    .bio-content { margin: 3rem auto; }
    .bio-card-main { padding: 2rem; border-radius: 24px; }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 4rem;
}
.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    background: #000;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s, opacity 0.35s;
    opacity: 0.88;
}
.gallery-item:hover img { transform: scale(1.06); opacity: 1; }
.gallery-item .play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}
.lightbox-close {
    position: absolute;
    top: 24px; right: 32px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* Members */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 2.5rem;
}
.member-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.35s, border-color 0.35s;
}
.member-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.member-img-wrapper {
    height: 280px;
    background: var(--bg);
    overflow: hidden;
}
.member-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.member-card:hover .member-img-wrapper img { transform: scale(1.05); }
.member-info { padding: 1.25rem; text-align: center; }
.member-info h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 8px; }
.member-info p { color: var(--text-dim); font-size: 0.9rem; }

/* ============================================================
   ACCESSIBILITY WIDGET (floating bottom-right)
   ============================================================ */
#a11y-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

#a11y-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(59,130,246,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

#a11y-toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

#a11y-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(59,130,246,0.45);
}

#a11y-toggle:hover::after {
    transform: translateX(100%);
}

#a11y-toggle.active {
    background: var(--accent);
    transform: scale(1.05);
}

#a11y-panel {
    background: var(--card);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    width: 280px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    transform-origin: bottom right;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#a11y-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.a11y-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.a11y-header h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text);
    margin: 0;
}

.a11y-reset-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-reset-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}

.a11y-control-group {
    margin-bottom: 20px;
}

.a11y-group-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.a11y-group-label i {
    color: var(--primary);
    margin-right: 6px;
}

/* Action Button (TTS) */
.a11y-action-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.a11y-action-btn:hover, .a11y-action-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Zoom Buttons Group */
.zoom-btns-container {
    display: flex;
    background: rgba(0,0,0,0.15);
    padding: 5px;
    border-radius: 14px;
    gap: 5px;
}

.zoom-btn {
    flex: 1;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    font-weight: 800;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.zoom-btn:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}

.zoom-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.zoom-btn[data-z="normal"] { font-size: 0.8rem; }
.zoom-btn[data-z="large"]  { font-size: 0.95rem; }
.zoom-btn[data-z="xlarge"] { font-size: 1.1rem; }

.a11y-footer-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    opacity: 0.7;
}

/* ============================================================
   DONATIONS
   ============================================================ */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
@media (max-width: 600px) { .donation-grid { grid-template-columns: repeat(2,1fr); } }

.donation-amount-btn {
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.donation-amount-btn.active, .donation-amount-btn:hover {
    border-color: var(--primary);
    background: rgba(59,130,246,0.08);
    color: var(--primary);
}
.donation-custom-input {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    transition: all 0.25s;
}
.donation-custom-input:focus-within { border-color: var(--primary); }
.donation-custom-input input {
    border: none; padding: 14px;
    font-size: 1.1rem; width: 100%;
    background: transparent; color: var(--text);
    border-radius: 0;
}
.donation-custom-input span {
    padding: 14px; font-weight: 700;
    color: var(--text-dim); background: var(--bg);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   GLOBAL RESPONSIVE CLEANUP
   ============================================================ */
@media (max-width: 768px) {
    section { margin: 3rem auto; padding: 0 1.25rem; }

    .hero { margin-top: 0; padding: 90px 20px 48px; }
    .hero-content h1 { font-size: clamp(1.9rem,7.5vw,2.8rem); word-break: break-word; hyphens: auto; }
    .hero-actions .btn { flex: 1; text-align: center; }

    .logo-carousel { padding: 16px 28px; gap: 28px; }

    .about-section { padding: 0 1.25rem; }

    .programs-section { padding: 0 1.25rem; }
    .programs-grid { max-width: 100%; }

    .support-section-new { padding: 0 1.25rem 3rem; }

    .btn-donate { width: 100%; padding: 1rem; font-size: 1.05rem; }

    .bio-content { padding: 0 1.25rem; }

    input, textarea, select { max-width: 100%; }

    #a11y-widget { bottom: 16px; right: 14px; }
    #a11y-panel { width: 210px; padding: 16px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.85rem; }
    .section-title { font-size: 1.9rem; }
    .programs-grid { gap: 16px; }
    .support-card-row { padding: 2rem 1.25rem; }
}
