/* ====== Base ====== */
:root {
    --bg: #f6f7fb;
    --text-main: #1f2933;
    --primary: #17acec;
}

/* Dark mode */
[data-theme="dark"] {
    --bg: #121212;
    --text-main: #050505;
    --primary: #55b5df;
}

:root {
    --bg: #f6f7fb;
    --bg-soft: #ffffff;
    --bg-slight: #f1f3f8;
    --primary: #55b5df;
    --primary-soft: #e5f5f0;
    --accent: #f6b021;
    --text-main: #080808;
    --text-soft: #000000;
    --border-soft: #0313f5;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* Dark theme variables (driven by html[data-theme="dark"]) */
html[data-theme="dark"] {
    --bg: #020617;
    --bg-soft: #020617;
    --bg-slight: #020617;
    --primary: #55b5df;
    --primary-soft: #55b5df;
    --accent: #f97316;
    --text-main: #e5e7eb;
    --text-soft: #cbd5f5;
    --border-soft: #55b5df;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    transition: background 0.3s, color 0.3s;
}


body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: var(--bg);
    line-height: 1.7;
}

/* Links & buttons */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #116149);
    color: #fff;
    box-shadow: 0 14px 30px rgb(251, 255, 1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgb(253, 236, 1);
}

.btn-ghost {
    background: rgba(7, 3, 233, 0.82);
    color: #e0e3e6;
    border: 1px solid #55b5df;
}

.btn-ghost:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.btn.full {
    width: 100%;
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.section {
    padding: 4rem 0;
    background: var(--bg-soft);
}

.section.slight {
    background: var(--bg-slight);
}

/* Dark theme sections */
html[data-theme="dark"] .section {
    background: #020617;
}

html[data-theme="dark"] .section.slight {
    background: #020617;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-soft);
    max-width: 34rem;
    font-size: 0.95rem;
    margin: 0;
    margin-top: 0.3rem;
    margin-left: auto;
    margin-right: auto;
}

#contact h2 {
    color: #55b5df
        /* your Lemetsdek green tone */
}

/* ===== ABOUT SECTION (Adaptive Version) ===== */

/* Default (light theme) */
#about-section {
    text-align: center;
    padding: 3rem 1rem;
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

#about-section h2 {
    color: #55b5df;
    /* deep green for light theme */
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

#about-section p {
    color: #1a1a1a;
    /* dark text for visibility on light background */
    max-width: 42rem;
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.7;
    transition: color 0.3s ease;
}

#about-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 0.6rem auto 0;
    background: #55b5df;
    border-radius: 3px;
    transition: background 0.3s ease;
}

/* ====== Dark Theme (Automatic Detection) ====== */
@media (prefers-color-scheme: dark) {
    #about-section {
        background: transparent;
        /* or rgba(255,255,255,0.02) for soft tint */
    }

    #about-section h2 {
        color: #55b5df;
        /* bright Lemetsedek green */
    }

    #about-section p {
        color: #eaeaea;
        /* readable soft white */
    }

    #about-section h2::after {
        background: #55b5df;
    }
}

/* ====== If Your Site Uses data-theme Attribute ====== */
[data-theme="dark"] #about-section {
    background: transparent;
}

[data-theme="dark"] #about-section h2 {
    color: #55b5df;
}

[data-theme="dark"] #about-section p {
    color: #eaeaea;
}

[data-theme="dark"] #about-section h2::after {
    background: #55b5df;
}

#contact p {
    color: #1a0504;
    /* or a softer gray for paragraph text */
}

/* Define color variables for both themes */
:root {
    /* Light theme colors */
    --contact-heading-color: #55b5df;
    /* vibrant green */
    --contact-text-color: #1a1a1a;
    /* dark gray for light background */
    --contact-bg: transparent;
}

[data-theme="dark"] {
    /* Dark theme overrides */
    --contact-heading-color: #f8f8f8;
    /* bright Lemetsdek green */
    --contact-text-color: #eaeaea;
    /* soft white text */
    --contact-bg: transparent;
}

/* Apply only to Contact section */
#contact-section {
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--contact-bg);
}

#contact-section h2 {
    color: var(--contact-heading-color);
    font-size: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

#contact-section p {
    color: var(--contact-text-color);
    max-width: 34rem;
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.6;
    transition: color 0.3s ease;
}


/* Grid */

.grid {
    display: grid;
    gap: 1.8rem;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 880px) {

    .grid.two,
    .grid.three {
        grid-template-columns: 1fr;
    }
}

/* Cards */

.card {
    border-radius: var(--radius-lg);
    background: #ffffff;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    position: relative;
}

