/* ==========================================================================
   Jan Seva - Charitable Trust Platform (Core CSS)
   Bilingual, Responsive, Professional Indian Charitable Trust Design
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #ccfbf1;
    --primary-subtle: #f0fdfa;
    
    --secondary: #d97706;
    --secondary-dark: #b45309;
    --secondary-light: #fef3c7;
    
    --accent-heart: #e11d48;
    --accent-heart-bg: #ffe4e6;
    
    --dark-900: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.03);
    --shadow-hover: 0 20px 25px -5px rgba(15, 118, 110, 0.12), 0 8px 10px -6px rgba(15, 118, 110, 0.08);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-hi: 'Noto Sans Devanagari', 'Inter', sans-serif;
    --container-max: 1240px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-700);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* --- Top Information Bar --- */
.top-info-bar {
    background: #092e2b;
    color: #e2e8f0;
    font-size: 0.825rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.45rem 0;
}

.top-info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info-left, .top-info-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.info-item a {
    color: #f1f5f9;
    font-weight: 500;
}

.info-item a:hover {
    color: var(--secondary);
}

svg {
    max-width: 100%;
    vertical-align: middle;
}

svg:not([width]) {
    width: 16px;
    height: 16px;
}

.nav-icon {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    stroke: var(--secondary);
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.badge-80g {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: #fef3c7;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-icon {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    max-width: 13px !important;
    min-height: 13px !important;
    max-height: 13px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.action-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.emblem-svg {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.top-tagline-text {
    color: #94a3b8;
    font-size: 0.8rem;
    font-family: var(--font-hi);
}

/* --- Main Header & Navigation --- */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-emblem {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.emblem-svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark-900);
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.logo-hindi {
    font-family: var(--font-hi);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-subtext {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.desktop-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links li a {
    color: var(--dark-800);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
    border: none;
    border-bottom: none;
    text-decoration: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
    border: none;
    border-bottom: none;
    text-decoration: none;
    background: transparent;
    outline: none;
    box-shadow: none;
}

.nav-links li a:focus,
.nav-links li a:focus-visible {
    outline: none;
    box-shadow: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.action-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--dark-800);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}

.btn-text:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-800);
    background: #ffffff;
    transition: var(--transition);
}

.btn-outline-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(15, 118, 110, 0.25);
    transition: var(--transition);
}

.btn-primary-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(15, 118, 110, 0.3);
}

/* Mobile Toggle */
.mobile-toggle-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 38px;
    height: 38px;
    justify-content: center;
    align-items: center;
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background: var(--dark-800);
    transition: var(--transition);
}

/* --- Mobile Drawer Navigation --- */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-title {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-menu-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav-links li a {
    display: block;
    padding: 0.65rem 0.85rem;
    color: var(--dark-800);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 600;
}

.admin-preview-link {
    color: var(--secondary-dark) !important;
    font-size: 0.85rem !important;
    border-left: 2px solid var(--secondary);
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mobile-auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.mobile-contact-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.mobile-helpline-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.25rem;
}

.mobile-80g-note {
    font-size: 0.75rem;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-top: 0.35rem;
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- Common Buttons & UI Elements --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(15, 118, 110, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(15, 118, 110, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ffffff;
    color: var(--dark-800) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: var(--bg-light);
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--primary);
    color: #ffffff !important;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 118, 110, 0.28);
    transition: var(--transition);
}

.btn-primary-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.35);
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #ffffff;
    color: var(--dark-800) !important;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-large:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
}

.w-full { width: 100%; }
.text-center { text-align: center; }

/* Section Header Styling */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-900);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}

.section-title .hindi-title {
    display: block;
    font-family: var(--font-hi);
    font-size: 1.55rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.35rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(9, 46, 43, 0.92) 0%, rgba(15, 118, 110, 0.85) 100%),
                url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 5.5rem 0 5rem 0;
    overflow: hidden;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-trust-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-shield-icon {
    width: 16px;
    height: 16px;
    stroke: var(--secondary-light);
}

