/* ==========================================
   Hanumat Kripa Foundation - Donate Page
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    overflow-x: clip;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
}

a { color: inherit; }

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.center { text-align: center; }

/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(8,44,94,.94);
    backdrop-filter: blur(10px);
    transition: .3s;
}

.header.sticky {
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
}

.logo h2 {
    font-size: 21px;
    line-height: 1.2;
}

.logo span {
    font-size: 11px;
    opacity: .8;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 22px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: #ffd54f;
}

.donate-btn {
    background: #ff9800;
    color: #fff;
    text-decoration: none;
    padding: 11px 21px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: .3s;
}

.donate-btn:hover,
.active-donate {
    background: #ffb300;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Hero */

.page-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    background: url("../images/hero.jpg") center center / cover no-repeat;
    padding: 130px 0 80px;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0,50,110,.88), rgba(0,0,0,.55));
}

.page-hero-content {
    position: relative;
    color: #fff;
    max-width: 850px;
}

.eyebrow {
    color: #ffd54f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-hero h1 {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-hero h1 span {
    color: #ffd54f;
}

.page-hero p:not(.eyebrow) {
    max-width: 780px;
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* General */

.section {
    padding: 85px 0;
}

.section-label {
    color: #0b5cab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.title {
    color: #082d52;
    text-align: center;
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 45px;
}

.section-intro {
    max-width: 800px;
    margin: -25px auto 25px;
    text-align: center;
    color: #666;
}

.light-section {
    background: #f5f8fc;
}

/* Support strip */

.support-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 35px;
    border: 1px solid #e3ebf2;
    border-radius: 12px;
    overflow: hidden;
}

.support-strip div {
    padding: 22px 18px;
    text-align: center;
    background: #fff;
    border-right: 1px solid #e3ebf2;
}

.support-strip div:last-child {
    border-right: 0;
}

.support-strip strong {
    display: block;
    color: #082d52;
    font-size: 16px;
}

.support-strip span {
    color: #777;
    font-size: 11px;
}

/* Donation cards */

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

.donation-card {
    background: #fff;
    border: 1px solid #e4ebf2;
    border-radius: 12px;
    padding: 30px 23px;
    transition: .3s;
}

.donation-card:hover,
.donation-card.featured {
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

.donation-card.featured {
    border-top: 4px solid #ff9800;
}

.donation-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0b5cab;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.donation-card h3 {
    color: #082d52;
    font-size: 19px;
    margin-bottom: 9px;
}

.donation-card p {
    color: #666;
    font-size: 13px;
    min-height: 85px;
}

.card-link {
    color: #0b5cab;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.card-link:hover {
    color: #ff9800;
}

/* Impact */

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

.impact-card {
    padding: 28px 23px;
    border: 1px solid #e4ebf2;
    border-radius: 12px;
    background: #fff;
}

.impact-card span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #ff9800;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
}

.impact-card h3 {
    color: #082d52;
    font-size: 19px;
    margin-bottom: 8px;
}

.impact-card p {
    color: #666;
    font-size: 13px;
}

/* Payment */