.card.soft {
    background: linear-gradient(135deg, #ffffff, #f7fafc);
}

.card.outline {
    background: #ffffff;
    border: 1px solid var(--border-soft);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.card p {
    margin-top: 0;
    margin-bottom: 0.7rem;
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* Dark theme cards */
html[data-theme="dark"] .card {
    background: #020617;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text-main);
}

html[data-theme="dark"] .card.soft {
    background: radial-gradient(circle at top left, #111827, #020617);
}

html[data-theme="dark"] .card.outline {
    background: #020617;
    border-color: rgba(148, 163, 184, 0.7);
}

html[data-theme="dark"] .card p {
    color: var(--text-soft);
}


/* ====== Header / Navigation ====== */


.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.55rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo + text left */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand img {
    width: 60px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #041cf5;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
}

/* ===== ELEGANT ANIMATED UNDERLINE NAV STYLE ===== */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
}

.main-nav a {
    position: relative;
    color: #ffffff;
    /* white text by default */
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.35rem 0;
    /* spacing for underline animation */
}

/* create underline */
.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #f6b021;
    /* brand yellow underline */
    transition: width 0.3s ease;
}

/* animate underline on hover */
.main-nav a:hover::after {
    width: 100%;
}

/* optional smooth color change on hover */
.main-nav a:hover {
    color: #f6b021;
}


.main-nav a.active {
    color: #f6b021;
}

.main-nav a.active::after {
    width: 100%;
}


.main-nav a:hover::before {
    transform: scale(1.05);
    /* slightly expands for smoother glow */
}

.main-nav a:hover {
    color: #55b5df;
    transform: translateY(-1px);
}

.main-nav a:hover::before {
    transform: scale(1);
}

.main-nav a:hover {
    color: #111827;
    /* dark text on orange background */
}

.main-nav a:hover::before {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(246, 176, 33, 0.4);
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .nav-donate {
    font-weight: 600;
}

/* Right controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Language toggle button (white pill) */
.lang-toggle {
    border: none;
    background: #01d9ff;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.lang-toggle:hover {
    background: #03c3f3;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* Theme / gear button */
.theme-toggle {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

/* Mobile nav button */
.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.nav-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.nav-toggle.open span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

/* Responsive: mobile menu */
@media (max-width: 800px) {
    .header-inner {
        padding-inline: 1rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.96);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header-controls {
        margin-left: 0.25rem;
    }
}

/* In dark mode keep it deep and clean */
html[data-theme="dark"] .site-header {
    background: #55b5df;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 2.5rem;
}

.site-header img {
    height: 60px;
    width: auto;
}

.main-nav a {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
}

/* Base links in header */
.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0;
    line-height: 1;
}

/* Special style for the Contact button */
.nav-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.8rem;
    /* horizontal only */
    height: 44px;
    /* fixed height for both languages */
    min-width: 150px;
    /* keeps pill width similar EN / አማ */
    border-radius: 999px;
    background: #55b5df;
    color: #000000;
    font-weight: 600;
    white-space: nowrap;
    /* text never wraps */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Optional hover – small motion, no size change */
.nav-donate:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

/* brand */

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgb(255, 251, 2);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #f9fafb;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* nav */

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.95rem;
}

.main-nav a {
    position: relative;
    color: #e5e7eb;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-donate {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #02c4ff;
    color: #042ee6 !important;
    font-weight: 600;
}

.nav-donate::after {
    display: none;
}

/* ====== Language + Theme controls in header ====== */

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: 0.8rem;
}

/* label "Language" */
.control-label,
.lang-switch .control-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* group for EN / አማ */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* small pill buttons */
.lang-btn {
    border-radius: 999px;
    padding: 0.18rem 0.6rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(156, 163, 175, 0.7);
    background: transparent;
    color: #e5e7eb;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lang-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.lang-btn.active {
    background: #f6b021;
    border-color: #f6b021;
    color: #1f2933;
}

/* theme toggle (moon / sun button) */
.theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    background-color: #f3e306;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.55);
}

/* Light theme look for toggle */
html[data-theme="light"] .theme-toggle {
    background: rgba(201, 219, 41, 0.452);
    color: #02bff8;
    border-color: rgba(148, 163, 184, 0.6);
}

/* Dark theme look for toggle */
html[data-theme="dark"] .theme-toggle {
    background: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.9);
}

/* mobile nav toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #f9fafb;
    border-radius: 999px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.open span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.nav-toggle.open span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 1.2rem 1rem;
        background: #020617;
        border-bottom: 1px solid #0f172a;
        gap: 0.8rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .main-nav.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    /* On mobile, stack language & theme nicely inside dropdown */
    .header-controls {
        margin-left: 0;
        margin-top: 0.4rem;
        width: 100%;
        justify-content: space-between;
    }

    .lang-switch {
        gap: 0.25rem;
    }
}

/* ====== Hero ====== */

.hero {
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

/* Background photo (low opacity) */
/* ===== HERO (Full-screen photo like screenshot) ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 88px;
    /* header height space */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Full-screen background image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("image/3.jpg") center/cover no-repeat;
    /* <-- change to your hero photo */
    transform: scale(1.02);
    z-index: -2;
}

/* Dark overlay to make text readable */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.45) 40%,
            rgba(0, 0, 0, 0.25) 100%);
    z-index: -1;
}

/* Keep hero content above */
.hero-inner {
    position: relative;
    z-index: 1;
}

/* Make the hero layout similar to your screenshot */
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

/* Improve text contrast */
.hero-copy h1,
.hero-copy p,
.hero-copy .stat-number,
.hero-copy .stat-label {
    color: #fff;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.85);
}

/* Right hero panel looks like glass card */
.hero-panel {
    background: rgba(17, 24, 39, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    color: #fff;
}

/* Ribbon bar to float on top (optional) */
.hero-ribbon-bar {
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-ribbon {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 22px;
    border-radius: 16px;
    color: #fff;
    font-size: clamp(18px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    max-width: 900px;
}

/* Mobile */
@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-ribbon-bar {
        position: relative;
        top: 0;
        margin-bottom: 18px;
    }
}


/* Soft gradient overlay on top of the photo */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, #fef3c7, transparent 55%),
        radial-gradient(circle at bottom right, #dcfce7, transparent 55%),
        #f6f7fb;
    opacity: 0.9;
    z-index: -1;
}

/* Slightly deeper overlay in dark theme to keep it readable */
html[data-theme="dark"] .hero::after {
    background:
        radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), transparent 55%),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.85), transparent 55%),
        #020617;
    opacity: 0.92;
}

/* Make sure the content stays above the overlays */
.hero-inner {
    position: relative;
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0.4rem 0 0.8rem;
}

.hero-copy h1 span {
    color: #0f172a;
}

html[data-theme="dark"] .hero-copy h1 span {
    color: #e5e7eb;
}

.hero-lead {
    margin: 0;
    margin-bottom: 1.2rem;
    color: var(--text-soft);
    max-width: 34rem;
    font-size: 0.98rem;
}

.eyebrow {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #55b5df;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* hero side panel */

.hero-panel {
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226, 232, 240, 0.85);
}

html[data-theme="dark"] .hero-panel {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(148, 163, 184, 0.6);
}

.hero-panel h2 {
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.hero-panel p {
    margin-top: 0;
    margin-bottom: 0.6rem;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.hero-panel-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #000000;
    color: #34e607;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0.7rem;
}

.hero-list li {
    font-size: 0.9rem;
    color: var(--text-soft);
    padding-left: 1.1rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.hero-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
}

.hero-link {
    font-size: 0.9rem;
    color: #369e16;
    font-weight: 500;
}

.hero-link:hover {
    text-decoration: underline;
}

@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

/* ====== Icon list ====== */

.icon-list {
    list-style: none;
    padding-left: 0;
    margin: 0.4rem 0 0;
}

.icon-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.icon-list span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix layout of icon bullets inside ABOUT section */
#about .icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

#about .icon-list span {
    flex: none;
    margin-top: 0.15rem;
}

#about .icon-list div {
    line-height: 1.5;
}

/* ====== Programs Section ====== */
#programs {
    position: relative;
    background: url("image/4.jpg") center/cover no-repeat;
    padding: 100px 0;
    z-index: 1;
    overflow: hidden;
}

/* Optional: soft overlay for text readability */
#programs::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* dark overlay */
    z-index: 0;
}

#programs .container {
    position: relative;
    z-index: 1;
    /* keep text above the overlay */
}

/* Cards become semi-transparent glass */
.program {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    color: #fff;
    transition: all 0.3s ease;
}

