* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #1F2933;
    background: #F8FAFC;
    line-height: 1.7;
    padding-top: 110px;
    /* space for fixed header */
}

:root {
    --primary: #0f766e;
    /* NGO green */
    --dark: #0f172a;
    --light: #f8fafc;
    --muted: #64748b;
    --accent: #facc15;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    max-width: 760px;
    margin: 0 auto;
    letter-spacing: -0.5px;
    animation: fadeUp 1s ease forwards;
}

.section {
    padding: 4.5rem 1.25rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--dark);
}

.section-titles {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: auto;
}

.center {
    text-align: center;
}

/*
body.header-sticky {
    padding-top: 80px;  
}*/

.container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
}

.card h3 {
    margin-top: 0;
    color: #0F766E;
}

header {
    background: #1e6f5c;
    color: white;
    padding: 60px 20px;
    text-align: center;
}



.light {
    background: #f4f4f4;
}



h1,
h2 {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #f9a826;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.btn:hover {
    background: #e08e1b;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

footer {
    background: #222;
    color: #ccc;
    text-align: center;
}

.small {
    font-size: 14px;
    color: #555;
}

nav {
    margin-top: 10px;
}



nav a {
    color: #fff;
    margin: 0 12px;
    text-decoration: none;
    font-weight: bold;
}

/* Nav link hover & active */
.nav-link {
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #f9a826;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Donate button – stronger CTA */
.donate-link {
    background: linear-gradient(135deg, #f4c430, #d2a709);
    box-shadow: 0 6px 14px rgba(210, 167, 9, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0.5rem 1rem;
        border-radius: 20px;
        font-weight: 600;
}

.donate-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(210, 167, 9, 0.45);
}


/* FOOTER */
.footer-col iframe {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    border: none;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badges img {
    height: 45px;
    opacity: 0.9;
}

.ngo-footer {
    background: #0f3d2e;
    color: #e6f2ee;
    padding-top: 60px;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-col p {
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e6f2ee;
    text-decoration: none;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer-col .legal li {
    font-size: 14px;
}

.footer-trust {
    background: #0b2e22;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #08251c;
    font-size: 14px;
}

.ngo-footer a[href^="mailto"] {
    color: #cbd5e1 !important;
}
/*
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    margin-top: 10px;
}*/

/* Mobile Styles 
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        background: #1e6f5c;
        margin-top: 15px;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu-toggle {
        display: block;
    }
}*/

#donationForm input:focus {
    outline: none;
    border-width: 2px;
    border-color: #0F766E;
}

/* FORM */
#donationForm input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.btn-donate-main {
    width: 100%;
    background: #1e7f5c;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.payment-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #555;
}

/* IMPACT STATS */
.impact-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 50px;
}

.impact-stats span {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e7f5c;
}

.impact {
    padding: 50px 20px;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #115e59);

}

.impact h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.impact p {
    font-size: 1rem;
    opacity: 0.9;
}

.impact-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 60px;
}

.impact-images img {
    border-radius: 10px;
    height: 180px;
    object-fit: cover;
}

.impact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.impact-box {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.impact-box h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #facc15;
}

.impact-box p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/*impacts end here*/

/* PROGRAMS PREVIEW */
.programs-preview {
    background: #f8fafc;
}

.cards {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

/* TAX NOTE */
.tax-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #1e7f5c;
    font-weight: 600;
}

/* SUCCESS POPUP */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.success-box {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    max-width: 360px;
}

.success-box button {
    margin-top: 15px;
    padding: 10px 18px;
    background: #1e7f5c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/*index trust*/
.trust {
    background: #ffffff;
}

.trust-grid {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    text-align: center;
}

.trust-grid div {
    padding: 1.25rem;
    border-radius: 14px;
    background: #f1f5f9;
    font-weight: 600;
    color: var(--dark);
}

/*end here index trust*/

/*Volunteer CTA (emotion + authority)*/
.bg-dark {
    background: var(--dark);
    color: #fff;
}

.bg-dark h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bg-dark p {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    color: #cbd5f5;
}

/*Volunteer CTA (emotion + authority)*/

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section {
        padding: 3.5rem 1.25rem;
    }
}

/*Donate CTA (index page final conversion push)*/
.donate-cta {
    background: linear-gradient(135deg, #facc15, #fde047);
    color: #1f2933;
}

.donate-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.donate-cta p {
    max-width: 650px;
    margin: auto;
    font-weight: 500;
}

/*Donate CTA (index page final conversion push)*/

/* TRUST */
.donation-trust {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.qr-img {
    max-width: 260px;
    margin-bottom: 20px;
}

.bank-details h4 {
    margin-bottom: 10px;
}

.trust-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #1e7f5c;
    font-weight: 600;
}

.donation-hero {
    height: 380px;
    background: url('../assets/d1.jpg') center/cover no-repeat;
    position: relative;
}

.donation-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 127, 92, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    color: #fff;
}

.donation-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.qr-card {
    background: #ffffff;
    border: 2px dashed #1e7f5c;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
}

.qr-card img {
    width: 100%;
    height: 500px;
    display: block;
    margin: auto;
}

.qr-note {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e7f5c;
}

.bank-strip {
    background: #f4f8f6;
    padding: 20px;
    border-left: 5px solid #1e7f5c;
    margin-top: 20px;
    border-radius: 6px;
}

.bank-strip ul {
    padding-left: 0;
    list-style: none;
}

.bank-strip li {
    margin-bottom: 6px;
}

.ngo-proof {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    opacity: 0.85;
}

.ngo-proof img {
    height: 55px;
}

/* MOBILE */
@media (max-width: 768px) {
    .donation-presets {
        grid-template-columns: 1fr;
    }
}

/* DONATION PRESETS */
.donation-presets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.donation-presets button {
    background: #F1F5F9;
    border: 2px solid #0F766E;
    border-radius: 8px;
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donation-presets button:hover,
.donation-presets button.active {
    border-color: #1e7f5c;
    background: #d7efe7;
}

.donation-presets button small {
    display: block;
    font-weight: 500;
    color: #475569;
}

.donation-presets button:hover {
    background: #0F766E;
    color: #fff;
}

/* ---------- DONATION PAGE ---------- */
.donation-section {
    padding: 80px 0;
    background: #f6f9f8;
}

.donation-header {
    text-align: center;
    margin-bottom: 10px;
}

.donation-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* GRID */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.why-donate {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.why-donate div {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.donation-presets .popular {
    border-color: #1e7f5c;
    position: relative;
}

.donation-presets .popular span {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #1e7f5c;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 20px;
}

.sticky-donate {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1e7f5c;
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.sticky-donate.show {
    opacity: 1;
    pointer-events: auto;
}

.sticky-donate button {
    background: #fff;
    color: #1e7f5c;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    opacity: 0.8;
}

.trust-badges img {
    height: 60px;
}

.btn-donate-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.human-note {
    margin-top: 15px;
    font-style: italic;
    color: #555;
}

.donation-flow {
    background: #f0f7f4;
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
}

/* FORM BOX */
.donation-box {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.donation-box h3 {
    margin-bottom: 20px;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 85vh;
    background: url("/assets/d1.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.676),
            rgba(15, 23, 42, 0.767));
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e5e7eb;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/*her0 section end here*/

/*about snippet on index.html*/
.about-snippet {
    background: #ffffff;
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-snippet h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-snippet p {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.image-box img {
    width: 100%;
    height: 120%;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}



.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    color: #16a34a;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-titl {
    text-align: center;
    font-size: 36px;
    margin-bottom: 16px;
    color: #0f172a;
}

.section-intro {
    max-width: 640px;
    margin: 0 auto 60px;
    text-align: center;
    color: #475569;
    font-size: 16px;
}

.programs-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.program-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 34px 28px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.program-card .icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.program-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #0f172a;
}

.program-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.program-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.program-content {
    padding: 20px;
}

.program-cta {
    margin-top: 60px;
    text-align: center;
}

/* Highlight flagship program */
.program-card.highlight {
    border: 2px solid #16a34a;
    background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

/* BUTTON VARIANTS */
.btn-primary {
    background: #f9a826;
    color: #000;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

.programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.program-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.program-card h3 {
    color: #1e6f5c;
    margin-bottom: 10px;
}

.slider {
    overflow: hidden;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slide 18s infinite;
}

.slide {
    width: 100%;
    background-size: cover;
    background-position: center;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    33% {
        transform: translateX(-100%);
    }

    66% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

.footer-map {
    background: #082a21;
    padding: 35px 20px;
    text-align: center;
}

.footer-map h4 {
    color: #ffffff;
    margin-bottom: 20px;
}

.map-box {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.map-box iframe {
    width: 100%;
    height: 260px;
    border: 0;
}

/* PAGE HERO */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url('../assets/d2.jpg') center/cover no-repeat;
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* GENERAL */


.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* ABOUT */


.about-section h2 {
    margin-bottom: 15px;
}

.about-card {
    background: #f8f9fa;
    padding: 30px;
    border-left: 5px solid #1e7f5c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* VISION MISSION */
.vm-section {
    background: #f3f7f5;
}

.vm-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.vm-card h3 {
    margin-bottom: 15px;
    color: #1e7f5c;
}

.vm-card ul {
    padding-left: 18px;
}

.vm-card li {
    margin-bottom: 8px;
}

/* TRUST */
.trust-section {
    text-align: center;
}

.trust-box {
    background: #1e7f5c;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
}

.trust-box h3 {
    margin-bottom: 10px;
}

/* ---------- ANIMATION BASE ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Card hover micro-interaction */
.about-card,
.vm-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover,
.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ---------------- HEADER BASE ---------------- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1e6f5c;
    will-change: transform, opacity;
    padding: 22px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;

    opacity: 0;
    transform: translateY(-14px);
    transition:
        padding 0.35s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.35s ease,
        background-color 0.35s ease,
        transform 0.35s ease;
}

.site-header.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Sticky Header */

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1e6f5c;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ---------------- SCROLL STATE ---------------- */
.site-header.scrolled {
    padding: 14px 30px;
    background: #207662;
    /* slightly darker */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.site-header.scrolled .brand {
    transform: translateX(-4px);
}

/* logo shrink + slide left */
.site-header.scrolled .logo {
    height: 42px;
}

.site-header.scrolled .site-title {
    font-size: 1.1rem;
}

.site-header.shrink {
    background: #8fd3c1;
    /* light green */
    padding: 14px 30px;
    transform: scaleY(0.6);
    /* 40% shrink */
    transform-origin: top;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* BRAND */
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.4s ease;
}

.logo {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
    transition: height 0.35s ease, width 0.35s ease;
}

.site-header.scrolled .logo {
    height: 50px;
    width: 50px;
}

.site-title { 
    transition: font-size 0.35s ease, transform 0.35s ease;
    font-family: 'Playfair Display', serif;
        font-size: clamp(22px, 5vw, 26px);
        font-weight: 700;
        line-height: 1.2;
        color: #ffffff;
        max-width: 760px;
        margin: 0 auto;
        letter-spacing: -0.5px;
        animation: fadeUp 1s ease forwards;
}

.site-header.scrolled .site-title {
    font-size: 1.2rem;
    transform: translateY(-1px);
}

/* NAV */
#mainNav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    position: relative;
    color: #fff;
    transition: color 0.25s ease;
    font-weight: 500;
}

.donate-link {
    background: #d2a709;
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
}




/* BODY OFFSET */

/* ---------------- MOBILE ---------------- */

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 768px) {

    /* Hide site title */
    .site-title {
        display: none;
    }

    /* Show hamburger */
    .menu-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #ffffff;
    }

    /* Mobile nav container */
    #mainNav {
        position: fixed;
        top: 64px;
        /* below header */
        right: 12px;

        width: 230px;
        max-height: 65vh;
        overflow-y: auto;

        background: #1e6f5c;
        padding: 16px;
        border-radius: 12px;

        display: flex;
        flex-direction: column;
        gap: 12px;

        /* slide-in behavior */
        transform: translateX(120%);
        transition: transform 0.3s ease;

        z-index: 9999;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    /* Open state */
    #mainNav.open {
        transform: translateX(0);
    }

    /* Nav links */
    .nav-link {
        color: #ffffff;
        font-weight: 600;
        padding: 8px 10px;
        width: 100%;
        position: relative;
        border-radius: 6px;

        -webkit-tap-highlight-color: transparent;
    }

    /* Tap feedback */
    .nav-link:active {
        background: rgba(255, 255, 255, 0.15);
    }

    /* Active / hover underline */
    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 0;
        height: 2px;
        background: #f4c430;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    /* Donate button */
    .donate-link {
        background: #f4c430;
        color: #ffffff;
        text-align: center;
        padding: 12px;
        border-radius: 6px;
        margin-top: 8px;
    }
}

/* ===== Skeleton Loader ===== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 10px;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    animation: skeleton-shimmer 1.3s infinite;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Hide real content until loaded */
.card-content {
    display: none;
}

.card.loaded .card-skeleton {
    display: none;
}

.card.loaded .card-content {
    display: block;
}

/*gallery*/
.image-gallery {
    background: #ffffff;
    padding: 70px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Mobile */
@media (max-width: 768px) {
    .gallery-item img {
        height: 180px;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
}

/*gallery end here*/

/*niti ayog in donate page*/


/*authority section*/
.authority-section {
    background: #f8fafc;
    border-left: 5px solid #1e6f5c;
    padding: 24px;
    margin: 40px 60px;
}

.authority-section h3 {
    margin-bottom: 14px;
    color: #1e6f5c;
    font-size: 1.4rem;
}

.authority-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.authority-list li {
    margin-bottom: 14px;
    line-height: 1.6;
    color: #1f2933;
}

.authority-list span {
    color: #065f46;
    font-weight: 600;
}

.footer-compliance {
    font-size: 0.85rem;
    color: #d1fae5;
    opacity: 0.9;
    margin-top: 12px;
}
/*
.donations-trust {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 10px 16px;
    margin-top: 18px;
    font-size: 0.9rem;
    border-radius: 6px;
    text-align: center;
}*/

.trust-badge {
    background: #f0fdf4;
    color: #065f46;
    border: 1px solid #10b981;
    padding: 12px 16px;
    border-left: 4px solid #16a34a;
    font-size: 0.9rem;
    margin-top: 18px;
    border-radius: 6px;
    text-align: center;
}

/*NGO Contact form css*/
.ngo-form {
    max-width: 900px;
    margin-top: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d1e0db;
}

.form-group textarea {
    margin-top: 15px;
}

/* Split layout for contact form */
.card-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.card-grid-2 .card {
    height: auto;
}

.card-grid-2 hr {
    opacity: .2;
    margin: 10px 0;
}

@media(max-width:768px) {
    .card-grid-2 {
        grid-template-columns: 1fr;
    }
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ngo-form .form-group {
    margin-bottom: 12px;
}

@media(max-width:768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.card-grid-2 {
    align-items: stretch;
}

.card-grid-2 .card {
    display: flex;
    flex-direction: column;
}

/*compaign*/

.campaign-highlight {
    background: #f9fafb;
}

.campaign-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.campaign-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.campaign-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.campaign-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

/* Mobile */
@media (max-width: 768px) {
    .campaign-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* SCROLL FADE-IN */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*compaign end*/

/*index image grid*/
.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.image-grid img:first-child {
    grid-row: 1 / span 2;
}
/* index image grid end */