.hero-heading {
    font-family: var(--font-hi);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subheading {
    font-size: 1.25rem;
    color: #f0fdfa;
    line-height: 1.6;
    margin-bottom: 2.25rem;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-hero-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: #ffffff !important;
    padding: 0.95rem 2.2rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    transition: var(--transition);
}

.btn-hero-donate:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.5);
}

.btn-hero-help {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-900) !important;
    padding: 0.95rem 2.2rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-hero-help:hover {
    background: #ffffff;
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.hero-pillars-strip {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.75rem;
    font-size: 0.9rem;
    color: #ccfbf1;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pillar-check {
    width: 16px;
    height: 16px;
    stroke: #34d399;
}

/* --- Statistics Section --- */
.stats-section {
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
    margin-bottom: 4.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.stat-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-900);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.stat-label-hi {
    font-family: var(--font-hi);
    font-size: 0.85rem;
    color: var(--secondary-dark);
    margin-bottom: 0.4rem;
}

.stat-desc {
    font-size: 0.775rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- About Section --- */
.about-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-image-column {
    position: relative;
}

.about-main-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-main-img:hover {
    transform: scale(1.02);
}

.about-floating-card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 270px;
}

.floating-badge-icon {
    width: 42px;
    height: 42px;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-badge-icon svg {
    width: 22px;
    height: 22px;
}

.floating-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-900);
}

.floating-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.about-content-column {
    padding-left: 0.5rem;
}

.about-lead-para {
    font-size: 1.15rem;
    color: var(--dark-800);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-lead-para strong {
    color: var(--primary);
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}

.about-pillar-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.pillar-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.pillar-card-icon {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

.pillar-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-900);
}

.about-pillar-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Our Work Section --- */
.our-work-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.work-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.work-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.work-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.work-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.work-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-icon-box svg {
    width: 26px;
    height: 26px;
}

.work-badge {
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
}

.work-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.2rem;
}

.work-title-hi {
    font-family: var(--font-hi);
    font-size: 0.9rem;
    color: var(--secondary-dark);
    margin-bottom: 0.75rem;
}

.work-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.btn-work-learn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-work-learn:hover {
    color: var(--primary-dark);
    gap: 0.55rem;
}

/* --- How It Works Section --- */
.how-it-works-section {
    padding: 5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    position: relative;
}

.step-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-card:hover .step-number {
    color: var(--primary);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.2rem;
}

.step-title-hi {
    font-family: var(--font-hi);
    font-size: 0.85rem;
    color: var(--secondary-dark);
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- Donation Section --- */
.donation-cta-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f0fdfa, #f8fafc);
}

.donation-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.donation-box-header {
    text-align: center;
    margin-bottom: 2rem;
}

.donation-box-title {
    font-family: var(--font-hi);
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--dark-900);
    margin-bottom: 0.5rem;
}

.donation-box-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.amount-selector-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    border: 2px solid var(--border-color);
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 0.85rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-800);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    background: var(--primary-subtle);
    color: var(--primary);
}

.custom-amount-row {
    margin-bottom: 1.5rem;
}

.input-with-currency {
    position: relative;
}

.currency-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-800);
}

.input-with-currency input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.input-with-currency input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.donation-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.donation-tax-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--secondary-dark);
    margin-top: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* --- Get Help Section --- */
.get-help-section {
    padding: 5rem 0;
    background: #ffffff;
}

.get-help-banner {
    background: linear-gradient(135deg, #092e2b 0%, #115e59 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.get-help-text-content {
    max-width: 650px;
}

.get-help-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #ccfbf1;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.get-help-heading {
    font-family: var(--font-hi);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.get-help-desc {
    font-size: 1.05rem;
    color: #f0fdfa;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.get-help-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #ccfbf1;
}

.get-help-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-get-help-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: #ffffff !important;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
    white-space: nowrap;
    transition: var(--transition);
}

.btn-get-help-action:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* --- Success Stories Section --- */
.success-stories-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.story-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.story-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-img-wrap img {
    transform: scale(1.05);
}

.story-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 118, 110, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