/* Hover brightness */
.program:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

/* Adjust text for dark background */
.program h3,
.program p,
.program ul li {
    color: #ffffff;
}

/* Theme-specific tweak for light mode */
html[data-theme="light"] #programs::before {
    background: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .program {
    background: rgba(255, 255, 255, 0.75);
    color: #111827;
}

/* ===== Programs section: light vs dark theme readability ===== */

/* Dark theme (keep as you have) */
html[data-theme="dark"] #programs::before {
    background: rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .program {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

html[data-theme="dark"] .program h3,
html[data-theme="dark"] .program p,
html[data-theme="dark"] .program ul li {
    color: #ffffff;
}

/* LIGHT THEME FIX — make cards brighter and text dark */
html[data-theme="light"] #programs::before {
    /* very light veil so the section bg image is softer but not bleaching the cards */
    background: rgba(161, 165, 161, 0.815);
}

html[data-theme="light"] .program {
    /* solid enough background to give contrast to text */
    background: rgba(255, 255, 255, 0.85);
    color: #111827;
    /* dark text */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .program h3,
html[data-theme="light"] .program p,
html[data-theme="light"] .program ul li {
    color: #111827;
    /* ensure all text turns dark */
}

html[data-theme="light"] .program ul li::before {
    color: var(--primary);
    /* keep your green checkmarks */
}

/* Optional: slightly stronger headings for readability */
html[data-theme="light"] .program h3 {
    font-weight: 700;
}

/* ===== Card Colors Based on Theme ===== */

/* 🌞Light Theme */
html[data-theme="light"] .program {
    background: #ffffff;
    /* solid white */
    color: #1f2933;
    /* dark text */
    box-shadow: 0 6px 18px #55b5df;
    border: 1px solid rgba(46, 196, 9, 0.05);
    transition: all 0.4s ease;
}

html[data-theme="light"] .program:hover {
    background: #fef9e7;
    /* light yellow hover */
    transform: translateY(-4px);
}

/* 🌙 Dark Theme */
html[data-theme="dark"] .program {
    background: #55b5df;
    /* deep charcoal tone */
    color: #f9fafb;
    /* white text */
    box-shadow: 0 6px 18px #55b5df;
    border: 1px solid #55b5df;
    transition: all 0.4s ease;
}

html[data-theme="dark"] .program:hover {
    background: #c0b302b4;
    /* soft olive-gray hover */
    transform: translateY(-4px);
}

/* ====== Impact ====== */

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.impact-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.3rem 1.1rem;
    text-align: left;
    border: 1px solid var(--border-soft);
}

html[data-theme="dark"] .impact-card {
    background: #55b5df;
    border-color: #55b5df;
}

.impact-card .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
}

.sendmeassage {
    color: #000000;
}

.impact-card .number {
    display: block;
    margin-top: 0.35rem;
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.impact-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

@media (max-width: 880px) {
    .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== Stories ====== */
#Story {
    position: relative;
    background: url("image/4.jpg") center/cover no-repeat;
    padding: 100px 0;
    z-index: 1;
    overflow: hidden;
}


.story h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.story p {
    font-size: 0.94rem;
}

/* ====== Support ====== */

.support-grid .support-card {
    border-top: 4px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.support-grid .support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-top-color: var(--primary);
}

.support-note {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-top: 0.4rem;
}

/* ====== Contact ====== */

.contact-grid .card {
    height: 100%;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    font-weight: 500;
    color: #111827;
}

html[data-theme="dark"] .contact-form label {
    color: #000000;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    margin-top: 0.25rem;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    padding: 0.55rem 0.7rem;
    font: inherit;
    color: #111827;
    background: #fbfbf9;
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form textarea {
    background: #020617;
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.7);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* intl-tel-input specific styles */
.iti {
    width: 100%;
}

.contact-form input[type="tel"] {
    width: 100%;
    padding-left: 3.1rem;
}

.field-hint {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* ====== Footer (merged, modern, fixed icons) ====== */

.site-footer {
    background: linear-gradient(135deg,
            rgb(135, 206, 235),
            /* Light water blue */
            rgb(102, 191, 230),
            /* Smooth transition */
            rgb(70, 160, 210)
            /* Deep water blue */
        );
    color: #070707;
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    font-size: 0.9rem;
}


/* Dark footer */
html[data-theme="dark"] .site-footer {
    background: linear-gradient(135deg, #55b5df, #55b5df, #55b5df);
    color: #050505;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Brand block */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

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

.footer-brand img {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 0 0 3px #f6b021,
        0 10px 25px rgba(0, 0, 0, 0.35);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-brand-tagline {
    font-size: 0.8rem;
    color: #131313;
}

.footer-brand h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
}

.footer-brand p,
.footer-mission {
    color: #0a0a0a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.4rem 0 0;
    max-width: 18rem;
}

/* Column titles (Quick links, Contact, Address) */

.footer-links h4,
.footer-contact h4,
.footer-address h4 {
    margin: 0 0 0.7rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #070707;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

/* Quick links */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #020202;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #f6b021;
}

/* Contact section */

.footer-contact {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact strong {
    color: #000000;
}

.footer-contact p {
    margin: 0 0 0.35rem;
}

/* Address column */

.footer-address {
    color: #030303;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-address p {
    margin: 0 0 0.35rem;
}

.footer-address i {
    color: #f6b021;
    font-size: 1rem;
}

/* Social icons */

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #070707;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.social-icon i {
    line-height: 1;
}

.social-icon:hover {
    background: #f6b021;
    color: #1f2d1f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(246, 176, 33, 0.45);
}

/* Bottom bar */

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #000000;
}

/* Responsive footer */

@media (max-width: 820px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-brand,
    .footer-links,
    .footer-contact,
    .footer-address {
        text-align: left;
    }
}

/* ====== Responsiveness tweaks ====== */

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-panel {
        padding: 1.3rem 1.1rem 1.2rem;
    }
}

/* ====== Phone field ====== */

.phone-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.phone-code {
    min-width: 180px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    padding: 0.55rem 0.6rem;
    background: #f9fafb;
    font: inherit;
}

html[data-theme="dark"] .phone-code {
    background: #020617;
    color: #e5e7eb;
}

.phone-input {
    flex: 1;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    padding: 0.55rem 0.7rem;
    font: inherit;
    background: #f9fafb;
}

html[data-theme="dark"] .phone-input {
    background: #020617;
    color: #e5e7eb;
}

/* Choices.js dropdown */

.choices__inner {
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    min-height: 2.5rem;
}

.choices__list--dropdown {
    border-radius: 10px;
}

/* ====== Unified Soft Green Card Hover (all cards) ====== */

.card:hover {
    background: linear-gradient(135deg,
            rgba(209, 250, 229, 0.6),
            rgba(167, 243, 208, 0.6));
    transform: translateY(-4px);
    box-shadow:
        0 16px 36px #55b5df,
        0 10px 30px #55b5df;
    border: 1px solid rgba(86, 100, 67, 0.25);
    transition: all 0.25s ease-in-out;
    color: #000000;
}

.card:hover h3,
.card:hover p,
.card:hover .program-tag,
.card:hover li,
.card:hover span {
    color: #55b5df;
}

/* ====== Contact Cards Hover Effect (inherits soft green) ====== */

.contact-grid .card {
    transition: all 0.3s ease-in-out;
}

.contact-grid .card:hover {
    background: linear-gradient(135deg,
            #55b5df,
            #55b5df);
    box-shadow: 0 25px 50px #55b5df;
    border: 1px solid #55b5df;
    transform: translateY(-6px);
    color: #55b5df;
}

.contact-grid .card:hover h3,
.contact-grid .card:hover h2,
.contact-grid .card:hover p,
.contact-grid .card:hover label,
.contact-grid .card:hover li,
.contact-grid .card:hover span {
    color: #070707 !important;
}

/* ====== Back to Top Button ====== */

#backToTop {
    position: fixed;
    bottom: 26px;
    right: 28px;
    z-index: 99;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #55b5df, #0a94cf);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

/* Hover Glow Effect */
#backToTop:hover {
    background: #f6b021;
    color: #55b5df;
    box-shadow: 0 12px 28px rgba(246, 176, 33, 0.45);
    transform: translateY(-3px);
}

/* Visible when scrolling */
#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ====== Typewriter effect ====== */

.type-target {
    display: inline-block;
    position: relative;
}

/* blinking caret */
.type-target::after {
    content: "";
    position: absolute;
    top: 0;
    right: -3px;
    width: 2px;
    height: 1.1em;
    background: #111827;
    opacity: 0;
}

/* caret visible only while typing */
.type-target.typing::after {
    opacity: 1;
    animation: caret-blink 0.7s steps(1) infinite;
}

@keyframes caret-blink {

    0%,
    50% {
        opacity: 1;
    }

    50.01%,
    100% {
        opacity: 0;
    }
}

select option[disabled][hidden] {
    color: #999;
}

/* ====== WHO WE ARE (ABOUT) SECTION ====== */

#about {
    position: relative;
    background: url("image/2.png") center/cover no-repeat;
    background-attachment: fixed;
    color: #000;
    z-index: 1;
    animation: fadeInBackground 0.2s ease-out both;
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#about h2,
#about h3 {
    color: #000;
    font-weight: 800;
}

#about p,
#about li {
    color: #000;
    font-weight: 600;
}

#about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
    backdrop-filter: blur(2px);
}

