:root {
    --teal: #4fc0aa;
    --teal-dark: #3aa892;
    --brown: #af5e22;
    --ink: #4b4b4b;
    --muted: #888;
    --footer: #323131;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
    margin: 0;
    color: #333;
    background: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
.wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
main .wrap { padding-left: 0; padding-right: 0; }
main > article.wrap { padding-top: 60px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.topbar { background: var(--brown); color: #fff; font-size: 12px; }
.topbar-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 41px; }
.top-info, .top-social { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 8px 0; }
.top-social { position: absolute; right: 18px; top: 0; height: 41px; padding: 0; gap: 6px; align-items: flex-end; }
.topbar a { color: #fff; text-decoration: none; }
.topbar i { margin-right: 6px; }
.top-social i { margin-right: 0; font-size: 13px; }
.top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #fff;
    color: #777;
    border-radius: 3px 3px 0 0;
}

.site-header { background: linear-gradient(#fff 0%, #f8f8f8 50%, #f3f3f3 100%); position: relative; z-index: 20; }
.header-bar { display: flex; align-items: center; justify-content: flex-start; min-height: 97px; gap: 28px; }
.logo { display: flex; align-items: center; }
.logo img { width: 223px; height: 69px; object-fit: contain; }
.logo-text { color: #1d2d8a; font-family: Roboto, sans-serif; font-size: 42px; font-weight: 900; letter-spacing: 1px; }
.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--teal);
    font-size: 22px;
    cursor: pointer;
}
.main-nav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav a {
    display: block;
    padding: 36px 22px;
    color: #666;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 19px;
    text-decoration: none;
    text-transform: uppercase;
}
.main-nav a.current,
.main-nav a:hover { color: #4fc0aa; }
.mobile-nav { display: none; }

.slider { position: relative; background: #111; }
.slide { display: none; position: relative; min-height: 280px; }
.slide.active { display: block; }
.slide img { display: block; width: 100%; height: 530px; object-fit: cover; }
.slide-copy {
    position: absolute;
    left: 8%;
    top: 42%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 760px;
}
.slide-copy .title {
    margin: 0;
    padding: 18px 36px;
    background: rgba(0, 0, 0, 0.9);
    color: #fefefe;
    border-radius: 4px;
    font-family: Roboto, sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
}
.slide-copy .sub {
    margin: 0;
    padding: 6px 12px;
    background: #4fc0aa;
    color: #fff;
    border-radius: 4px 4px 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.slide-copy .desc {
    margin: 0;
    color: #030303;
    font-family: "Source Sans 3", sans-serif;
    font-size: 22px;
    font-weight: 700;
}
.slide-copy .dark, .slide-copy .green {
    margin: 0;
    padding: 12px 22px;
    color: #fff;
    border-radius: 3px;
    font-family: Roboto, sans-serif;
    font-weight: 500;
}
.slide-copy .dark { background: rgba(0, 0, 0, 0.85); font-size: 32px; }
.slide-copy .green { background: rgba(152, 212, 96, 0.85); font-size: 26px; }
.slide-copy .pill {
    margin: 0;
    padding: 10px 20px 10px 50px;
    width: 400px;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.9);
    border-left: 2px solid #93b631;
    border-radius: 4px 0 0 4px;
    color: #0a0a0a;
    font-family: Roboto, sans-serif;
    font-size: 22px;
    font-weight: 700;
}
.slide-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    cursor: pointer;
}
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.zigzag {
    width: min(1170px, 100%);
    height: 20px;
    margin: 60px auto;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 15'><polygon fill='%23ebebeb' points='8.99 0 0 9.13 0 14.52 9 5.4 18 14.52 18 9.13'/></svg>") center repeat-x;
}

.project-slider { position: relative; background: #fff; max-width: 1170px; margin: 0 auto 60px; }
.project-slide { display: none; }
.project-slide.active { display: grid; grid-template-columns: minmax(0, 670fr) minmax(0, 470fr); gap: 30px; align-items: start; }
.project-copy { padding: 65px 30px 0 70px; }
.project-copy h2 { margin: 0 0 6px; color: #4b4b4b; font-family: Roboto, sans-serif; font-size: 24px; font-weight: 400; line-height: 1.35; }
.project-copy h2 a { color: inherit; text-decoration: none; }
.project-copy h2 a:hover { color: var(--teal); }
.project-copy h3 { margin: 0 0 16px; color: var(--teal); font-family: Roboto, sans-serif; font-size: 18px; font-weight: 600; }
.project-copy p { margin: 0 0 24px; color: #888; font-size: 13px; line-height: 26px; }
.money-spent { color: #7c7c7c; font-family: Roboto, sans-serif; font-size: 13px; }
.project-photo img { width: 100%; height: 470px; max-height: 470px; object-fit: cover; display: block; }
.project-slider .slide-nav { background: rgba(79, 192, 170, 0.85); }

.section { padding: 36px 0 48px; }
.section h2.center {
    margin: 0 0 28px;
    text-align: center;
    font-family: "Abril Fatface", serif;
    font-size: 34px;
    font-weight: 400;
    color: #333;
}
.cctv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.cctv-card { text-align: center; }
.cctv-card h3 { margin: 0 0 12px; font-family: Roboto, sans-serif; font-size: 18px; font-weight: 500; color: #333; }
.cctv-card img { width: 300px; height: 300px; max-width: 100%; object-fit: contain; margin: 0 auto; }
.cctv-card p { margin: 0; color: #555; font-size: 14px; }
.cctv-card a { color: #333; text-decoration: none; }

.quote {
    margin-top: 0;
    padding: 40px 0 48px;
    background: #f6f6f6 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><circle cx='40' cy='40' r='1.2' fill='%23ddd'/></svg>");
}
.quote-inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1170px; margin: 0 auto; }
.quote img { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; }
.quote strong { display: block; font-family: Roboto, sans-serif; }
.quote span { color: var(--teal); font-size: 13px; }
.quote p { margin: 16px 0 0; color: #555; width: 100%; }

.page-banner img { display: block; width: 100%; height: auto; }
.page-title { padding: 18px 0 8px; }
.page-title h1 { margin: 0; color: #333; font-family: Roboto, sans-serif; font-size: 32px; font-weight: 400; }
.page-title h1 span, .accent { color: var(--teal); }
.prose { padding-bottom: 48px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose h2, .prose h3, .prose h4 { font-family: Roboto, sans-serif; font-weight: 500; color: #333; }
.prose img { max-width: 100%; height: auto; }
.prose img.project-hero { width: 100%; max-width: 100%; height: 455px; max-height: 455px; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; padding-bottom: 40px; }
.split img { width: 100%; max-width: 100%; height: auto; }
.donate-split { display: grid; grid-template-columns: minmax(0, 870fr) minmax(0, 270fr); gap: 30px; align-items: start; padding-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-bottom: 48px; }
.card { background: #fff; border: 1px solid #eee; }
.card img { width: 100%; height: 184px; object-fit: cover; display: block; background: #f3f3f3; }
.supporter-cards .card img { height: 270px; }
.card h2, .card h3 { margin: 0; padding: 12px 14px 16px; font-family: Roboto, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.4; }
.card a { color: #333; text-decoration: none; }
.card a:hover { color: var(--teal); }
.card .role { display: block; padding: 0 14px 14px; color: var(--teal); font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding-bottom: 48px; }
.gallery-grid a { display: block; background: #f4f4f4; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }

.media-page.wrap { padding-left: 0; padding-right: 0; padding-bottom: 48px; }
.media-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 28px;
    align-items: start;
}
.media-group h2 {
    margin: 0 0 8px;
    color: #333;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
}
.media-slider { position: relative; text-align: center; }
.media-slider a { display: none; max-width: 100%; }
.media-slider a.is-active { display: inline-block; vertical-align: top; }
.media-slider img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.media-prev,
.media-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
}
.media-prev { left: 4px; }
.media-next { right: 4px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
}
.lightbox[hidden] { display: none !important; }
.lightbox figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: min(1100px, 92vw);
    margin: 0;
}
.lightbox img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 82vh;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.lightbox figcaption {
    width: min(720px, 92vw);
    margin-top: 8px;
    color: #fff;
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.project-hero { width: 100%; height: 455px; max-height: 455px; object-fit: cover; display: block; margin-bottom: 8px; }
.cause-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0 18px; }
.cause-box { min-width: 140px; text-align: center; }
.cause-box h3 { margin: 0; color: var(--teal); font-size: 28px; }
.cause-box i { font-style: normal; font-size: 11px; letter-spacing: 0.4px; color: #777; }
.donate-link { display: inline-block; background: var(--teal); color: #fff !important; text-decoration: none; padding: 10px 16px; font-family: Roboto, sans-serif; }
.meta { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0 0 16px; color: #777; font-size: 13px; }
.profile { display: block; padding-bottom: 48px; }
.profile img { display: block; width: auto; max-width: 886px; height: auto; margin-left: -15px; }
.profile > div { max-width: 570px; }
.profile h1 { margin: 0 0 6px; font-family: Roboto, sans-serif; font-weight: 400; }
.designation { color: var(--teal); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding-bottom: 48px; }
.contact-grid h2 { margin: 0 0 12px; font-family: Roboto, sans-serif; font-size: 18px; letter-spacing: 0.4px; }
.contact-grid iframe { width: 100%; height: 182px; border: 0; margin-bottom: 12px; }
.contact-details { list-style: none; margin: 16px 0 0; padding: 0; }
.contact-details li { margin: 0 0 12px; }
.contact-details span { display: block; color: var(--teal); font-weight: 700; font-size: 12px; letter-spacing: 0.4px; }
.enquiry label { display: block; margin-bottom: 4px; }
.enquiry input, .enquiry textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font: inherit;
}
.enquiry .send {
    border: 0;
    border-radius: 5px;
    background: var(--teal);
    color: #fff;
    padding: 17px 30px;
    cursor: pointer;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.4px;
}
.req { color: var(--teal); }
.form-note { padding: 8px 10px; }
.form-note.ok { background: #e7f8f4; color: #14695a; }
.form-note.error, .field-error { color: #a12626; }
.field-error { display: block; font-size: 12px; }
.donate-box { background: #f7f7f7; padding: 0; }
.donate-box h2 { margin-top: 0; }
.amount { color: var(--teal); font-size: 22px; font-weight: 700; }

.site-footer { background: var(--footer); color: #cacaca; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 25px; text-align: left; }
.site-footer p { margin: 0; font-size: 12px; }
.site-footer .copy-lead { color: #fff; }
.site-footer a { color: #bfbfbf; }
.site-footer a:hover { color: #fff; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0 10px; }
.pager a, .pager .current { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid #ddd; color: #333; text-decoration: none; }
.pager .current, .pager a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.social-connect {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
    margin: 28px 0 10px;
}
.social-row {
    position: static;
    top: auto;
    right: auto;
    height: auto;
    justify-content: flex-start;
    align-items: center;
    gap: 11px;
}
.social-row a {
    width: 36px;
    height: 36px;
    color: var(--teal);
    font-size: 16px;
    background: #fff;
    border-radius: 0;
}

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; }
    .mobile-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        max-height: 70vh;
        overflow: auto;
    }
    .mobile-nav.open { display: block; }
    .mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
    .mobile-nav a { display: block; padding: 10px 18px; color: #333; text-decoration: none; }
    .mobile-nav a:hover { color: var(--teal); }
    .slide img { height: 280px; }
    .slide-copy .title, .slide-copy .dark { font-size: 22px; padding: 10px 14px; }
    .slide-copy .green, .slide-copy .desc, .slide-copy .pill { font-size: 16px; width: auto; }
    main > article.wrap { padding-top: 24px; padding-left: 15px; padding-right: 15px; }
    .project-slide.active, .split, .donate-split, .contact-grid { grid-template-columns: 1fr; }
    .project-copy { padding: 24px 0; }
    .project-photo img { height: auto; max-height: 280px; }
    .profile img { margin-left: 0; max-width: 100%; }
    .cctv-grid, .cards { grid-template-columns: 1fr; }
    .cctv-card img { width: 180px; height: 180px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zigzag { margin: 16px auto; }
    .media-page.wrap { padding-left: 15px; padding-right: 15px; }
    .media-groups { grid-template-columns: 1fr; }
    .topbar-inner { flex-direction: column; align-items: flex-start; }
    .header-bar { min-height: 74px; }
    .logo img { width: 160px; height: 50px; }
}
