/* =========================================================
   JEEVAASHRAMAM WEBSITE
   RESPONSIVE MASTER DESIGN
========================================================= */

:root {
    --green-dark: #123d22;
    --green: #285f2d;
    --green-light: #6c9c4a;
    --gold: #c99a35;
    --gold-light: #e3c36a;
    --cream: #f8f4e8;
    --cream-dark: #eee8d5;
    --text: #172117;
    --white: #ffffff;
    --border: #ddd5bd;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #faf8ef;
}

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

button {
    font-family: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    background: #ffffff;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.header-top {
    max-width: 1500px;
    margin: auto;
    min-height: 72px;
    padding: 8px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

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

.brand-logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.brand-text {
    line-height: 1;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--green-dark);
}

.brand-tagline {
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #333;
}

.brand-sanskrit {
    margin-top: 5px;
    font-size: 10px;
    color: #444;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #222;
}

.social {
    width: 27px;
    height: 27px;
    border: 1px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--green);
}

.header-bottom {
    border-top: 1px solid #eee;
}

.main-nav {
    max-width: 1500px;
    margin: auto;
    min-height: 43px;
    padding: 0 28px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 27px;
}

    .main-nav a {
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        padding: 14px 0;
    }

        .main-nav a:hover,
        .main-nav a.active {
            color: var(--green);
        }

        .main-nav a.active {
            border-bottom: 2px solid var(--green);
        }

.donate-nav {
    background: var(--green);
    color: white !important;
    padding: 12px 18px !important;
    border-radius: 4px;
    border-bottom: none !important;
}


/* =========================================================
   HOME HERO
========================================================= */

.hero-section {
    position: relative;
    width: 100%;
    height: clamp(480px, 38vw, 620px);
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9c49a;
    isolation: isolate;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    z-index: -3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient( 90deg, rgba(255, 248, 226, 0.02) 0%, rgba(255, 248, 226, 0.00) 25%, rgba(255, 248, 226, 0.16) 50%, rgba(255, 248, 226, 0.00) 75%, rgba(255, 248, 226, 0.02) 100% ), linear-gradient( 180deg, rgba(255, 248, 226, 0.00) 0%, rgba(255, 248, 226, 0.00) 42%, rgba(255, 248, 226, 0.10) 62%, rgba(255, 248, 226, 0.22) 100% );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 92%);
    text-align: center;
    padding: 42px 25px;
}

.hero-copy {
    position: relative;
    display: inline-block;
    max-width: 900px;
    padding: 22px 42px 26px;
    border-radius: 0;
    background: transparent;
    text-shadow: 0 2px 4px rgba(255,255,255,0.85), 0 1px 2px rgba(255,255,255,0.65);
}

.hero-content h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 55px);
    line-height: 1.05;
    letter-spacing: 2px;
    color: #164d29;
    font-weight: 700;
    text-shadow: 0 2px 3px rgba(255,255,255,0.85);
}

.hero-content h2 {
    margin: 12px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2.35vw, 20px);
    line-height: 1.25;
    color: #70471e;
}

.hero-divider {
    display: flex;
    justify-content: center;
    gap: 9px;
    color: var(--gold);
    font-size: 20px;
    margin: 8px 0 12px;
}

.hero-content p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #161616;
}

.hero-buttons {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 13px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-shadow: none;
}

.btn-primary {
    background: var(--green);
    color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,.16);
}

.btn-secondary {
    background: rgba(255,255,255,.88);
    border: 1px solid var(--green);
    color: var(--green-dark);
}


/* =========================================================
   FUND + TEMPLES
========================================================= */

.fund-temples-section {
    max-width: 1450px;
    margin: auto;
    padding: 20px 28px 10px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 22px;
}

.fund-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbf9f0;
    overflow: hidden;
}

    .fund-card h3 {
        margin: 0;
        padding: 18px;
        background: var(--green);
        color: white;
        text-align: center;
        font-size: 13px;
    }