/* ABOUT background in dark mode */
html[data-theme="dark"] #about::before {
    background: rgba(15, 23, 42, 0.86);
}

/* CONTACT background in dark mode */
html[data-theme="dark"] #contact::before {
    background: rgba(15, 23, 42, 0.86);
}

#about .container {
    position: relative;
    z-index: 2;
}

/* Make the cards in the About section wider and slightly transparent */
#about .grid.two {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2.5rem;
}

#about .card {
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* About cards hover (soft green) */
#about .card:hover {
    background: linear-gradient(135deg,
            rgba(209, 250, 229, 0.2),
            rgba(167, 243, 208, 0.2));
    transform: translateY(-3px);
}

/* Ensure images fill full card width */
#about .card img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-top: 1rem;
}

/* ====== CONTACT SECTION BACKGROUND ====== */

#contact {
    position: relative;
    background: url('image/ENDE.jpg') no-repeat center center/cover;
    padding: 100px 0;
    z-index: 1;
}

/* Optional: dim overlay so the text stands out */
#contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.466);
    backdrop-filter: blur(2px);
    z-index: 0;
}

/* Make sure the contact content sits above the overlay */
#contact .container {
    position: relative;
    z-index: 1;
}

/* Contact cards */
#contact .card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Hover effect for contact section cards (soft green) */
#contact .card:hover {
    background: linear-gradient(135deg,
            #0a94cf,
            #55b5df);
    transform: translateY(-3px);
}

/* ====== IMPACT SECTION BACKGROUND ====== */

#impact {
    position: relative;
    background: url('image/3.jpg') no-repeat center center/cover;
    padding: 100px 0;
    z-index: 1;
}

/* Optional: soft overlay for readability */
#impact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(212, 204, 204, 0.466);
    backdrop-filter: blur(2px);
    z-index: 0;
}

/* Make sure the content appears above overlay */
#impact .container {
    position: relative;
    z-index: 1;
}

/* Glass cards styling inside impact grid */
#impact .impact-grid .card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Hover brightness for impact cards (soft green) */
#impact .impact-grid .card:hover {
    background: linear-gradient(135deg,
            rgba(209, 250, 229, 0.2),
            rgba(167, 243, 208, 0.2));
    transform: translateY(-5px);
}

/* Headings stronger contrast */
#impact h2,
#impact h3 {
    color: #111;
    font-weight: 800;
}

/* Paragraphs readable black */
#impact p {
    color: #000000;
    font-weight: 600;
}

/* ===== Dark mode overrides for IMPACT section ===== */

html[data-theme="dark"] #impact::before {
    /* darker overlay instead of white */
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(3px);
}

html[data-theme="dark"] #impact .impact-grid .card {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] #impact h2,
html[data-theme="dark"] #impact h3,
html[data-theme="dark"] #impact p {
    color: #e5e7eb;
}

/* ====== Contact Info Links ====== */

.contact-info a {
    color: #55b5df;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #55b5df;
    text-decoration: underline;
}

/* whole blue bar */
.hero-ribbon {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    color: #ffffff;
    border-radius: 6px;
    font-size: 2.4rem;
    font-weight: 600;
}

/* ያለን የተሰጠን txt */
.hero-ribbon-emphasis {
    position: relative;
    padding: 0.9rem 0.35rem;
    border-radius: 20px;
    background: #55b6df5e;
    font-family: "Noto Sans Ethiopic", system-ui, sans-serif;
    font-weight: 700;
    text-decoration-thickness: 3px;
    color: #fff;
    display: inline-block;
    animation: fadeSlideGlow 3.2s ease-in-out forwards,
        gentlePulse 4s ease-in-out infinite alternate;
}