.payment-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.payment-intro h2 {
    color: #082d52;
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.payment-intro > p {
    color: #666;
    font-size: 14px;
    margin-bottom: 22px;
}

.notice-box {
    background: #fff8e8;
    border-left: 4px solid #ff9800;
    padding: 18px;
    border-radius: 0 8px 8px 0;
}

.notice-box strong {
    color: #082d52;
    font-size: 14px;
}

.notice-box p {
    color: #666;
    font-size: 11px;
    margin-top: 5px;
}

.payment-box {
    background: #fff;
    border: 1px solid #e1e9f0;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 6px 22px rgba(0,0,0,.05);
}

.payment-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.payment-tab {
    flex: 1;
    border: 1px solid #d8e2eb;
    background: #f5f8fc;
    color: #555;
    padding: 11px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.payment-tab.active {
    background: #0b5cab;
    color: #fff;
    border-color: #0b5cab;
}

.payment-panel {
    display: none;
}

.payment-panel.active {
    display: block;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto 22px;
    border: 2px dashed #cbd9e5;
    background: #f5f8fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.qr-inner {
    width: 82px;
    height: 82px;
    border: 7px dotted #0b5cab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5cab;
    font-weight: 700;
    margin-bottom: 8px;
}

.qr-placeholder p {
    color: #082d52;
    font-size: 11px;
    font-weight: 600;
}

.qr-placeholder small {
    color: #888;
    font-size: 9px;
}

.payment-info,
.bank-details {
    border-top: 1px solid #e5edf3;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e5edf3;
}

.info-row span {
    color: #777;
    font-size: 12px;
}

.info-row strong {
    color: #082d52;
    font-size: 12px;
    text-align: right;
}

.payment-note {
    color: #888;
    font-size: 10px;
    margin-top: 15px;
}

/* Donation enquiry form */

.donation-form-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.form-title {
    color: #082d52;
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.form-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.form-note-box {
    background: #f5f8fc;
    border-left: 4px solid #0b5cab;
    padding: 18px;
}

.form-note-box strong {
    color: #082d52;
    font-size: 14px;
}

.form-note-box p {
    color: #666;
    font-size: 11px;
    margin-top: 4px;
}

.donation-form {
    background: #f5f8fc;
    padding: 32px;
    border: 1px solid #e1e9f0;
    border-radius: 12px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #082d52;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d8e2eb;
    background: #fff;
    color: #333;
    border-radius: 7px;
    padding: 12px 13px;
    font-size: 13px;
    outline: none;
    transition: .2s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0b5cab;
    box-shadow: 0 0 0 3px rgba(11,92,171,.08);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 5px 0 20px;
    color: #666;
    font-size: 11px;
}

.consent input {
    margin-top: 4px;
    accent-color: #0b5cab;
}

.submit-btn {
    border: 0;
    cursor: pointer;
}

.form-note {
    color: #888;
    font-size: 10px;
    margin-top: 13px;
}

/* Trust */

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

.trust-grid > div {
    background: #fff;
    padding: 25px 22px;
    border: 1px solid #e2eaf1;
    border-radius: 10px;
}

.trust-grid span {
    color: #137a46;
    font-size: 22px;
}

.trust-grid h3 {
    color: #082d52;
    font-size: 18px;
    margin: 7px 0;
}

.trust-grid p {
    color: #666;
    font-size: 12px;
}

.legal-note {
    margin: 25px auto 0;
    max-width: 900px;
    padding: 15px 18px;
    background: #fff8e8;
    border: 1px solid #f0dfb7;
    border-radius: 8px;
    color: #666;
    font-size: 11px;
}

/* Buttons */

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 13px 27px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: #ff9800;
    color: #fff;
}

.btn-primary:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #0b3f7f;
}

/* CTA */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(120deg, #082d52, #0b5cab);
    color: #fff;
    text-align: center;
}

.cta-section .section-label {
    color: #ffd54f;
}

.cta-section h2 {
    font-size: 34px;
    line-height: 1.35;
    margin-bottom: 15px;
}

.cta-section > .container > p:not(.section-label) {
    max-width: 760px;
    margin: 0 auto 28px;
    opacity: .92;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */

.footer {
    background: #061f38;
    color: #fff;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer p {
    color: #c7d3df;
    max-width: 430px;
    font-size: 14px;
}

.footer a {
    display: block;
    color: #c7d3df;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer a:hover {
    color: #ffd54f;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 18px 20px;
    color: #b7c5d3;
    font-size: 13px;
}

/* Scroll top */

#topBtn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #ff9800;
    color: #fff;
    font-size: 21px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1000;
}

#topBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Animation */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Responsive */

@media (max-width:1100px) {
    nav ul {
        gap: 14px;
    }

    nav a {
        font-size: 13px;
    }

    .donate-btn {
        padding: 10px 17px;
    }

    .page-hero h1 {
        font-size: 45px;
    }

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

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

    .support-strip div:nth-child(2) {
        border-right: 0;
    }

    .support-strip div:nth-child(-n+2) {
        border-bottom: 1px solid #e3ebf2;
    }

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

@media (max-width:900px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .donate-btn {
        display: none;
    }

    #navbar.show {
        display: block;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #0b3f7f;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
    }

    #navbar.show ul {
        flex-direction: column;
        gap: 0;
    }

    #navbar.show li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    #navbar.show a {
        display: block;
        padding: 12px 5px;
    }

    .page-hero {
        min-height: 60vh;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .payment-layout,
    .donation-form-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

@media (max-width:600px) {
    .container {
        width: 92%;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo h2 {
        font-size: 16px;
    }

    .logo span {
        font-size: 9px;
    }

    .page-hero {
        min-height: 68vh;
        padding-top: 110px;
    }

    .page-hero h1 {
        font-size: 33px;
    }

    .page-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        text-align: center;
    }

    .section {
        padding: 65px 0;
    }

    .title {
        font-size: 29px;
        margin-bottom: 32px;
    }

    .support-strip,
    .donation-grid,
    .impact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .support-strip div {
        border-right: 0;
        border-bottom: 1px solid #e3ebf2;
    }

    .support-strip div:last-child {
        border-bottom: 0;
    }

    .donation-card p {
        min-height: auto;
        margin-bottom: 15px;
    }

    .payment-box,
    .donation-form {
        padding: 24px 18px;
    }

    .payment-tabs {
        flex-direction: column;
    }

    .info-row {
        flex-direction: column;
        gap: 3px;
    }

    .info-row strong {
        text-align: left;
    }

    .cta-section h2 {
        font-size: 27px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #topBtn {
        right: 18px;
        bottom: 18px;
    }
}


/* =========================================================
   STATIC ACTION PANELS - GitHub Pages friendly replacement
   ========================================================= */
.contact-action-panel,
.donation-action-panel,
.volunteer-action-panel {
    background: #ffffff;
    border: 1px solid #e4eaf0;
    border-radius: 12px;
    padding: 34px 34px 32px;
    min-height: 610px;
    box-shadow: 0 12px 35px rgba(20, 45, 70, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff3df;
    color: #e67e22;
    font-size: 22px;
    margin-bottom: 20px;
}

.action-kicker {
    color: #0b5cab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.contact-action-panel h3,
.donation-action-panel h3,
.volunteer-action-panel h3 {
    color: #082d52;
    font-size: 25px;
    line-height: 1.35;
    margin-bottom: 13px;
}

.contact-action-panel > p:not(.action-kicker),
.donation-action-panel > p:not(.action-kicker),
.volunteer-action-panel > p:not(.action-kicker) {
    color: #667789;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.action-list {
    border-top: 1px solid #e8edf2;
    margin-bottom: 25px;
}

.action-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #e8edf2;
}

.action-list > div > span {
    color: #0b5cab;
    font-size: 12px;
    font-weight: 700;
    padding-top: 2px;
}

.action-list strong {
    display: block;
    color: #26364a;
    font-size: 14px;
    margin-bottom: 2px;
}

.action-list small {
    display: block;
    color: #718092;
    font-size: 12px;
    line-height: 1.55;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.action-buttons .btn {
    text-align: center;
}

.action-buttons .btn-secondary {
    background: transparent;
    border: 2px solid #0b5cab;
    color: #0b5cab;
}

.action-buttons .btn-secondary:hover {
    background: #0b5cab;
    color: #fff;
}

@media (max-width: 600px) {
    .contact-action-panel,
    .donation-action-panel,
    .volunteer-action-panel {
        min-height: 0;
        padding: 28px 20px;
    }

    .contact-action-panel h3,
    .donation-action-panel h3,
    .volunteer-action-panel h3 {
        font-size: 22px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }
}