.fund-values {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .fund-values div {
        display: flex;
        flex-direction: column;
    }

    .fund-values strong {
        font-size: 25px;
        color: #333;
    }

    .fund-values span {
        font-size: 12px;
        margin-top: 3px;
    }

.progress-track {
    height: 24px;
    margin: 0 18px 20px;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.progress-value {
    width: 24.9%;
    height: 100%;
    background: var(--green-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.support-button {
    margin: 0 22px 18px;
    padding: 11px;
    border: 1px solid #c5c09f;
    border-radius: 5px;
    display: block;
    text-align: center;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
}

.temples-section {
    min-width: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .section-heading h2 {
        margin: 0;
        font-size: 16px;
        color: var(--green-dark);
    }

    .section-heading span {
        color: var(--gold);
    }

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

.temple-card {
    background: #fffdf6;
    border: 1px solid var(--border);
    border-radius: 7px;
    overflow: hidden;
    text-align: center;
}

    .temple-card img {
        display: block;
        width: 100%;
        height: 155px;
        object-fit: cover;
        object-position: center 30%;
        image-rendering: auto;
    }

    .temple-card:nth-child(1) img {
        object-position: center 28%;
    }

    .temple-card:nth-child(2) img {
        object-position: center 28%;
    }

    .temple-card:nth-child(3) img {
        object-position: center 25%;
    }

.temple-content {
    padding: 8px;
}

    .temple-content h3 {
        margin: 0;
        font-family: Georgia, serif;
        font-size: 16px;
        color: var(--green-dark);
    }

    .temple-content p {
        margin: 5px 0;
        font-size: 11px;
    }

    .temple-content a {
        font-size: 10px;
        font-weight: 700;
        color: var(--green-dark);
    }

.explore-button {
    display: block;
    width: 250px;
    max-width: 100%;
    margin: 9px auto 0;
    padding: 7px;
    text-align: center;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   NATURE
========================================================= */

.nature-section {
    max-width: 1450px;
    margin: auto;
    padding: 10px 28px;
}

.nature-intro {
    min-height: 150px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #f8f4e7;
}

.nature-text {
    padding: 20px;
}

    .nature-text h2 {
        margin: 0 0 10px;
        font-size: 15px;
        color: var(--green-dark);
    }

    .nature-text p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

.small-green-button {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.nature-image {
    min-height: 150px;
    background-size: cover;
    background-position: center;
    border-left: 2px solid white;
}

.tree-image {
    background-image: url("/images/tree.jpg");
}

.bird-image {
    background-image: url("/images/bird.jpg");
}

.turtle-image {
    background-image: url("/images/turtle.jpg");
}

.rabbit-image {
    background-image: url("/images/rabbit.jpg");
}


/* =========================================================
   PROJECTS + UPDATES
========================================================= */

.projects-updates-section {
    max-width: 1450px;
    margin: auto;
    padding: 10px 28px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 25px;
}

.section-title-row h2,
.updates-heading h2 {
    font-size: 15px;
    color: var(--green-dark);
    margin: 8px 0 10px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}

.project-card {
    min-height: 165px;
    padding: 10px 8px;
    background: #fbf9f0;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-align: center;
}

.project-icon {
    font-size: 27px;
    height: 37px;
}

.project-card h3 {
    font-size: 11px;
    line-height: 1.35;
    min-height: 32px;
    margin: 3px 0 9px;
}

.project-card > strong {
    display: block;
    font-size: 10px;
    margin-top: 5px;
}

.mini-progress {
    height: 6px;
    border-radius: 10px;
    background: #e3ddc7;
    overflow: hidden;
}

    .mini-progress span {
        display: block;
        height: 100%;
        background: var(--green);
    }

.project-card a {
    display: block;
    margin-top: 10px;
    font-size: 8px;
    font-weight: 700;
    color: var(--green-dark);
}

.updates-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .updates-heading a {
        font-size: 9px;
        font-weight: 700;
    }

.update-list {
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 5px 10px;
    background: #fbf9f0;
}

.update-item {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #e2dcc8;
}

    .update-item:last-child {
        border-bottom: none;
    }

    .update-item img {
        width: 75px;
        height: 50px;
        border-radius: 4px;
        object-fit: cover;
    }

    .update-item strong {
        display: block;
        font-size: 11px;
    }

    .update-item p {
        margin: 3px 0;
        font-size: 9px;
    }

    .update-item small {
        font-size: 8px;
    }


/* =========================================================
   BOTTOM INFORMATION
========================================================= */

.bottom-information-section {
    max-width: 1450px;
    margin: auto;
    padding: 10px 28px 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.info-card {
    background: #fbf9f0;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 13px;
    text-align: center;
}

.info-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.info-card > p {
    margin: 5px 0 12px;
    font-size: 10px;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

    .donation-options button {
        background: #fbfaf1;
        border: 1px solid #d3ccb2;
        border-radius: 5px;
        padding: 8px 3px;
        cursor: pointer;
    }

    .donation-options strong {
        display: block;
        color: var(--green-dark);
        font-size: 13px;
    }

    .donation-options small {
        font-size: 8px;
    }

.big-donate-button {
    margin-top: 12px;
    width: 55%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: var(--green);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.transparency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.donut-chart {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: conic-gradient( var(--green) 0 50%, var(--gold) 50% 72%, #ddd8bd 72% 100% );
    display: flex;
    align-items: center;
    justify-content: center;
}

    .donut-chart > div {
        width: 57px;
        height: 57px;
        border-radius: 50%;
        background: #fbf9f0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 7px;
        font-weight: 700;
    }

.fund-details {
    text-align: left;
}

    .fund-details p {
        margin: 5px 0;
        display: flex;
        justify-content: space-between;
        gap: 15px;
        font-size: 9px;
    }

    .fund-details strong {
        white-space: nowrap;
    }

.report-button {
    margin-top: 10px;
    padding: 7px 15px;
    background: transparent;
    border: 1px solid #bbb59c;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    color: var(--green-dark);
}

.supporter-list {
    text-align: left;
}

    .supporter-list div {
        display: flex;
        justify-content: space-between;
        padding: 5px 2px;
        border-bottom: 1px solid #e4dfcf;
        font-size: 10px;
    }

    .supporter-list strong {
        color: var(--green-dark);
    }


/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    background: #132f19;
    color: white;
    padding: 25px 35px 12px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1fr;
    gap: 25px;
    position: relative;
}

.footer-brand img {
    width: 170px;
    max-height: 60px;
    object-fit: contain;
}

.footer-brand h3 {
    margin: 3px 0;
    font-family: Georgia, serif;
    letter-spacing: 1px;
}

.footer-brand > p {
    font-size: 9px;
    margin: 4px 0;
}

.footer-description {
    line-height: 1.5;
    max-width: 260px;
}

.footer-column h4,
.footer-donate h4 {
    color: #d9ae45;
    font-size: 11px;
    margin: 0 0 10px;
}

.footer-column a {
    display: block;
    margin: 5px 0;
    font-size: 9px;
}

.footer-column p {
    margin: 6px 0;
    font-size: 9px;
    line-height: 1.4;
}

.footer-donate {
    text-align: center;
}

.qr-placeholder {
    width: 110px;
    height: 110px;
    margin: auto;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.footer-donate p {
    font-size: 8px;
}

.footer-donate a {
    font-size: 8px;
}

.copyright {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 10px;
    font-size: 9px;
    color: #ddd;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-contact {
        display: none;
    }

    .main-nav {
        gap: 15px;
    }

        .main-nav a {
            font-size: 10px;
        }

    .fund-temples-section {
        grid-template-columns: 280px 1fr;
    }

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

    .projects-updates-section {
        grid-template-columns: 1fr;
    }

    .main-footer {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .header-top {
        min-height: 72px;
        padding: 8px 15px;
        gap: 10px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand-logo img {
        width: 55px;
        height: 55px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-name {
        font-size: 20px;
        white-space: nowrap;
    }

    .brand-tagline {
        font-size: 8px;
        white-space: nowrap;
    }

    .brand-sanskrit {
        font-size: 7px;
        white-space: nowrap;
    }

    .header-contact {
        display: none;
    }

    .header-bottom {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

        .header-bottom::-webkit-scrollbar {
            display: none;
        }

    .main-nav {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        padding: 0 15px;
        gap: 18px;
        overflow: visible;
    }

        .main-nav a {
            flex: 0 0 auto;
            font-size: 11px;
            padding: 12px 0;
        }

    .donate-nav {
        padding: 10px 16px !important;
    }

    /* HOME HERO */
    .hero-section {
        height: 520px;
        min-height: 520px;
    }

    .hero-image {
        object-position: center center;
    }

    .hero-content {
        width: 100%;
        padding: 25px 15px;
    }

    .hero-copy {
        max-width: 100%;
        padding: 15px 8px 20px;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 1.05;
        letter-spacing: 1px;
    }

    .hero-content h2 {
        font-size: 19px;
        line-height: 1.25;
    }

    .hero-content p {
        max-width: 330px;
        font-size: 13px;
        line-height: 1.55;
    }

    .hero-buttons {
        margin-top: 18px;
        gap: 10px;
    }

    .btn {
        min-width: 140px;
        padding: 12px 18px;
    }

    .fund-temples-section {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 18px;
    }

    .temple-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .temple-card img {
        height: 205px;
        object-position: center 28%;
    }

    .nature-section {
        padding: 10px 15px;
    }

    .nature-intro {
        grid-template-columns: 1fr 1fr;
    }

    .nature-text {
        grid-column: 1 / -1;
    }

    .nature-image {
        min-height: 155px;
    }

    .projects-updates-section {
        grid-template-columns: 1fr;
        padding: 10px 15px;
        gap: 18px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .bottom-information-section {
        grid-template-columns: 1fr;
        padding: 10px 15px 18px;
    }

    .main-footer {
        grid-template-columns: 1fr;
        padding: 25px 20px 12px;
    }

    .copyright {
        grid-column: auto;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .header-top {
        padding: 8px 12px;
    }

    .brand-logo img {
        width: 52px;
        height: 52px;
    }

    .brand-name {
        font-size: 17px;
        letter-spacing: .5px;
    }

    .brand-tagline {
        font-size: 7px;
        letter-spacing: .7px;
    }

    .brand-sanskrit {
        font-size: 6.5px;
    }

    .main-nav {
        gap: 16px;
        padding: 0 12px;
    }

        .main-nav a {
            font-size: 10px;
        }

    .donate-nav {
        padding: 9px 14px !important;
    }

    .hero-section {
        height: 500px;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .hero-content p {
        font-size: 12px;
        max-width: 315px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .nature-intro {
        grid-template-columns: 1fr;
    }

    .nature-text {
        grid-column: auto;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .donation-options {
        grid-template-columns: 1fr 1fr;
    }

    .big-donate-button {
        width: 100%;
    }

    .transparency-content {
        flex-direction: column;
    }
}


/* =========================================================
   DONATION PAGE
========================================================= */

.donate-page {
    min-height: 100vh;
    padding: 0;
    background: #f8f5e9;
    color: #173d29;
}

    .donate-page .main-header {
        position: relative;
        z-index: 20;
    }

.donate-hero {
    position: relative;
    min-height: 500px;
    background-image: url("/images/hero-jeevaashramam.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.donate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(8,49,29,.40), rgba(8,49,29,.18) 50%, rgba(8,49,29,.40) );
}

.donate-hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 90%);
    text-align: center;
    color: white;
    padding: 60px 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.donate-symbol {
    font-size: 30px;
    color: #f0c85b;
    margin-bottom: 10px;
}

.donate-hero-content h1 {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px,5vw,58px);
    letter-spacing: 2px;
}

.donate-hero-content p {
    max-width: 760px;
    margin: auto;
    font-size: 18px;
    line-height: 1.7;
}

.donate-main {
    padding: 55px 25px 65px;
}

.donate-container {
    width: min(1180px,100%);
    margin: auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 35px;
    align-items: start;
}

.donate-intro,
.donate-form-card {
    background: #fffdf5;
    border: 1px solid #ddd4b7;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(36,67,44,.09);
}

.donate-intro {
    padding: 38px;
}

.donate-section-label {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    background: #e9f0df;
    color: #236333;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.donate-intro h2 {
    margin: 22px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.2;
    color: #174c2c;
}

.donate-intro p {
    color: #4e574e;
    line-height: 1.7;
    font-size: 16px;
}

.donate-mission-list {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

    .donate-mission-list div {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 15px;
        border-radius: 8px;
        background: #f4f1e3;
        border: 1px solid #e2dbc4;
    }

    .donate-mission-list span {
        font-size: 22px;
    }

    .donate-mission-list strong {
        font-size: 14px;
        color: #214d32;
    }

.donate-goal-box {
    margin-top: 30px;
    padding: 22px;
    border-radius: 10px;
    background: #215f31;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .donate-goal-box span {
        font-size: 14px;
    }

    .donate-goal-box strong {
        font-size: 24px;
    }

.donate-form-card {
    padding: 38px;
}

.donate-form-header {
    border-bottom: 1px solid #e1dac5;
    padding-bottom: 22px;
    margin-bottom: 25px;
}

    .donate-form-header h2 {
        margin: 0 0 8px;
        font-family: Georgia, "Times New Roman", serif;
        color: #174c2c;
        font-size: 30px;
    }

    .donate-form-header p {
        margin: 0;
        color: #686b62;
    }

.form-section {
    margin-bottom: 28px;
}

    .form-section > label,
    .field-group label {
        display: block;
        margin-bottom: 9px;
        color: #214b31;
        font-weight: 700;
        font-size: 14px;
    }

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
}

.amount-button {
    min-height: 58px;
    border: 1px solid #cfc6a9;
    border-radius: 8px;
    background: #fffdf7;
    color: #174c2c;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

    .amount-button:hover {
        border-color: #276a38;
        background: #eef4e7;
    }

    .amount-button.selected {
        background: #236333;
        border-color: #236333;
        color: white;
        box-shadow: 0 5px 12px rgba(35,99,51,.22);
    }

.donate-form-card .custom-amount {
    display: flex;
    align-items: center;
    margin-top: 13px;
    border: 1px solid #cfc6a9;
    border-radius: 8px;
    background: white;
    overflow: hidden;
}

    .donate-form-card .custom-amount span {
        padding-left: 15px;
        font-size: 20px;
        font-weight: 700;
        color: #315b3c;
    }

    .donate-form-card .custom-amount input {
        width: 100%;
        border: 0;
        outline: 0;
        padding: 15px;
        font-size: 16px;
        background: transparent;
    }

.form-section h3 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    color: #174c2c;
}

.field-group {
    margin-bottom: 16px;
}

    .field-group input {
        width: 100%;
        box-sizing: border-box;
        padding: 14px 15px;
        border: 1px solid #cfc6a9;
        border-radius: 8px;
        background: white;
        color: #1c3827;
        font-size: 15px;
        outline: none;
        transition: .2s;
    }

        .field-group input:focus {
            border-color: #28683a;
            box-shadow: 0 0 0 3px rgba(40,104,58,.10);
        }

        .field-group input::placeholder {
            color: #9a9a91;
        }

.continue-donation {
    width: 100%;
    padding: 16px 20px;
    border: 0;
    border-radius: 8px;
    background: #236333;
    color: white;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .4px;
    cursor: pointer;
    transition: .2s ease;
}

    .continue-donation:hover {
        background: #174c2c;
        transform: translateY(-1px);
        box-shadow: 0 7px 18px rgba(35,99,51,.22);
    }

.donation-message {
    margin-top: 14px;
    min-height: 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

    .donation-message.error {
        color: #a52b2b;
    }

    .donation-message.success {
        color: #236333;
    }

.donate-form-card .secure-note {
    margin: 18px 0 0;
    text-align: center;
    color: #77796f;
    font-size: 12px;
    line-height: 1.5;
}

.donate-footer {
    margin-top: 0;
}


/* =========================================================
   SELECTABLE DONATION DEVELOPMENT AREAS
========================================================= */

.donate-mission-list .mission-option {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid #e2dbc4;
    border-radius: 9px;
    background: #f4f1e3;
    color: #214d32;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: .2s ease;
    box-sizing: border-box;
}

    .donate-mission-list .mission-option:hover {
        border-color: #28683a;
        background: #eef4e7;
        transform: translateY(-1px);
    }

    .donate-mission-list .mission-option span {
        flex: 0 0 30px;
        font-size: 23px;
        text-align: center;
    }

    .donate-mission-list .mission-option strong {
        flex: 1;
        font-size: 15px;
    }

    .donate-mission-list .mission-option em {
        font-style: normal;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .7px;
        color: #638066;
        border: 1px solid #b9c9b1;
        border-radius: 20px;
        padding: 5px 9px;
    }

    .donate-mission-list .mission-option.selected {
        background: #236333;
        border-color: #236333;
        color: white;
        box-shadow: 0 6px 16px rgba(35,99,51,.20);
    }

        .donate-mission-list .mission-option.selected em {
            color: white;
            border-color: rgba(255,255,255,.55);
            background: rgba(255,255,255,.10);
        }

.purpose-message {
    margin-top: 12px;
    color: #77796f;
    font-size: 12px;
    line-height: 1.4;
}

    .purpose-message.selected-purpose {
        color: #236333;
        font-weight: 800;
    }


/* =========================================================
   INTERNAL PAGE HERO
   SAME ARTWORK / SAME DESKTOP MODEL
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: clamp(480px, 38vw, 620px);
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("/images/hero-jeevaashramam.png") !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: #d9c49a;
    isolation: isolate;
}

    .hero[style*="background"],
    .hero[style*="background-image"] {
        background-image: url("/images/hero-jeevaashramam.png") !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero > .hero-content,
    .hero .hero-content {
        position: relative;
        z-index: 2;
        width: min(900px, 92%);
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
        padding: 42px 25px;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

        .hero > .hero-content h1,
        .hero .hero-content h1 {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: normal;
        }

        .hero > .hero-content p,
        .hero .hero-content p {
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            overflow-wrap: anywhere;
        }


/* =========================================================
   PROJECT CONTENT / ACTION BUTTONS
========================================================= */

@media (max-width: 650px) {

    .container + .main-footer {
        margin-top: 0;
    }

    .container {
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
        margin: -30px auto 45px !important;
    }

    .main-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .section {
        width: 100%;
        padding: 30px 22px !important;
        overflow: hidden;
    }

    .label {
        max-width: 100%;
        line-height: 1.35;
        text-align: center;
    }

    .section h2 {
        max-width: 100%;
        font-size: clamp(32px, 8vw, 42px) !important;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .lead {
        width: 100%;
        max-width: 100%;
        font-size: 17px !important;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .stats,
    .objectives {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .stat,
    .objective {
        width: 100%;
        max-width: 100%;
    }

    .progress-row {
        gap: 12px;
        flex-wrap: wrap;
    }

    .note {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .actions {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 28px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

        .actions .btn,
        .actions a.btn {
            display: flex !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            min-height: 56px !important;
            margin: 0 !important;
            padding: 14px 18px !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            white-space: normal !important;
            overflow-wrap: anywhere !important;
            word-break: normal !important;
            line-height: 1.25 !important;
            box-sizing: border-box !important;
        }

        .actions .primary {
            background: #216b35 !important;
            color: #fff !important;
        }

        .actions .secondary {
            background: #fffdf5 !important;
            color: #174f2b !important;
            border: 1px solid #b9ad89 !important;
        }
}

@media (max-width: 400px) {

    .container {
        width: calc(100% - 24px) !important;
    }

    .section {
        padding: 28px 20px !important;
    }

    .actions .btn,
    .actions a.btn {
        min-height: 56px !important;
        padding: 14px 16px !important;
        font-size: 14px !important;
    }
}


/* =========================================================
   INTERNAL HERO — FINAL MOBILE RULE
   ONE SOURCE OF TRUTH
========================================================= */

@media (max-width: 768px) {

    .hero {
        width: 100%;
        height: 360px !important;
        min-height: 360px !important;
        background-image: url("/images/hero-jeevaashramam.png") !important;
        background-repeat: no-repeat !important;
        background-size: 100% 100% !important;
        background-position: center center !important;
        padding: 0 !important;
    }

        .hero > .hero-content,
        .hero .hero-content {
            width: 100% !important;
            max-width: 100% !important;
            padding: 18px 12px !important;
            margin: 0 auto !important;
        }

        .hero h1,
        .hero-content h1 {
            max-width: 100%;
            font-size: 30px !important;
            line-height: 1.05 !important;
            letter-spacing: .5px !important;
            margin: 8px auto 10px !important;
            overflow-wrap: anywhere;
        }

        .hero h2,
        .hero-content h2 {
            font-size: 16px !important;
            line-height: 1.2 !important;
            margin: 7px auto 9px !important;
        }

        .hero p,
        .hero-content p {
            max-width: 330px !important;
            margin-left: auto !important;
            margin-right: auto !important;
            font-size: 12px !important;
            line-height: 1.4 !important;
            overflow-wrap: anywhere;
        }

        .hero .label {
            font-size: 12px !important;
            line-height: 1.25 !important;
            padding: 7px 12px !important;
            margin: 0 auto 8px !important;
        }

        .hero .hero-buttons {
            margin-top: 12px !important;
            gap: 8px !important;
        }

            .hero .hero-buttons .btn {
                min-width: 150px !important;
                width: 150px !important;
                padding: 10px 14px !important;
                font-size: 12px !important;
                min-height: 40px !important;
            }
}


/* =========================================================
   INTERNAL HERO — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero {
        height: 340px !important;
        min-height: 340px !important;
        background-image: url("/images/hero-jeevaashramam.png") !important;
        background-repeat: no-repeat !important;
        background-size: 100% 100% !important;
        background-position: center center !important;
    }

        .hero > .hero-content,
        .hero .hero-content {
            padding: 14px 10px !important;
        }

        .hero h1,
        .hero-content h1 {
            font-size: 27px !important;
            line-height: 1.05 !important;
            margin: 6px auto 8px !important;
        }

        .hero h2,
        .hero-content h2 {
            font-size: 15px !important;
            line-height: 1.15 !important;
            margin: 5px auto 7px !important;
        }

        .hero p,
        .hero-content p {
            max-width: 300px !important;
            font-size: 11px !important;
            line-height: 1.35 !important;
        }

        .hero .label {
            font-size: 11px !important;
            padding: 6px 10px !important;
        }

        .hero .hero-buttons {
            margin-top: 9px !important;
        }

            .hero .hero-buttons .btn {
                min-height: 38px !important;
                padding: 8px 12px !important;
                font-size: 11px !important;
            }
}


/* =========================================================
   DONATION RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .donate-container {
        grid-template-columns: 1fr;
    }

    .donate-hero {
        min-height: 470px;
        background-position: center top;
    }
}

@media (max-width: 600px) {

    .donate-hero {
        min-height: 430px;
        background-position: 46% top;
    }

    .donate-main {
        padding: 40px 15px;
    }

    .donate-intro,
    .donate-form-card {
        padding: 24px;
    }

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

    .donate-goal-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .donate-hero-content {
        padding: 45px 15px;
    }

        .donate-hero-content h1 {
            font-size: 34px;
        }

        .donate-hero-content p {
            font-size: 15px;
        }
}