/* Smooth entrance (fade + slide up + glow) */
@keyframes fadeSlideGlow {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    60% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 0 18px rgba(255, 255, 255, 0.15);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
    }
}

/* Subtle breathing glow effect */
@keyframes gentlePulse {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.15),
            0 0 10px rgba(255, 255, 255, 0.1);
    }

    100% {
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.3),
            0 0 28px rgba(86, 100, 67, 0.4);
    }
}

/* Optional shimmer across the text (adds elegant motion) */
.hero-ribbon-emphasis::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(2, 172, 224, 0.151) 0%,
            rgba(49, 161, 189, 0.247) 50%,
            rgba(4, 152, 189, 0.39) 100%);
    transform: skewX(-25deg);
    animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/* ====== Contact Card Logo Styling ====== */
.contact-card-with-logo {
    position: relative;
    text-align: center;
}

/* Perfect circular logo with yellow glow */
.contact-logo {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    padding: 6px;
    box-shadow:
        0 0 0 4px #facc15,
        0 0 24px rgba(250, 204, 21, 0.75);
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* subtle hover effect (optional) */
.contact-card-with-logo:hover .contact-logo {
    transform: scale(1.05);
    box-shadow:
        0 0 0 4px #facc15,
        0 0 32px rgba(250, 204, 21, 0.9);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-select-wrapper select {
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* Better look on light theme if you use it */
html[data-theme="light"] .lang-select-wrapper select {
    background: #ffffff;
    color: #1f2933;
    border-color: #d0d7e2;
}

/* ---------- Support Note Section ---------- */
#support-note-section {
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    padding: 1rem;
}

/* Attention Paragraph */
#support-note-section .support-note {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ff6b00;
    /* attention-grabbing orange */
    background: rgba(255, 107, 0, 0.1);
    /* soft highlight behind text */
    padding: 0.8rem 1rem;
    border-left: 5px solid #ff6b00;
    border-radius: 6px;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
    z-index: 10;
    /* ensure it is above general styles */
}

/* Hover effect */
#support-note-section .support-note:hover {
    background: rgba(255, 107, 0, 0.2);
    cursor: pointer;
}

/* Direction Arrow Below */
#support-direction-arrow {
    margin-top: 0.8rem;
    font-size: 1.5rem;
    color: #ff6b00;
    animation: bounce 1.2s infinite;
    z-index: 10;
    /* keep it above conflicting styles */
}

/* Bounce animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(6px);
    }

    60% {
        transform: translateY(3px);
    }
}

/* ===== Dark Theme Adaptation ===== */
@media (prefers-color-scheme: dark) {
    #support-note-section .support-note {
        color: #ffa500;
        background: rgba(255, 165, 0, 0.1);
        border-left-color: #ffa500;
    }

    #support-direction-arrow {
        color: #ffa500;
    }
}

/* If using site theme switcher with data-theme */
[data-theme="dark"] #support-note-section .support-note {
    color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
    border-left-color: #ffa500;
}

[data-theme="dark"] #support-direction-arrow {
    color: #ffa500;
}

/* ===== FIX HEADER COLOR + TRANSPARENCY ===== */
.site-header {
    background: #55b5df !important;
    /* #55b5df with 90% opacity */
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

/* ===== HEADER: SOLID AT TOP, GLASS WHEN SCROLLED ===== */

/* Default at very top (NO scroll) → solid color */
.site-header {
    background: #55b5df !important;
    /* solid green */
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* ===== GALLERY: Full Image Slider Section ===== */

.full-image-section {
    width: 100%;
    padding: 0 0 2rem;
    margin: 0;
}

/* Main hero slider */
.hero-slider {
    position: relative;
    width: min(92%, 1400px);
    /* controls left/right margin */
    height: 88vh;
    /* main slider height */
    margin: 1.8rem auto 0;
    /* top & center positioning */
    overflow: hidden;
    border-radius: 28px;
    /* decrease/increase for softer or sharper corners */
    background: #000;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.28);
}

/* Individual slides */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.88);
    cursor: pointer;
}

/* Overlay text on image */
.full-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.4rem 2rem;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.full-image-overlay h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
}

.full-image-overlay p {
    font-size: 1.05rem;
    opacity: 0.94;
}

/* Navigation arrows on main slider */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #f9fafb;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Dots under the slider */
.hero-dots {
    position: absolute;
    bottom: 1.3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

.hero-dot.active {
    background: #ffffff;
    width: 22px;
}

/* ===== Thumbnails row under slider ===== */

.hero-thumbs-wrapper {
    width: min(92%, 1400px);
    margin: 0.9rem auto 0;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Scrollable strip */
.hero-thumbs {
    flex: 1;
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    scrollbar-width: thin;
    /* Firefox */
}

/* Optional: nicer scrollbar on WebKit browsers */
.hero-thumbs::-webkit-scrollbar {
    height: 6px;
}

.hero-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
}

/* Single thumbnail */
.hero-thumb {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 90px;
    /* fixed width; prevents shrinking */
    height: 60px;
    opacity: 0.65;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: opacity 0.25s ease,
        transform 0.25s ease,
        outline-color 0.25s ease;
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-thumb:hover {
    opacity: 0.9;
}

.hero-thumb.active {
    opacity: 1;
    outline-color: var(--primary, #55b5df);
    /* use your brand green if defined */
    transform: translateY(-2px);
}

/* Thumbnail scroll arrows */
.hero-thumbs-nav {
    border: none;
    padding: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    color: #f9fafb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.hero-thumbs-nav:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* ===== Lightbox for full-size image ===== */

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 93vw;
    max-height: 92vh;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 26px;
    font-size: 45px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
}

/* ===== Mobile adjustments ===== */

@media (max-width: 900px) {
    .hero-slider {
        height: 60vh;
    }
}

@media (max-width: 700px) {
    .hero-slider {
        width: 94%;
        height: 48vh;
        border-radius: 14px;
    }

    .full-image-overlay {
        padding: 1.5rem 1.3rem;
    }

    .full-image-overlay h2 {
        font-size: 1.6rem;
    }

    .full-image-overlay p {
        font-size: 0.9rem;
    }

    .hero-thumbs-wrapper {
        gap: 0.25rem;
    }

    .hero-thumb {
        flex: 0 0 70px;
        height: 46px;
    }
}

.gallery-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
}

/* Program card image */
.program-image-wrapper {
    margin: -10px -10px 14px -10px;
    /* lets the image touch card edges nicely */
    border-radius: 18px 18px 12px 12px;
    overflow: hidden;
}

.program-image {
    width: 100%;
    height: 180px;
    /* adjust height as you wish */
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.program-image:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Lightbox overlay */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.image-lightbox.open {
    display: flex;
}

.image-lightbox .lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 32px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* =====================================================================
   LEMETSDEK: CLEAN HEADER + REMOVE "ROLLING FLAME" + HERO FULL PHOTO
   Paste-friendly override (keep your content unchanged)
   Put this at the VERY END of your style.css (last lines).
===================================================================== */

/* ---------- 1) Header: remove green bar, make clean transparent/glass ---------- */
.site-header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* slight readable top gradient (like your reference) */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.05));
    pointer-events: none;
    z-index: -1;
}