.story-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.story-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-900);
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.story-title-hi {
    font-family: var(--font-hi);
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.story-summary {
    font-size: 0.875rem;
    color: var(--dark-700);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.story-impact-box {
    background: var(--primary-subtle);
    border-left: 3px solid var(--primary);
    padding: 0.65rem 0.85rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

.btn-story-view {
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 5rem 0;
    background: #ffffff;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.gallery-filter-btn {
    background: var(--bg-light);
    border: 1.5px solid var(--border-color);
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-700);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 46, 43, 0.9) 0%, rgba(9, 46, 43, 0.2) 60%, transparent 100%);
    color: #ffffff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-category {
    font-size: 0.725rem;
    text-transform: uppercase;
    color: var(--secondary-light);
    font-weight: 700;
}

.gallery-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.gallery-view-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

/* Gallery Lightbox Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
}

.gallery-modal-dialog {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

.gallery-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    color: #ffffff;
    border: none;
    font-size: 1.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gallery-modal-image-wrap {
    background: #000000;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image-wrap img {
    max-height: 480px;
    width: auto;
    object-fit: contain;
}

.gallery-modal-info {
    padding: 1.5rem;
    background: #ffffff;
}

.modal-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-top: 0.25rem;
}

.modal-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- YouTube Videos Section --- */
.videos-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.video-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.video-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000000;
}

.video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 1.25rem 1.5rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.775rem;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.video-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-900);
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.video-title-hi {
    font-family: var(--font-hi);
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* --- Transparency Section --- */
.transparency-section {
    padding: 5rem 0;
    background: #ffffff;
}

.transparency-banner-card {
    background: var(--primary-subtle);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.transparency-emblem-wrap {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transparency-emblem-wrap svg {
    width: 40px;
    height: 40px;
}

.transparency-banner-text h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.transparency-banner-text p {
    font-size: 0.95rem;
    color: var(--dark-700);
    line-height: 1.6;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.transparency-item-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.transparency-item-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.t-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.t-icon-box svg {
    width: 20px;
    height: 20px;
}

.t-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.35rem;
}

.t-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Trust / Verification Section --- */
.verification-section {
    padding: 4.5rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.trust-badges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-badge-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-badge-icon svg {
    width: 22px;
    height: 22px;
}

.trust-badge-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-900);
    margin-bottom: 0.25rem;
}

.trust-badge-text p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- Supporter Banner CTA (Sitewide Bottom) --- */
.supporter-banner-section {
    padding: 3.5rem 0;
    background: #ffffff;
}

.supporter-banner-card {
    background: linear-gradient(135deg, #092e2b 0%, #0f766e 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.supporter-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: var(--secondary-light);
    font-size: 0.775rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.supporter-heading {
    font-family: var(--font-hi);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.supporter-text {
    font-size: 0.95rem;
    color: #ccfbf1;
    max-width: 600px;
    line-height: 1.55;
}

.supporter-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cta-heart {
    width: 20px;
    height: 20px;
    fill: #fda4af;
}

/* --- Large Site Footer --- */
.site-footer {
    background: #061c1b;
    color: #94a3b8;
    padding: 4.5rem 0 2rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-logo-hi {
    font-family: var(--font-hi);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
}

.footer-tagline {
    font-family: var(--font-hi);
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-about-text {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: #94a3b8;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 118, 110, 0.25);
    border: 1px solid rgba(15, 118, 110, 0.5);
    color: #5eead4;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 600;
}

.badge-check-icon {
    width: 14px;
    height: 14px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-admin-link {
    color: var(--secondary-light) !important;
    font-size: 0.825rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.95rem;
    font-size: 0.85rem;
    line-height: 1.45;
}

.footer-contact-item a {
    color: #94a3b8;
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.f-icon {
    width: 16px;
    height: 16px;
    stroke: var(--secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-social-wrap {
    margin-top: 1.25rem;
}

.social-label {
    display: block;
    font-size: 0.775rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.social-icons-row {
    display: flex;
    gap: 0.65rem;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-disclaimer {
    font-size: 0.775rem;
    color: #94a3b8;
}

/* --- Inner Page Banners --- */
.page-hero {
    background: linear-gradient(135deg, #092e2b 0%, #0f766e 100%);
    color: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
}

.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-hero-title-hi {
    font-family: var(--font-hi);
    font-size: 1.5rem;
    color: var(--secondary-light);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-hero-desc {
    font-size: 1.05rem;
    color: #ccfbf1;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    color: #99f6e4;
    margin-top: 1.25rem;
}

.breadcrumb-nav a {
    color: #ffffff;
    font-weight: 500;
}

.breadcrumb-nav span {
    color: #5eead4;
}

/* --- Forms Styling --- */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-800);
    margin-bottom: 0.4rem;
}

.form-label-required::after {
    content: " *";
    color: var(--accent-heart);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--dark-800);
    background: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--dark-800);
    background: #ffffff;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.form-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* --- Dashboard / Profile Placeholder UI --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.dashboard-sidebar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    height: fit-content;
}

.user-profile-badge {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.avatar-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 0.75rem auto;
}

.user-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-900);
}

.user-role-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary-subtle);
    color: var(--primary);
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
}

.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--dark-700);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dashboard-menu a svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 600;
}

.dashboard-menu a.active svg {
    stroke: var(--primary);
}

.dashboard-main-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-stat-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.dash-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-900);
}

.dash-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.data-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-800);
    border-bottom: 1.5px solid var(--border-color);
}

.data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-700);
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    font-weight: 700;
}

