/* ==========================================================================
   HINDU SAMMAN FOUNDATION - MODERN PROFESSIONAL THEME STYLESHEET
   High-Trust NGO Design System | Version 2.0
   ========================================================================== */

:root {
    /* Brand Colors */
    --navy-950: #07101d;
    --navy-900: #0b192c;
    --navy-800: #142948;
    --navy-700: #1e3e62;
    --navy-600: #2c5885;
    
    --saffron-600: #e05300;
    --saffron-500: #ff6500;
    --saffron-400: #ff8533;
    --saffron-100: #fff1e8;
    --saffron-50:  #fff8f3;

    --gold-500: #d97706;
    --gold-400: #f59e0b;
    --gold-100: #fef3c7;

    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #ecfdf5;
    --emerald-50:  #f0fdf4;

    /* Neutrals */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    --white:     #ffffff;

    /* Theme Tokens */
    --primary: var(--navy-900);
    --primary-light: var(--navy-700);
    --accent: var(--saffron-500);
    --accent-hover: var(--saffron-600);
    --success: var(--emerald-600);
    --body-bg: #f5f7fb;
    --card-bg: #ffffff;
    --text-main: var(--slate-800);
    --text-muted: var(--slate-500);
    --border-color: #e6ecf4;

    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px 0 rgba(11, 25, 44, 0.04);
    --shadow-sm: 0 4px 10px -2px rgba(11, 25, 44, 0.06);
    --shadow-md: 0 12px 24px -6px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 20px 40px -12px rgba(11, 25, 44, 0.12);
    --shadow-xl: 0 30px 60px -15px rgba(11, 25, 44, 0.16);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Global Resets & Base
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--body-bg);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--saffron-500);
}

/* --------------------------------------------------------------------------
   Top Notification / Announcement Bar
   -------------------------------------------------------------------------- */
.top-notice-bar {
    background: var(--navy-950);
    color: var(--slate-300);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-notice-bar a {
    color: var(--gold-400);
}
.top-notice-bar a:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.96);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.brand-wrapper:hover .brand-logo-img {
    transform: scale(1.04);
}

.brand-text-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-900);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.brand-text-tagline {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--saffron-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.header-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--emerald-50);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    color: var(--emerald-600);
    font-size: 0.8rem;
    font-weight: 700;
}

.header-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--slate-100);
    color: var(--slate-700);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.header-back-btn:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.portal-hero {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
    position: relative;
    color: var(--white);
    padding: 4.5rem 0 7rem;
    overflow: hidden;
}

.portal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(255, 101, 0, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(30, 62, 98, 0.35) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 101, 0, 0.15);
    border: 1px solid rgba(255, 101, 0, 0.35);
    color: #ff9e59;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-main-title {
    color: var(--white);
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-main-title span {
    background: linear-gradient(135deg, #ffa96b 0%, #ff6500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-trust-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}
.hero-metric-item i {
    color: var(--saffron-400);
}

/* --------------------------------------------------------------------------
   Main Donation Card
   -------------------------------------------------------------------------- */
.donation-portal-container {
    margin-top: -4.5rem;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.donation-main-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 2.75rem 3.25rem;
    position: relative;
    overflow: hidden;
}

.donation-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--navy-900) 0%, var(--saffron-500) 50%, var(--gold-400) 100%);
}

/* Stepper Bar */
.donation-steps-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 2.5rem;
    background: var(--slate-50);
    padding: 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--slate-200);
}

.donation-step-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--slate-500);
    transition: var(--transition);
}
.donation-step-item.active {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}
.donation-step-item.active .step-num {
    background: var(--saffron-500);
    color: var(--white);
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--slate-300);
    color: var(--slate-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Preset Amount Selection
   -------------------------------------------------------------------------- */
.section-heading-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
}
.section-heading-tag i {
    color: var(--saffron-500);
    font-size: 1.15rem;
}

.preset-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 1.5rem;
}

.preset-amount-card {
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    user-select: none;
    outline: none;
}
.preset-amount-card:hover {
    border-color: var(--saffron-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: var(--saffron-50);
}
.preset-amount-card.active {
    border-color: var(--saffron-500);
    background: var(--saffron-50);
    box-shadow: 0 8px 20px -4px rgba(255, 101, 0, 0.22);
}
.preset-amount-card.active::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--saffron-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(255, 101, 0, 0.4);
}