/* keep header text readable */
.main-nav a {
    color: rgba(255, 255, 255, 0.92) !important;
}

.main-nav a:hover {
    color: #ffffff !important;
}

.main-nav a::after {
    background: #f6b021 !important;
    /* brand underline */
}

/* keep donate/contact button consistent */
.nav-donate {
    background: #01c2fd !important;
    color: #111827 !important;
}

/* IMPORTANT: language toggle untouched (you asked to keep it as-is) */

/* ---------- 2) Remove the “rolling flame / shimmer” under the slogan ---------- */
/* If the effect is on the slogan pill, this disables all animations + shimmer layer */
.hero-ribbon-emphasis {
    animation: none !important;
    text-shadow: none !important;
}

.hero-ribbon-emphasis::after {
    content: none !important;
    /* removes the moving shimmer/flame */
    animation: none !important;
}

/* If you also want the whole ribbon to be steady (no motion) */
.hero-ribbon {
    animation: none !important;
}

/* ---------- 3) Hero: force full-screen photo background (no extra light overlay) ---------- */
.hero {
    min-height: 100vh !important;
    padding-top: 88px !important;
    /* adjust if your header height differs */
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    position: relative !important;
}

/* background photo */
.hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: url("image/3.jpg") center/cover no-repeat !important;
    /* change if needed */
    transform: scale(1.02) !important;
    z-index: -2 !important;
}

/* dark readability overlay (prevents “washed out” look) */
.hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.42) 45%,
            rgba(0, 0, 0, 0.22) 100%) !important;
    z-index: -1 !important;
    opacity: 1 !important;
}

/* make hero text always white over photo */
.hero-copy h1,
.hero-copy p,
.hero-copy .stat-number,
.hero-copy .stat-label,
.eyebrow {
    color: #ffffff !important;
}

/* hero right card: clean glass */
.hero-panel {
    background: rgba(17, 24, 39, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #ffffff !important;
}

/* mobile layout */
@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   🔒 LEMETSDEK FINAL OVERRIDE LAYER (AUTO-GENERATED)
   Put this file as your main style.css (full update)
   Goals:
   - Header stays fixed while scrolling
   - Home (Hero) texts always white in both themes
   - Prevent ribbon/heading overlap on hero
===================================================== */

/* ===============================
   1) HEADER STAYS FIXED ON SCROLL
================================ */

/* Fixed header */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

/* Reserve space under fixed header so content doesn't jump */
body {
    padding-top: 88px;
    /* adjust if header height changes */
}

/* Glass look while fixed */
.site-header {
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
}

/* Keep header text readable */
.site-header .main-nav a {
    color: rgba(255, 255, 255, 0.92) !important;
}

.site-header .main-nav a:hover {
    color: #ffffff !important;
}

.site-header .main-nav a::after {
    background: #f6b021 !important;
}

/* Donate button */
.site-header .nav-donate {
    background: #00ccff !important;
    color: #111827 !important;
}

/* ===============================
   2) HOME HERO — NEVER BREAK AGAIN
================================ */

html[data-theme="light"] {
    --home-hero-text: #ffffff;
}

html[data-theme="dark"] {
    --home-hero-text: #ffffff;
}

.hero {
    position: relative !important;
    min-height: 100vh !important;
    padding-top: 120px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

/* Background image position (keep face left, texts right) */
.hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: url("image/3.jpg") left center / cover no-repeat !important;
    transform: scale(1.02) !important;
    z-index: -2 !important;
}

/* Overlay for readability */
.hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.12) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.65) 100%) !important;
    z-index: -1 !important;
}

/* Hero text always white (HOME only) */
.hero,
.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero span,
.hero li,
.hero .stat-number,
.hero .stat-label {
    color: var(--home-hero-text) !important;
}

/* ===============================
   3) FIX GREEN RIBBON OVERLAP
================================ */

/* Ribbon must not overlay heading */
.hero-ribbon-bar {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto 24px auto !important;
    padding: 0 18px !important;
    z-index: 5 !important;
    display: flex !important;
    justify-content: center !important;
}

/* Ribbon styling */
.hero-ribbon,
.hero-ribbon-emphasis {
    max-width: 720px !important;
    width: fit-content !important;
    padding: 0.85rem 1.2rem !important;
    background: #55b6df71 !important;
    border-radius: 18px !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35) !important;
}

/* Kill shimmer/flame animations */
.hero-ribbon,
.hero-ribbon-emphasis {
    animation: none !important;
    text-shadow: none !important;
}

.hero-ribbon-emphasis::after {
    content: none !important;
    animation: none !important;
}

/* Push hero content below ribbon */
.hero-inner {
    position: relative !important;
    z-index: 3 !important;
    margin-top: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: end !important;
}

.hero-copy {
    max-width: 640px !important;
    margin-left: auto !important;
    text-align: left !important;
}

/* ===============================
   4) MOBILE SAFETY
================================ */
@media (max-width: 880px) {
    body {
        padding-top: 76px;
    }

    /* smaller header on mobile if needed */

    .hero-inner {
        justify-items: start !important;
    }

    .hero-copy {
        max-width: 100% !important;
    }

    .hero::before {
        background-position: center top !important;
    }

    .hero::after {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.62) 0%,
                rgba(0, 0, 0, 0.40) 55%,
                rgba(0, 0, 0, 0.28) 100%) !important;
    }
}


#about.abx-section {
    position: relative;
    isolation: isolate;
}

/* Background dim overlay */
#about.abx-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] #about.abx-section::before {
    background: rgba(0, 0, 0, 0.55);
}

/* Layout */
#about.abx-section .abx {
    max-width: 980px;
    margin: 0 auto;
}

/* Header */
#about.abx-section .abx-head {
    text-align: center;
    padding: 1.2rem 0 0.6rem;
}

/* Small kicker */
#about.abx-section .abx-kicker {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .9;
    margin-bottom: .35rem;
}

/* Title */
#about.abx-section .abx-title {
    margin: 0;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 800;
}