.status-pending { background: #fef3c7; color: #b45309; }
.status-approved { background: #dcfce7; color: #15803d; }
.status-completed { background: #e0f2fe; color: #0369a1; }

/* --- Admin Dashboard Separate Placeholder --- */
.admin-navbar {
    background: #0f172a;
    color: #ffffff;
    padding: 0.75rem 0;
}

.admin-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}

.admin-badge {
    background: var(--secondary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.admin-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.admin-tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-tab-pane {
    display: none;
}

.admin-tab-pane.active {
    display: block;
}

/* --- Static Policy Document Layout --- */
.policy-container {
    max-width: 860px;
    margin: 3.5rem auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 3rem;
}

.policy-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.policy-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-900);
    margin: 1.75rem 0 0.65rem 0;
}

.policy-content p {
    font-size: 0.95rem;
    color: var(--dark-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.policy-content li {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

/* --- Pulse / Attention Animations --- */
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.btn-donate-pulse svg {
    animation: heartPulse 2.2s infinite ease-in-out;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Breakpoints for 1440px, 1280px, 1024px, 768px, 414px, 390px, 375px, 360px)
   ========================================================================== */

@media (max-width: 1200px) {
    .work-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    .footer-grid .footer-col:nth-child(4) {
        display: none;
    }
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle-btn {
        display: flex;
    }
    .hide-tablet {
        display: none !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .video-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .transparency-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-badges-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-main-img {
        height: 380px;
    }
    .about-floating-card {
        right: 1rem;
        bottom: -1rem;
    }
    .get-help-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .supporter-banner-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .header-inner {
        height: 62px;
        gap: 0.5rem;
    }
    .brand-logo {
        gap: 0.5rem;
    }
    .logo-emblem {
        width: 34px;
        height: 34px;
    }
    .logo-title {
        font-size: 1.05rem;
    }
    .logo-hindi {
        font-size: 0.75rem;
    }
    .logo-subtext {
        font-size: 0.62rem;
    }
    .header-actions {
        gap: 0.35rem;
    }
    .btn-primary-sm {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    .hero-heading {
        font-size: 2.25rem;
    }
    .hero-subheading {
        font-size: 1.05rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-title .hindi-title {
        font-size: 1.3rem;
    }
    .hero-pillars-strip {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .stories-grid,
    .video-cards-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .transparency-banner-card {
        flex-direction: column;
        text-align: center;
    }
    .transparency-grid {
        grid-template-columns: 1fr;
    }
    .trust-badges-row {
        grid-template-columns: 1fr;
    }
    .amount-selector-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-grid .brand-col {
        grid-column: span 2;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .dash-stats-row {
        grid-template-columns: 1fr;
    }
    .policy-container {
        padding: 1.75rem;
    }
    .donation-box {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3.5rem 0 3rem 0;
    }
    .hero-heading {
        font-size: 1.85rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .work-cards-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid .brand-col {
        grid-column: span 1;
    }
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .btn-hero-donate, .btn-hero-help {
        width: 100%;
        justify-content: center;
    }
    .about-floating-card {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
}

/* Universal Public Mobile Responsiveness Engine & Layout System */
.grid-sidebar-responsive,
.campaign-grid-layout,
.detail-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.donate-grid-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 2rem;
    align-items: flex-start;
}

.grid-2-responsive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.grid-3-responsive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.grid-profile-responsive {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 991px) {
    /* Collapse 2-column or split layouts in main site container */
    .grid-sidebar-responsive,
    .campaign-grid-layout,
    .donate-grid-layout,
    .detail-grid-layout,
    .grid-2-responsive,
    .grid-3-responsive,
    .site-container div[style*="grid-template-columns: 2fr 1fr"],
    .site-container div[style*="grid-template-columns: 1.3fr 0.7fr"],
    .site-container div[style*="grid-template-columns: 1fr 1fr"],
    .site-container div[style*="grid-template-columns: 380px 1fr"],
    .site-container div[style*="grid-template-columns: 180px 1fr"],
    .site-container div[style*="grid-template-columns: 1fr 340px"],
    main div[style*="grid-template-columns: 2fr 1fr"],
    main div[style*="grid-template-columns: 1.3fr 0.7fr"],
    main div[style*="grid-template-columns: 1fr 1fr"],
    div[id][style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .story-case-card {
        grid-template-columns: 1fr !important;
    }

    /* User Portal Dashboard Mobile Optimization */
    .dashboard-layout {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 1.25rem 0 !important;
    }

    .dashboard-sidebar {
        padding: 1rem !important;
        border-radius: var(--radius-md) !important;
    }

    .user-profile-badge {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: left !important;
        padding-bottom: 0.85rem !important;
        margin-bottom: 0.85rem !important;
    }

    .user-profile-badge .avatar-placeholder,
    .user-profile-badge img {
        margin: 0 !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 1.15rem !important;
        flex-shrink: 0 !important;
    }

    .dashboard-menu {
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0.5rem !important;
        padding-bottom: 0.35rem !important;
        scrollbar-width: none;
    }

    .dashboard-menu::-webkit-scrollbar {
        display: none;
    }

    .dashboard-menu a {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.825rem !important;
        background: #f8fafc;
        border: 1px solid var(--border-color);
        border-radius: 9999px !important;
    }

    .dashboard-menu a.active {
        background: var(--primary) !important;
        color: #ffffff !important;
        border-color: var(--primary) !important;
    }

    .dashboard-menu a.active svg {
        stroke: #ffffff !important;
    }

    .dashboard-main-content {
        padding: 1.25rem 1rem !important;
        border-radius: var(--radius-md) !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    /* Mobile Form Grid and Stat Card Overrides */
    .form-grid-2,
    .grid-2-responsive,
    .grid-3-responsive {
        grid-template-columns: 1fr !important;
    }

    .dash-stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

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

    .grid-profile-responsive {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 1.25rem !important;
    }

    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    }

    /* Universal Horizontal Table Scroll with Touch Momentum for Mobile */
    .data-table-wrap,
    .table-responsive,
    .admin-table-wrap,
    div[style*="overflow-x: auto"] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box;
    }

    .data-table,
    .table,
    .adm-table,
    .admin-table {
        min-width: 650px !important;
    }

    /* Touch-friendly Gallery Overlay on Mobile */
    .gallery-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(9, 46, 43, 0.9) 0%, rgba(9, 46, 43, 0.2) 60%, transparent 100%) !important;
    }

    /* Touch Target & Form Input Ergonomics */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-primary-sm,
    .btn-outline-sm,
    .form-input,
    .form-select,
    select,
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="number"],
    input[type="date"],
    input[type="file"] {
        min-height: 44px;
        font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    }
}

@media (max-width: 480px) {
    .amount-selector-row {
        grid-template-columns: 1fr 1fr !important;
    }

    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }

    .site-container {
        padding: 0 0.75rem !important;
    }

    .data-table,
    .table,
    .adm-table,
    .admin-table {
        min-width: 580px !important;
    }
}