.preset-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
}
.preset-badge-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}
.preset-amount-card.active .preset-val {
    color: var(--saffron-600);
}
.preset-amount-card.active .preset-badge-tag {
    color: var(--saffron-600);
}

/* Custom Amount Box */
.custom-amount-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.25rem;
}

.custom-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.currency-prefix {
    position: absolute;
    left: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--slate-700);
    pointer-events: none;
}
.custom-amount-input {
    width: 100%;
    padding: 14px 20px 14px 44px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-900);
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
}
.custom-amount-input:focus {
    border-color: var(--saffron-500);
    box-shadow: 0 0 0 4px rgba(255, 101, 0, 0.12);
}

.quick-increments {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.increment-chip {
    background: var(--white);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--slate-700);
    cursor: pointer;
    transition: var(--transition);
}
.increment-chip:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Modern Form Inputs
   -------------------------------------------------------------------------- */
.form-floating-custom {
    position: relative;
    margin-bottom: 1.25rem;
}
.form-floating-custom .form-control,
.form-floating-custom .form-select {
    height: 56px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 14px 16px 14px 44px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-800);
    background-color: var(--white);
    transition: var(--transition);
}
.form-floating-custom .form-control:focus,
.form-floating-custom .form-select:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(11, 25, 44, 0.08);
}
.input-icon-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}
.form-floating-custom .form-control:focus + .input-icon-left {
    color: var(--navy-700);
}

.field-label-text {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 6px;
}
.field-help-hint {
    font-size: 0.78rem;
    color: var(--slate-500);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Payment Method Cards
   -------------------------------------------------------------------------- */
.payment-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 2rem;
}

.payment-method-card {
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.payment-method-card:hover {
    border-color: var(--navy-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.payment-method-card.selected {
    border-color: var(--navy-900);
    background: #f8fbff;
    box-shadow: 0 8px 24px -4px rgba(11, 25, 44, 0.12);
}
.payment-method-card.selected::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--navy-900);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.method-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--slate-100);
    color: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}
.payment-method-card.selected .method-icon-badge {
    background: var(--navy-900);
    color: var(--white);
}

.method-check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--slate-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    transition: var(--transition);
}
.payment-method-card.selected .method-check-circle {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: var(--white);
}