/* Lead paragraph */
#about.abx-section .abx-lead {
    margin: .9rem auto 0;
    max-width: 78ch;
    line-height: 1.9;
    font-size: 1.03rem;
    opacity: .95;
}

/* Chips */
#about.abx-section .abx-metrics {
    margin-top: 1.05rem;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
}

#about.abx-section .abx-chip {
    padding: .42rem .72rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .75);
}

/* Grid */
#about.abx-section .abx-grid {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2rem;
    align-items: start;
}

/* Panels are semantic only (no box) */
#about.abx-section .abx-panel {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Subtitles */
#about.abx-section .abx-subtitle {
    margin: 0 0 .9rem;
    font-size: 1.03rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

#about.abx-section .abx-subtitle::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: .35rem;
    background: var(--accent, #f6b021);
    border-radius: 999px;
}

/* List */
#about.abx-section .abx-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .7rem;
}

#about.abx-section .abx-list li {
    position: relative;
    padding-left: 1.15rem;
    line-height: 1.7;
}

#about.abx-section .abx-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent, #f6b021);
}

/* Mission */
#about.abx-section .abx-mission {
    margin: 0;
    line-height: 1.9;
    opacity: .95;
    max-width: 62ch;
}

/* -----------------------------
   THEME COLORS (FORCED)
   Use high specificity + !important to beat global rules
------------------------------ */

/* LIGHT THEME: dark text */
html:not([data-theme="dark"]) #about.abx-section,
html:not([data-theme="dark"]) #about.abx-section * {
    color: #0f172a;
}

html:not([data-theme="dark"]) #about.abx-section .abx-lead,
html:not([data-theme="dark"]) #about.abx-section .abx-list li,
html:not([data-theme="dark"]) #about.abx-section .abx-mission {
    color: #1f2937 !important;
}

html:not([data-theme="dark"]) #about.abx-section .abx-chip {
    color: #0f172a !important;
    background: rgba(255, 255, 255, .75) !important;
    border-color: rgba(0, 0, 0, .10) !important;
}

/* DARK THEME: white text */
html[data-theme="dark"] #about.abx-section,
html[data-theme="dark"] #about.abx-section * {
    color: #ffffff !important;
}

html[data-theme="dark"] #about.abx-section .abx-lead,
html[data-theme="dark"] #about.abx-section .abx-list li,
html[data-theme="dark"] #about.abx-section .abx-mission {
    color: rgba(255, 255, 255, .92) !important;
}

/* Chips on dark theme */
html[data-theme="dark"] #about.abx-section .abx-chip {
    color: #ffffff !important;
    background: rgba(0, 0, 0, .35) !important;
    border-color: rgba(255, 255, 255, .18) !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    #about.abx-section .abx-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =====================================================
   ABOUT SECTION — REMOVE BACKGROUND IMAGE COMPLETELY
===================================================== */

/* Kill any inherited background image */
#about,
#about.abx-section,
#about.abx-section::before,
#about.abx-section::after {
    background-image: none !important;
}

/* Light theme background */
html:not([data-theme="dark"]) #about.abx-section {
    background-color: #f8fafc !important;
    /* clean light */
}

/* Dark theme background */
html[data-theme="dark"] #about.abx-section {
    background-color: #0b1220 !important;
    /* clean dark */
}

/* Remove any overlay we added before */
#about.abx-section::before {
    content: none !important;
}

/* Ensure content sits cleanly */
#about.abx-section {
    position: relative;
    padding: 4rem 0;
}

/* Optional: subtle divider feel (very professional) */
#about.abx-section {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] #about.abx-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}



/* ====== Contact: 3-card layout helpers ====== */
.contact-grid {
    align-items: stretch;
}

.contact-card {
    display: flex;
    flex-direction: column;
}

.contact-card .contact-form {
    flex: 1;
}

.phone-row {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 0.6rem;
    align-items: center;
}

@media (max-width: 880px) {
    .phone-row {
        grid-template-columns: 1fr;
    }
}

/* status text under buttons */
.form-status {
    font-size: 0.9rem;
    min-height: 1.2em;
}

.form-status.ok {
    color: #55b5df;
}

.form-status.err {
    color: #dc2626;
}

/* ===============================
   PHONE ROW FIX
   Put this at the BOTTOM of style.css
================================ */

/* Make sure label doesn't break flex sizing */
label .phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* COUNTRY SELECT: short + compact */
label .phone-row .country-mini,
label .phone-row .phone-code {
    width: 88px;
    /* short */
    min-width: 88px;
    max-width: 88px;
    padding: 10px 8px;
    border-radius: 12px;
    border: 2px solid #2f5cff;
    background: #fff;

    font-size: 14px;
    font-weight: 700;
    text-align: center;
    appearance: none;
}

/* PHONE INPUT: takes remaining space + big visible numbers */
label .phone-row .phone-input,
label .phone-row input[type="tel"][name="phone"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    /* IMPORTANT: prevents shrinking bugs on mobile */
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid #2f5cff;
    background: #fff;

    font-size: 18px;
    /* make typed number visible */
    font-weight: 800;
    color: #0b1220;
    letter-spacing: 0.8px;
}

/* Placeholder */
label .phone-row input[type="tel"][name="phone"]::placeholder {
    color: #8a93a3;
    font-weight: 600;
}

/* Mobile tweaks */
@media (max-width: 520px) {
    label .phone-row .phone-code {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
        font-size: 13px;
    }

    label .phone-row input[type="tel"][name="phone"] {
        font-size: 17px;
    }
}


/* ======================================================
   MOBILE RESPONSIVE FIX PACK (added)
   Goal: remove split hero on Android, prevent horizontal scrolling,
   and make all sections adapt cleanly on small screens.
====================================================== */

/* Prevent accidental horizontal scroll on phones */
html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* Media elements must never overflow */
img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1120px;
}

/* ---------- Header: stable sizing on Android ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.65rem 1rem;
    gap: 1rem;
}

/* Keep brand text from forcing overflow */
.brand-text {
    min-width: 0;
}

.brand-name,
.brand-tagline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile menu should slide in cleanly and not create side scroll */
@media (max-width: 820px) {
    .main-nav {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* Reduce the Contact pill on very small screens */
@media (max-width: 420px) {
    .nav-donate {
        min-width: auto !important;
        height: 40px;
        padding: 0 1rem !important;
        font-size: 0.92rem;
    }
}

/* ---------- HERO: fix the “half dark / half image” issue ---------- */
/* Force a single, full-width background image on the hero section */
.hero {
    background: url("image/3.jpg") center/cover no-repeat !important;
    min-height: 100vh;
}

/* Disable older conflicting pseudo backgrounds */
.hero::before {
    content: none !important;
}

/* Use ONE overlay only (full width) */
.hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.45) 55%,
            rgba(0, 0, 0, 0.30) 100%) !important;
    opacity: 1 !important;
    z-index: 0 !important;
}

