
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #0876c9;
    --deep: #06477c;
    --navy: #082e52;
    --orange: #ff8500;
    --ink: #172c3b;
    --muted: #617484;
    --pale: #edf7ff;
    --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
}

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

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* TOP BAR */
.topbar {
    background: #0766b2;
    color: white;
    font-size: 14px;
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* HEADER AND NAVIGATION */
.site-header {
    background: #fff;
    box-shadow: 0 3px 18px #082b2010;
    position: relative;
    z-index: 3;
}

.nav-wrap {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 270px;
}

.brand-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex-shrink: 0;
}

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

.brand-text strong {
    font: 800 25px Manrope, sans-serif;
    color: #0866b3;
    letter-spacing: -.7px;
}

.brand-text small {
    font-size: 17px;
    font-weight: 800;
    color: #0876c9;
}

.brand-text em {
    font-size: 9px;
    color: var(--deep);
    margin-top: 5px;
    font-style: normal;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.05vw, 17px);
    font-size: 15px;
    font-weight: 700;
}

.main-nav > a:not(.donate-button) {
    padding: 12px 2px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.main-nav > a.active,
.main-nav > a:not(.donate-button):hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.main-nav .active { font-weight: 800; }

.donate-button {
    background: var(--orange);
    color: white;
    padding: 14px 23px;
    border-radius: 28px;
    white-space: nowrap;
    font-size: 16px;
    box-shadow: 0 7px 18px #f28a082b;
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--pale);
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 23px;
    color: var(--deep);
}

/* HERO */
.hero {
    min-height: 400px;
    position: relative;
    background: #123f68;
    overflow: hidden;
    color: #fff;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    min-height: 400px;
}

.fallback-hero {
    background-image:
        linear-gradient(90deg, rgba(3,36,78,.94), rgba(3,36,78,.45)),
        url('../images/hero.jpg');
    background-position: center;
    background-size: cover;
}

.hero-content {
    position: relative;
    padding: 52px 0;
    z-index: 1;
}

.eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin: 0 0 12px;
}

.hero h1 {
    font: 800 clamp(39px, 4.8vw, 62px)/1.08 Manrope, sans-serif;
    letter-spacing: -1.4px;
    margin: 0 0 18px;
    max-width: 660px;
}

.hero-copy {
    font-size: 19px;
    line-height: 1.65;
    max-width: 560px;
    margin: 0 0 25px;
    color: #f4f8ff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    padding: 14px 23px;
    font-weight: 700;
    font-size: 16px;
    min-height: 46px;
    border: 1px solid transparent;
    transition: .2s;
    cursor: pointer;
}

.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: var(--deep); }
.button-light { background: #eaf5ff; color: var(--deep); }
.button-orange { background: var(--orange); color: white; }

.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.hero-dot {
    border: 0;
    border-radius: 50%;
    width: 11px;
    height: 11px;
    padding: 0;
    background: #ffffffa6;
    cursor: pointer;
}

.hero-dot.is-active {
    background: #0787ed;
    transform: scale(1.15);
}

/* PILLARS */
.pillars { background: #fff; padding: 25px 0; }

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.pillar-grid article {
    text-align: center;
    padding: 7px 18px;
    border-right: 1px solid #d3e4f3;
}

.pillar-grid article:last-child { border: 0; }

.pillar-icon {
    font-size: 34px;
    color: var(--blue);
    font-weight: 700;
}

.pillar-grid h3 {
    color: var(--deep);
    font-size: 17px;
    margin: 3px 0 4px;
}

.pillar-grid p {
    font-size: 15px;
    line-height: 1.5;
    color: #526b80;
    margin: 0;
}

/* GENERAL SECTIONS */
.section { padding: 48px 0; }
.programs-preview { background: var(--pale); }

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 22px;
}

.blue-text { color: var(--blue); }

.section-heading h2,
.donate-inner h2 {
    font: 800 clamp(24px, 3vw, 34px)/1.2 Manrope, sans-serif;
    margin: 0 0 7px;
    color: var(--deep);
}

.section-heading p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    max-width: 630px;
    font-size: 16px;
    line-height: 1.65;
}

/* GENERAL CARD GRID */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* HOMEPAGE PROGRAM CARDS */
.programs-preview .card-grid.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    width: 100%;
}

.programs-preview .program-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    align-self: start;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 7px 22px rgba(16,58,37,.08);
}

.programs-preview .program-image-box {
    position: relative;
    display: block;
    flex: 0 0 220px;
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    background: #eaf4f8;
}

.programs-preview .program-image-box img,
.programs-preview .program-card-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
}

.programs-preview .program-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #edf7ff;
    color: var(--blue);
    font-size: 44px;
}