.method-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 4px;
}
.method-desc {
    font-size: 0.82rem;
    color: var(--slate-500);
    margin-bottom: 0;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Direct Bank / QR Transfer Details Box
   -------------------------------------------------------------------------- */
.offline-instructions-card {
    background: linear-gradient(135deg, #fbfcfe 0%, #f0f5fa 100%);
    border: 1px solid #dbe6f2;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xs);
}

.bank-detail-item {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.detail-label-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
}
.detail-value-text {
    font-family: 'Outfit', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: 0.02em;
}

.btn-copy-chip {
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    color: var(--slate-700);
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-copy-chip:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}
.btn-copy-chip.copied {
    background: var(--emerald-600);
    color: var(--white);
    border-color: var(--emerald-600);
}

.qr-preview-box {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.qr-preview-img {
    max-width: 210px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--slate-200);
}
.qr-tab-btn {
    border: none;
    background: transparent;
    color: var(--slate-600);
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}
.qr-tab-btn.active {
    background: var(--navy-900);
    color: var(--white);
    box-shadow: var(--shadow-xs);
}

/* --------------------------------------------------------------------------
   80G Tax Exemption Callout Banner
   -------------------------------------------------------------------------- */
.tax-exemption-banner {
    background: linear-gradient(135deg, var(--emerald-50) 0%, #e6f9f0 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 16px;
}
.tax-shield-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--emerald-600);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.tax-title {
    font-size: 1rem;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 2px;
}
.tax-desc {
    font-size: 0.84rem;
    color: #047857;
    margin-bottom: 0;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Primary CTA Button
   -------------------------------------------------------------------------- */
.btn-donate-primary {
    background: linear-gradient(135deg, var(--saffron-500) 0%, var(--saffron-600) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 18px 36px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 25px -4px rgba(255, 101, 0, 0.45);
    transition: var(--transition);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}
.btn-donate-primary:hover {
    background: linear-gradient(135deg, #ff7a24 0%, var(--saffron-600) 100%);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -6px rgba(255, 101, 0, 0.55);
    color: var(--white);
}
.btn-donate-primary:active {
    transform: translateY(-1px);
}
.btn-donate-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.security-assurance-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: var(--slate-500);
    font-weight: 600;
}
.security-assurance-strip i {
    color: var(--emerald-600);
}

/* --------------------------------------------------------------------------
   Recent Donors Section
   -------------------------------------------------------------------------- */
.recent-donors-section {
    padding: 4.5rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}
.section-subtitle-pill {
    display: inline-block;
    background: var(--saffron-100);
    color: var(--saffron-600);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}
.section-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.donor-card-modern {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}
.donor-card-modern:hover {
    background: var(--white);
    border-color: var(--saffron-400);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.donor-avatar-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.donor-name-text {
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 2px;
    font-size: 0.98rem;
}
.donor-date-text {
    font-size: 0.78rem;
    color: var(--slate-500);
}
.donor-amount-pill {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--emerald-600);
    background: var(--emerald-50);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Impact & Mission Pillars
   -------------------------------------------------------------------------- */
.mission-pillars-section {
    padding: 5rem 0;
    background: var(--body-bg);
}

.pillar-feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.pillar-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 101, 0, 0.3);
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--saffron-50);
    color: var(--saffron-500);
    border: 1px solid var(--saffron-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.pillar-feature-card:hover .pillar-icon-box {
    background: var(--saffron-500);
    color: var(--white);
    transform: scale(1.08) rotate(4deg);
}

.pillar-title {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
}
.pillar-desc {
    color: var(--slate-600);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.portal-footer {
    background: var(--navy-950);
    color: var(--slate-400);
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-title {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate-400);
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 8px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--saffron-500);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.88rem;
}
.footer-contact-list li i {
    color: var(--saffron-400);
    margin-top: 4px;
}
.footer-contact-list a {
    color: var(--slate-300);
}
.footer-contact-list a:hover {
    color: var(--white);
}

.statutory-badge-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 12px;
}
.statutory-badge-card strong {
    color: var(--white);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}
.statutory-badge-card span {
    font-family: 'Outfit', monospace;
    color: var(--gold-400);
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   Loading Overlay & Animations
   -------------------------------------------------------------------------- */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 25, 44, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    color: var(--white);
}
.loading-spinner {
    width: 54px;
    height: 54px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--saffron-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
.animate-pulse {
    animation: pulse 0.4s ease-in-out;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries & Mobile App Experience
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-main-title {
        font-size: 2.2rem;
    }
    .donation-main-card {
        padding: 2rem 1.75rem;
    }
    .preset-amount-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 145px !important; /* Space for mobile floating bar + bottom tab bar */
        background-color: #f1f5f9;
        -webkit-tap-highlight-color: transparent;
    }

    /* Mobile App Header */
    .main-header {
        position: sticky;
        top: 0;
        z-index: 997;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 8px rgba(11, 25, 44, 0.06);
    }
    .main-header .container {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .brand-wrapper {
        gap: 10px;
    }
    .brand-logo-img {
        height: 42px;
        border-radius: 50%;
        border: 2px solid var(--saffron-500);
        box-shadow: 0 2px 6px rgba(255, 101, 0, 0.25);
    }
    .brand-text-title {
        font-size: 0.98rem !important;
        font-weight: 800;
        margin-bottom: 0;
        line-height: 1.15;
    }
    .brand-text-tagline {
        font-size: 0.68rem !important;
        margin-bottom: 0;
    }
    .header-back-btn {
        padding: 5px 10px;
        font-size: 0.74rem;
        border-radius: 20px;
        gap: 5px;
        white-space: nowrap !important;
        flex-shrink: 0;
    }


    /* Mobile App Hero Banner */
    .portal-hero {
        padding: 1.5rem 0 3.25rem !important;
        background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%) !important;
    }
    .hero-pill-badge {
        font-size: 0.68rem;
        padding: 3px 10px;
        margin-bottom: 0.5rem;
    }
    .hero-main-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.35rem;
        line-height: 1.25;
    }
    .hero-lead-text {
        font-size: 0.82rem !important;
        line-height: 1.4;
        margin-bottom: 0.85rem;
        color: rgba(255, 255, 255, 0.85);
        padding: 0 8px;
    }
    .hero-trust-metrics {
        display: flex;
        gap: 5px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-metric-item {
        font-size: 0.68rem;
        padding: 3px 8px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* Container and App Card */
    .donation-portal-container {
        margin-top: -2.5rem !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .donation-main-card {
        padding: 1.25rem 1rem !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(11, 25, 44, 0.08) !important;
        border: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    /* Segmented App Stepper */
    .donation-steps-nav {
        display: flex !important;
        background: #e2e8f0;
        padding: 4px;
        border-radius: 28px !important;
        gap: 2px;
        margin-bottom: 1.25rem;
    }
    .donation-step-item {
        flex: 1;
        padding: 7px 4px !important;
        font-size: 0.72rem !important;
        justify-content: center;
        border-radius: 22px !important;
        border: none !important;
        background: transparent;
        color: #64748b;
    }
    .donation-step-item.active {
        background: #ffffff !important;
        color: var(--navy-900) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
        font-weight: 700 !important;
    }
    .donation-step-item .step-num {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.65rem !important;
        margin-right: 3px !important;
    }

    /* Preset Amounts Responsive Grid (Tailored for iPhone 16 / 15 / Galaxy / Mobile) */
    .preset-amount-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    @media (min-width: 576px) {
        .preset-amount-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 12px !important;
        }
    }
    .preset-amount-card {
        padding: 13px 8px !important;
        border-radius: 14px !important;
        text-align: center;
        border: 1.5px solid #e2e8f0;
        background: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        cursor: pointer;
        position: relative;
        transition: transform 0.12s ease, border-color 0.12s ease;
    }
    .preset-amount-card:active {
        transform: scale(0.96);
    }
    .preset-amount-card.active {
        border-color: var(--saffron-500) !important;
        background: linear-gradient(180deg, #fff9f5 0%, #ffffff 100%) !important;
        box-shadow: 0 4px 14px rgba(255, 101, 0, 0.22) !important;
    }
    .preset-amount-card.active::after {
        content: '✓';
        position: absolute;
        top: 6px !important;
        right: 6px !important;
        width: 20px !important;
        height: 20px !important;
        background: var(--saffron-500);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem !important;
        font-weight: 800;
        box-shadow: 0 2px 6px rgba(255, 101, 0, 0.35);
    }
    .preset-val {
        font-size: 1.25rem !important;
        font-weight: 800;
        color: var(--navy-900);
        margin-bottom: 3px;
        line-height: 1.2;
    }
    .preset-badge-tag {
        font-size: 0.68rem !important;
        font-weight: 700 !important;
        padding: 2px 6px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
        line-height: 1.2;
    }

    /* Quick Add Chips (Horizontal App Scroll) */
    .quick-increments {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .quick-increments::-webkit-scrollbar {
        display: none;
    }
    .increment-chip {
        padding: 5px 12px !important;
        font-size: 0.76rem !important;
        border-radius: 18px !important;
        white-space: nowrap;
        flex-shrink: 0;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        color: #334155;
    }
    .increment-chip:active {
        transform: scale(0.92);
        background: #e2e8f0;
    }

    /* Payment Method Selector on Mobile */
    .payment-selector-grid {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .payment-method-card {
        padding: 10px 8px !important;
        border-radius: 12px !important;
        text-align: center;
        position: relative;
    }
    .method-header {
        justify-content: center !important;
        margin-bottom: 4px !important;
    }
    .method-name {
        font-size: 0.84rem !important;
        font-weight: 700;
        margin-bottom: 0 !important;
        line-height: 1.2;
    }
    .method-desc {
        display: none !important; /* Hide long description to keep app-like */
    }
    .method-check-circle {
        position: absolute;
        top: 6px;
        right: 6px;
        width: 18px !important;
        height: 18px !important;
        font-size: 0.62rem !important;
    }

    /* Form Controls */
    .form-control, .form-select {
        height: 48px !important;
        border-radius: 10px !important;
        font-size: 0.92rem !important;
    }
    .input-icon-left {
        width: 42px;
        font-size: 0.95rem;
    }
    .form-floating-custom input, .form-floating-custom select {
        padding-left: 42px !important;
    }
    .field-label-text {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }

    /* UPI Details & QR Codes on Mobile */
    .bank-detail-item {
        padding: 8px 10px;
        margin-bottom: 6px;
        border-radius: 10px;
    }
    .detail-label-tag {
        font-size: 0.68rem;
    }
    .detail-value-text {
        font-size: 0.85rem !important;
    }
    .qr-preview-img {
        max-width: 140px !important;
    }
    .qr-preview-box {
        padding: 10px !important;
        border-radius: 14px !important;
    }

    /* Hide redundant desktop submit button inside card when sticky bar is active */
    .desktop-submit-cta-wrapper {
        margin-top: 1.5rem !important;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* --------------------------------------------------------------------------
   Mobile App Sticky Action Bar (Fixed Bottom Drawer)
   -------------------------------------------------------------------------- */
.mobile-sticky-action-bar {
    position: fixed;
    bottom: 56px; /* Sits directly above bottom tab bar */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 998;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
}

.mobile-bar-amount-wrap {
    display: flex;
    flex-direction: column;
}

.mobile-bar-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
    line-height: 1;
}

.mobile-bar-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.15;
}

.mobile-bar-tax {
    font-size: 0.65rem;
    color: #059669;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.mobile-bar-cta-btn {
    background: linear-gradient(135deg, var(--saffron-500) 0%, var(--saffron-600) 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(255, 101, 0, 0.38);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mobile-bar-cta-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(255, 101, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Mobile App Native Bottom Navigation Bar
   -------------------------------------------------------------------------- */
.mobile-app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 600;
    gap: 2px;
    padding: 4px 14px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.app-nav-item i {
    font-size: 1.15rem;
}

.app-nav-item.active {
    color: var(--saffron-500);
    font-weight: 800;
}

.app-nav-item:active {
    transform: scale(0.92);
}

/* --------------------------------------------------------------------------
   Universal Mobile Responsiveness Across All Pages
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Checkout Page Mobile Adaptation */
    body.checkout-body-bg {
        padding: 1rem 0.75rem 5rem;
    }
    .checkout-wrapper-card {
        border-radius: 16px !important;
        margin: 0 auto;
        width: 100% !important;
    }
    .checkout-header-strip {
        padding: 1.25rem 1rem !important;
    }
    .checkout-header-strip h3 {
        font-size: 1.25rem !important;
    }
    .checkout-body {
        padding: 1.25rem 1rem !important;
    }
    .btn-pay-now {
        font-size: 1.05rem !important;
        padding: 14px 18px !important;
    }

    /* Success & Receipt Pages Mobile Optimization */
    .success-page-card {
        border-radius: 16px !important;
        margin: 0 auto 5rem !important;
    }
    .official-receipt-doc {
        padding: 1.25rem 1rem !important;
        border-width: 1.5px !important;
    }
    .receipt-header-row {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px;
    }
    .receipt-header-logo {
        margin: 0 auto;
    }
    .receipt-stat-table {
        font-size: 0.85rem !important;
    }
    .receipt-stat-table td {
        padding: 8px 4px !important;
        display: block;
        width: 100% !important;
    }
    .receipt-stat-table tr {
        display: block;
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 6px;
        margin-bottom: 6px;
    }
    .receipt-stat-table td:first-child {
        font-weight: 600;
        color: #64748b;
    }
    .receipt-seal-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        text-align: center !important;
    }
    .receipt-cta-actions {
        flex-direction: column !important;
        width: 100%;
        gap: 10px !important;
    }
    .receipt-cta-actions .btn {
        width: 100% !important;
    }

    /* Upload Screenshot Page Mobile Optimization */
    .upload-card-wrapper {
        border-radius: 16px !important;
        padding: 1.25rem !important;
        margin: 0 auto 5rem !important;
    }
    .drag-drop-zone {
        padding: 1.75rem 1rem !important;
    }
    .upload-details-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Recent Donor Wall Mobile Optimization */
    .recent-hero {
        padding: 2.25rem 1rem 3.5rem !important;
    }
    .recent-hero h1 {
        font-size: 1.75rem !important;
    }
    .stats-strip-container .row > div {
        margin-bottom: 12px;
    }
    .donor-table-card {
        border-radius: 16px !important;
        overflow: hidden;
    }
    .donor-table-card .table th, 
    .donor-table-card .table td {
        padding: 10px 8px !important;
        font-size: 0.84rem !important;
    }
    .donor-avatar-circle {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.8rem !important;
    }
}

/* --------------------------------------------------------------------------
   Mission Updates / Announcements Card Styles
   -------------------------------------------------------------------------- */
.updates-section-wrap {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 3.5rem 0;
}
.update-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(11, 25, 44, 0.12);
    border-color: #cbd5e1;
}
.update-img-box {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}
.update-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.update-card:hover .update-img-box img {
    transform: scale(1.05);
}
.update-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 25, 44, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.update-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.update-meta-date {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}
.update-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 8px;
}
.update-snippet {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1rem;

/* --------------------------------------------------------------------------
   Razorpay Modal Backdrop Fix (Prevent blurry gloomy overlay)
   -------------------------------------------------------------------------- */
.razorpay-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(11, 25, 44, 0.45) !important;
}