/* Ensure hero content is above overlay */
.hero-inner {
    position: relative;
    z-index: 1;
}

/* Make hero layout stack cleanly on phones */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .hero {
        padding-top: 92px !important;
    }

    .hero-ribbon-bar {
        position: relative !important;
        top: 0 !important;
        margin: 0 0 14px 0;
    }

    .hero-ribbon {
        max-width: 100% !important;
        padding: 14px 14px !important;
        border-radius: 14px !important;
    }

    .hero-actions {
        gap: 0.6rem;
    }

    .hero-stats {
        gap: 1rem;
    }
}

/* ---------- ABOUT / ABX: always stack on small screens ---------- */
.abx-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

@media (max-width: 900px) {
    .abx-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Any grid that accidentally overflows ---------- */
.grid,
.impact-grid,
.footer-inner,
.contact-grid {
    min-width: 0;
}

.card {
    min-width: 0;
}

/* Gallery slider: full width on mobile */
@media (max-width: 700px) {
    .hero-slider {
        width: 100% !important;
        height: 46vh !important;
        border-radius: 14px;
    }

    .hero-thumbs-wrapper {
        width: 100% !important;
    }
}

.amount {
    font-size: 32px;
    font-weight: 700;
}

.prefix {
    margin-right: 6px;
}

/* ===== FIX: remove white strip under header (hero background gap) ===== */
html,
body {
    overflow-x: hidden;
}

body {
    background: #020617;
}

/* prevents white from showing through */

/* Make hero create its own stacking context so ::before doesn't "escape" */
.hero {
    position: relative;
    isolation: isolate;
    /* IMPORTANT */
    margin-top: 0 !important;
}

/* Keep hero background safely behind hero content, but still visible */
.hero::before {
    z-index: -2 !important;
}

.hero::after {
    z-index: -1 !important;
}

.hero-inner,
.hero * {
    position: relative;
    z-index: 1;
}

/* In case the header has a border/outline creating a line */
.site-header {
    border-bottom: 0 !important;
    outline: none !important;
}

/* =========================================================
   ✅ RESPONSIVE + CONFLICT PATCH (APPENDED)
   This keeps ALL your original design,
   and only fixes responsiveness + overflow issues.
   Put this at the VERY END of style.css
   ========================================================= */

/* Stop horizontal scrolling on phones */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Safer wrap for Amharic / long strings inside cards */
.card,
.abx-panel,
.impact-card,
.story,
.program-card,
.support-card {
    min-width: 0;
}

.card p,
.abx-panel p,
.abx-mission,
.abx-lead,
.card li,
.abx-panel li,
.abx-list li,
.impact-card p,
.story p {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.6;
}

/* If any container accidentally clips Amharic text */
.card,
.abx-panel {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Fix: hero "white line / gap" under fixed header on some browsers */
.hero {
    isolation: isolate;
    /* keeps pseudo backgrounds inside hero */
    background: #020617;
    /* fallback instead of white */
    margin-top: 0 !important;
}

/* If header bottom border/outline creates a visible strip */
.site-header {
    border-bottom: 0 !important;
    outline: none !important;
}

/* Grid items: allow shrinking so text doesn't force overflow */
.grid>*,
.abx-grid>* {
    min-width: 0;
}

/* Mobile: stack 2-column areas cleanly */
@media (max-width: 900px) {
    .grid.two {
        grid-template-columns: 1fr !important;
    }

    .abx-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile: prevent images that were set to height:100% inline from breaking layout */
@media (max-width: 900px) {
    .card img {
        height: auto !important;
    }
}

/* Optional: smoother padding for fixed header spacing */
@media (max-width: 520px) {
    .hero {
        padding-top: 96px !important;
    }
}


/* === LEMETSDEK HERO BACKGROUND SLIDESHOW (AUTO) === */
/* This ONLY affects the HOME HERO background image. No layout changes. */
.hero {
    --hero-bg: url("image/3.jpg");
    /* default */
}

/* Force hero background to use the CSS variable, overriding older !important rules */
.hero::before {
    background-image: var(--hero-bg, url("image/3.jpg")) !important;
    background-position: left center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
}

/* Soft fade-in each time JS swaps the image */
.hero.hero-bg-fade::before {
    animation: lemetsdekHeroFadeIn 900ms ease-in-out;
}

@keyframes lemetsdekHeroFadeIn {
    from {
        opacity: 0.35;
    }

    to {
        opacity: 1;
    }
}

/* Optional cinematic zoom (Ken Burns). JS enables this by adding .hero-kenburns */
.hero.hero-kenburns::before {
    animation: lemetsdekHeroKenBurns 24s ease-in-out infinite alternate;
}

@keyframes lemetsdekHeroKenBurns {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.08);
    }
}


/* ===== HOME HERO SLIDESHOW (HTML-based, conflict-free) ===== */
/* We keep the hero layout exactly the same, but swap the background source. */
.hero.has-home-slider::before {
    background: none !important;
    background-image: none !important;
}

/* Slideshow layer sits where the old ::before layer was (behind overlay and text) */
.ldk-home-hero-slider {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.ldk-home-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    opacity: 0;
    transition: opacity 900ms ease-in-out;
    transform: scale(1.02);
}

.ldk-home-hero-slide.is-active {
    opacity: 1;
}

@media (max-width: 768px) {
    .ldk-home-hero-slide {
        object-position: center center;
    }
}

.before-after-section {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.before-after-card {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    background: #111;
    border-radius: 16px;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-side .label {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

.video-side.before .label {
    color: #ff6b6b;
}

.video-side.after .label {
    color: #4cd137;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    font-size: 60px;
    color: #04bef7;
    font-weight: bold;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .before-after-card {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }
}













.support-story-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 20px 40px;
}

.support-story-card {
    max-width: 900px;
    width: 100%;
    background: linear-gradient(180deg, #0e1220, #0a0d18);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.story-header {
    text-align: center;
    margin-bottom: 20px;
}

.story-header h3 {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 8px;
}

.story-header p {
    color: #b5b8c5;
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.story-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.story-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Mobile */
@media (max-width: 768px) {
    .support-story-card {
        padding: 20px;
    }

    .story-header h3 {
        font-size: 22px;
    }
}