.programs-preview .program-card .card-body {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    padding: 18px;
    background: #fff;
}

.programs-preview .program-card .card-body h3 {
    display: block;
    font: 700 20px/1.35 Manrope, sans-serif;
    margin: 0 0 10px;
    color: var(--deep);
    overflow-wrap: anywhere;
}

.programs-preview .program-card .card-body p {
    display: block;
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
    overflow-wrap: anywhere;
}

/* OTHER CARD STYLES */
.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 7px 22px #103a2510;
}

.card-art {
    height: 135px;
    display: grid;
    place-items: center;
    font-size: 44px;
    color: #fff;
    font-weight: 700;
}

.art-one { background: linear-gradient(135deg, #0876c9, #8bc8f6); }
.art-two { background: linear-gradient(135deg, #c17b3a, #e9c78b); }
.art-three { background: linear-gradient(135deg, #27677a, #8fc5d9); }
.art-four { background: linear-gradient(135deg, #e39a16, #f4cf77); }

.card-body { padding: 17px; }

.card-body h3,
.card-body h2 {
    font: 700 20px/1.35 Manrope, sans-serif;
    margin: 0 0 7px;
    color: var(--deep);
}

.card-body p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
}

/* DONATION SECTION */
.donate-band { background: #e3f2ff; padding: 38px 0; }

.donate-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.donate-inner p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

/* FOOTER */
.site-footer {
    background: #063c68;
    color: #e5f0f9;
    padding: 38px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 35px;
    padding-bottom: 30px;
}

.footer-brand {
    font: 800 20px Manrope, sans-serif;
    color: white;
}

.footer-grid p {
    font-size: 13px;
    color: #c5d9e8;
    max-width: 370px;
}

.footer-grid h3 {
    font-size: 14px;
    color: white;
    margin: 0 0 10px;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    font-size: 13px;
    margin: 6px 0;
    color: #c5d9e8;
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    padding: 13px 0;
    font-size: 12px;
    color: #c5d9e8;
}

/* INNER PAGES */
.inner-page { padding: 48px 0 65px; min-height: 55vh; }

.inner-page h1 {
    font: 800 clamp(36px, 4.4vw, 50px)/1.15 Manrope, sans-serif;
    color: var(--deep);
    margin: 0 0 15px;
}

.inner-page h2 {
    font-family: Manrope, sans-serif;
    color: var(--deep);
}

.lead {
    font-size: 20px;
    line-height: 1.65;
    max-width: 800px;
    color: var(--muted);
    margin: 0 0 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 25px 0;
}

.info-box {
    background: var(--pale);
    border: 1px solid #dce9f3;
    border-radius: 12px;
    padding: 23px;
}

.info-box h2 { margin: 0 0 8px; font-size: 21px; }
.info-box p { margin: 0 0 10px; color: #536b7e; }

.page-cards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 25px;
}

.page-cards .card-art { height: 150px; }

.empty-gallery {
    padding: 40px 25px;
    text-align: center;
    background: var(--pale);
    border-radius: 15px;
    max-width: 760px;
    margin: 25px auto;
}

.empty-gallery > span { font-size: 40px; color: var(--blue); }
.empty-gallery h2 { margin: 8px 0; }

.empty-gallery p {
    color: var(--muted);
    max-width: 570px;
    margin: auto;
}

.small-note { font-size: 13px; color: var(--muted); }
.donation-box { max-width: 700px; }

/* LOGIN */
.login-card {
    max-width: 500px;
    margin: 0 auto;
    background: #f2f8fd;
    border: 1px solid #dceaf5;
    padding: 30px;
    border-radius: 16px;
}

.login-card h1 { font-size: 32px; }

.login-card label,
.editor-form label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin: 15px 0;
    color: #193d5c;
}

.login-card input,
.editor-form input[type=text],
.editor-form input[type=number],
.editor-form input[type=file],
.editor-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px;
    border: 1px solid #c6d9e9;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    color: #18384e;
}

.login-card input {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px;
    border: 1px solid #c6d9e9;
    border-radius: 8px;
}

.full-width { width: 100%; }

.alert,
.success-alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.alert { background: #fff0ee; color: #9d2b20; }
.success-alert { background: #e7f8eb; color: #176535; }

/* ADMIN DASHBOARD */
.admin-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.admin-tile,
.admin-panel {
    background: #fff;
    border: 1px solid #dce9f3;
    border-radius: 14px;
    padding: 23px;
    box-shadow: 0 8px 26px #082e520c;
    margin-bottom: 20px;
}

.admin-tile h2,
.admin-panel h2 {
    color: var(--deep);
    font: 800 20px Manrope, sans-serif;
    margin: 0 0 8px;
}

.admin-tile p { color: var(--muted); margin: 0 0 18px; }
.admin-tile { background: var(--pale); }

.admin-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.text-link {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    margin: 12px 0;
}

.banner-list { display: grid; gap: 14px; margin: 25px 0; }

.banner-row {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 18px;
    background: #f7fbff;
    border: 1px solid #dce9f3;
    padding: 13px;
    border-radius: 12px;
}

.banner-row > img {
    width: 220px;
    height: 105px;
    object-fit: cover;
    border-radius: 8px;
    background: #e2eef8;
}

.banner-row-info h2 { margin: 0 0 4px; font-size: 19px; }
.banner-row-info p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }

.banner-row-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.banner-row-actions form { margin: 0; }

.status {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.status-on { background: #e0f7e8; color: #126a35; }
.status-off { background: #e9edf1; color: #53616c; }

.editor-form {
    max-width: 850px;
    background: #f7fbff;
    border: 1px solid #dce9f3;
    border-radius: 14px;
    padding: 25px;
}

.editor-form small {
    display: block;
    font-weight: 400;
    color: var(--muted);
    margin-top: 5px;
}

.current-preview img {
    display: block;
    max-width: 100%;
    width: 480px;
    max-height: 210px;
    object-fit: cover;
    border-radius: 8px;
}

.current-preview p { font-weight: 700; }

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

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding-top: 22px;
}

.checkbox-label input { width: 18px; height: 18px; }
.form-actions { display: flex; gap: 10px; margin-top: 22px; }

/* ADMIN FORMS AND CONTENT */
.admin-form {
    display: grid;
    gap: 15px;
    max-width: 760px;
}

.admin-form label,
.login-card label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    color: var(--deep);
}

.admin-form input,
.admin-form textarea,
.login-card input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #c8d9e7;
    border-radius: 8px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.admin-form input:focus,
.admin-form textarea:focus,
.login-card input:focus {
    outline: 2px solid #91cdf8;
    border-color: var(--blue);
}

.admin-form input[type=file] { padding: 10px; background: #f7fbff; }

.content-admin-section {
    margin: 32px 0;
    padding: 24px;
    background: #f5faff;
    border: 1px solid #dce9f3;
    border-radius: 16px;
}

.content-admin-section > h2 { margin: 0 0 8px; font-size: 27px; }
.content-admin-section > p { font-size: 16px; color: var(--muted); }

.content-form {
    margin: 18px 0;
    max-width: 100%;
    background: #fff;
}

.content-form h3 { margin-top: 0; font-size: 21px; }

.editor-form textarea,
.editor-form select {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px;
    border: 1px solid #c6d9e9;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    color: #18384e;
}

.content-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px;
    margin: 10px 0;
    background: #fff;
    border: 1px solid #dce9f3;
    border-radius: 10px;
}

.content-list-row p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.content-list-row form {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.content-list-row select {
    padding: 9px;
    border: 1px solid #c6d9e9;
    border-radius: 7px;
    font: inherit;
    max-width: 190px;
}

.need-contact {
    margin-top: 14px !important;
    padding-top: 10px;
    border-top: 1px solid #e3edf5;
}

/* GALLERY AND MEDIA */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.media-card {
    overflow: hidden;
    border: 1px solid #dce9f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px #082e520b;
}

.media-card > img,
.media-card > video {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #eef5fa;
}

.media-card .card-body h2 { font-size: 18px; }

.action-links {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.action-links a,
.admin-table a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
}

.action-links .danger-link { color: #b42318; }
.subheading { margin-top: 34px; color: var(--deep); }

/* ADMIN TABLES */
.table-wrap { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e1eaf2;
}

.admin-table th { background: #f0f7fc; color: var(--deep); }

/* REPORTS */
.report-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.status-pill {
    background: #eaf5ff;
    color: #075da0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}

.report-list .admin-panel p { overflow-wrap: anywhere; }

/* WORKER LOGIN */
.worker-login-card {
    max-width: 520px;
    margin: 12px auto;
    background: linear-gradient(180deg, #fff 0%, #f1f8fd 100%);
    box-shadow: 0 18px 50px rgba(6,60,104,.12);
    border-radius: 20px;
    padding: clamp(24px, 5vw, 42px);
}

.worker-login-logo {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 16px;
    margin: 0 auto 18px;
    background: #fff;
    padding: 5px;
}

.worker-login-card > .eyebrow,
.worker-login-card > h1,
.worker-login-card > p:not(.eyebrow):not(.login-help) {
    text-align: center;
}

.worker-login-card form { margin-top: 24px; }
.worker-login-card input { min-height: 48px; }
.login-help { text-align: center; font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.worker-login-card .button { min-height: 48px; }

.program-photo {
    display: block;
    width: 100%;
    height: 185px;
    object-fit: cover;
    background: #eaf4f8;
}

/* LINKS */
.action-links a { text-decoration: underline; }

/* RESPONSIVE TABLETS */
@media (max-width: 1120px) {
    .nav-wrap { flex-wrap: wrap; padding: 16px 0; }

    .menu-toggle { display: block; }

    .main-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 10px 0;
        font-size: 17px;
    }

    .main-nav.open { display: flex; }
    .main-nav > a:not(.donate-button) { padding: 12px 5px; }
    .donate-button { text-align: center; }

    .pillar-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 18px;
    }

    .pillar-grid article:nth-child(3) { border-right: 0; }

    .card-grid,
    .programs-preview .card-grid.program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* RESPONSIVE MOBILE */
@media (max-width: 650px) {
    .topbar-inner {
        gap: 7px;
        padding: 9px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-wrap { min-height: auto; }
    .brand { min-width: 0; }
    .brand-logo { width: 57px; height: 57px; }
    .brand-text strong { font-size: 22px; }
    .brand-text small { font-size: 14px; }
    .brand-text em { display: none; }
    .main-nav { font-size: 18px; }

    .hero,
    .hero-slide.is-active { min-height: 440px; }

    .hero-content { padding: 40px 0; }
    .hero-copy { font-size: 17px; }

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

    .pillar-grid article {
        border-right: 0;
        border-bottom: 1px solid #d6e0da;
        padding: 12px;
    }

    .section-heading,
    .donate-inner,
    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .card-grid,
    .programs-preview .card-grid.program-grid,
    .page-cards,
    .info-grid,
    .footer-grid,
    .admin-tiles,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .programs-preview .program-image-box {
        height: 190px;
        min-height: 190px;
        max-height: 190px;
        flex-basis: 190px;
    }

    .banner-row { grid-template-columns: 1fr; }
    .banner-row > img { width: 100%; height: 170px; }
    .card-art { height: 160px; }
    .inner-page { padding: 35px 0 48px; }
    .editor-form { padding: 16px; }
    .worker-login-card { padding: 23px 18px; }
    .worker-login-logo { width: 72px; height: 72px; }
    .content-admin-section { padding: 14px; }

    .content-list-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-list-row form { width: 100%; flex-wrap: wrap; }
    .content-list-row select { flex: 1; }

    .report-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-panel,
    .admin-tile { padding: 17px; }

    .media-card > img,
    .media-card > video { height: 190px; }
}
/* Make all five program cards equal in height */
.programs-preview .program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.programs-preview .program-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    overflow: hidden;
}

.programs-preview .program-image-box {
    width: 100%;
    height: 220px;
    flex: 0 0 220px;
    overflow: hidden;
}

.programs-preview .program-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programs-preview .program-card .card-body {
    flex: 1;
    min-height: 160px;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Responsive layout */
@media (max-width: 900px) {
    .programs-preview .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .programs-preview .program-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   NGO FOOTER - IMPROVED DESIGN
========================================= */

.site-footer {
    font-size: 17px;
    line-height: 1.8;
}

.site-footer .footer-grid {
    padding-top: 45px;
    padding-bottom: 40px;
    gap: 35px;
}

.site-footer .footer-column {
    min-width: 0;
}

.site-footer .footer-brand {
    display: inline-block;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 15px;
}

.site-footer h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 18px;
}

.site-footer p,
.site-footer .footer-column > a:not(.footer-brand) {
    font-size: 17px;
    line-height: 1.9;
}

.site-footer .footer-column > a:not(.footer-brand) {
    display: block;
    margin-bottom: 8px;
}

.site-footer a {
    transition: color 0.2s ease;
}

.site-footer .footer-bottom {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

/* ShowSoft Tech Ltd developer credit */
.site-footer .website-credit {
    background: #102b25;
    color: #ffffff;
    padding: 20px 12px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 17px;
    line-height: 1.8;
}

.site-footer .website-credit strong {
    display: inline-block;
    color: #f4c542;
    font-size: 19px;
    font-weight: 800;
    margin-left: 5px;
}

/* Mobile footer */
@media (max-width: 600px) {
    .site-footer .footer-grid {
        padding-top: 30px;
        padding-bottom: 25px;
        gap: 25px;
    }

    .site-footer .footer-brand {
        font-size: 21px;
    }

    .site-footer h3 {
        font-size: 20px;
    }

    .site-footer p,
    .site-footer .footer-column > a:not(.footer-brand) {
        font-size: 16px;
    }

    .site-footer .footer-bottom {
        font-size: 14px;
    }

    .site-footer .website-credit {
        font-size: 15px;
    }

    .site-footer .website-credit strong {
        font-size: 18px;
    }
}