/* ==========================================================================
   Heart for Humanity (Heart for Humanity)
   Custom CSS matching modern blood donation platform aesthetics with Bootstrap 5
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #0b8744;
    --primary-dark: #076735;
    --primary-light: #f0f9f1;
    --primary-rgb: 11, 135, 68;
    --brand-red: #ed1c24;
    --bs-primary-rgb: 11, 135, 68;
    --bs-danger-rgb: 11, 135, 68;
    --bs-danger-text-emphasis: #076735;
    --bs-danger-bg-subtle: #e6f4e8;
    --bs-danger-border-subtle: #ccebd1;
    --accent-color: #52b640;
    --accent-dark: #39862c;
    --accent-light: #eaf7e5;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --slate-text: #334155;
    --slate-muted: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --card-hover-shadow: 0 20px 30px -10px rgba(11, 135, 68, 0.12), 0 12px 15px -8px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Hind Siliguri', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--slate-text);
    background-color: #f8fafc;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 700;
    color: #0f172a;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
#header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    transition: all 0.4s ease;
}

.top-bar {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.header-scrolled .top-bar {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom-color: transparent;
}

.social-icon-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 11px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon-btn:hover {
    background: var(--accent-color);
    color: #0f172a;
    transform: translateY(-2px);
}

.navbar-main {
    padding: 12px 0;
    background: transparent;
    transition: all 0.4s ease;
}

.header-scrolled .navbar-main {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 8px 0;
}

.navbar-brand {
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-scrolled .navbar-brand {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.navbar-brand img {
    max-height: 44px;
    transition: all 0.3s ease;
}

.header-scrolled .navbar-brand img {
    max-height: 40px;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 14px !important;
    position: relative;
    transition: color 0.25s ease;
    text-decoration: none;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
}

.header-scrolled .nav-link-custom {
    color: #334155;
}

.header-scrolled .nav-link-custom:hover,
.header-scrolled .nav-link-custom.active {
    color: var(--primary-color);
}

.header-scrolled .nav-link-custom::after {
    background: var(--primary-color);
}

.btn-login-pill {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.header-scrolled .btn-login-pill {
    color: var(--primary-color);
    border-color: rgba(11, 135, 68, 0.3);
}

.header-scrolled .btn-login-pill:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-donor-cta {
    background: #fff;
    color: var(--primary-color);
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-donor-cta:hover {
    background: #f1f5f9;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.header-scrolled .btn-donor-cta {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(11, 135, 68, 0.35);
}

.header-scrolled .btn-donor-cta:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 680px;
    padding-top: 140px;
    padding-bottom: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0f172a;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide-bg.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 37, 27, 0.93) 0%, rgba(6, 37, 27, 0.82) 55%, rgba(6, 37, 27, 0.65) 100%);
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.2;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 5px 18px;
    background: rgba(11, 135, 68, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(11, 135, 68, 0.35);
}

.hero-title {
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-title .text-warning {
    color: #facc15 !important;
    text-shadow: 0 4px 20px rgba(234, 179, 8, 0.4), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
}

.hero-indicators {
    display: flex;
    gap: 8px;
}

.indicator-bar {
    width: 12px;
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-bar.active {
    width: 32px;
    background: #fff;
}

.hero-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.hero-nav-btn:hover {
    background: #fff;
    color: var(--primary-color);
}

/* ==========================================================================
   Donation Card Widget in Hero
   ========================================================================== */
.hero-donate-card {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

.donate-input-group {
    position: relative;
    margin-bottom: 14px;
}

.donate-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    z-index: 5;
}

.donate-input-group .form-control,
.donate-input-group .form-select {
    padding-left: 42px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.donate-input-group .form-control:focus,
.donate-input-group .form-select:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 135, 68, 0.15);
}

.amt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.amt-pill {
    padding: 8px 4px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.amt-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.amt-pill.active {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-donate-submit {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    box-shadow: 0 8px 20px rgba(11, 135, 68, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-donate-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(11, 135, 68, 0.45);
    color: #fff;
}

/* ==========================================================================
   Quick Donor Search Bar
   ========================================================================== */
.search-strip {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-top: -35px;
    position: relative;
    z-index: 20;
}

.donor-search-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 12px 30px -5px rgba(11, 135, 68, 0.07), 0 4px 14px rgba(0, 0, 0, 0.04);
    border: 1.5px solid #e6f4e8;
    transition: all 0.3s ease;
}

.donor-search-card:hover {
    box-shadow: 0 18px 38px -5px rgba(11, 135, 68, 0.12), 0 6px 18px rgba(0, 0, 0, 0.05);
}

.donor-search-card .form-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.donor-search-card .form-select,
.donor-search-card .form-control {
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    padding: 10px 14px;
    background-color: #ffffff;
    transition: all 0.25s ease;
}

.donor-search-card .form-select:focus,
.donor-search-card .form-control:focus {
    border-color: #0b8744;
    box-shadow: 0 0 0 4px rgba(11, 135, 68, 0.12);
    outline: none;
}

.donor-search-btn {
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b8744 0%, #0b8744 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    border: none;
    box-shadow: 0 6px 18px rgba(11, 135, 68, 0.3);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    cursor: pointer;
}

.donor-search-btn:hover {
    background: linear-gradient(135deg, #076735 0%, #076735 100%);
    box-shadow: 0 10px 24px rgba(11, 135, 68, 0.42);
    transform: translateY(-2px);
}

.donor-search-btn:active {
    transform: translateY(0);
}

.donor-filter-btn {
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.donor-filter-btn.active,
.donor-filter-btn.btn-danger {
    background-color: #0b8744 !important;
    border-color: #0b8744 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(11, 135, 68, 0.3);
}

.empty-search-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px dashed #fca5a5;
    padding: 40px 24px;
    text-align: center;
    margin: 20px auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}


/* ==========================================================================
   Section Styling & Headers
   ========================================================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--primary-light);
    border: 1px solid rgba(11, 135, 68, 0.2);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(11, 135, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(11, 135, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(11, 135, 68, 0); }
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--slate-muted);
    font-size: 15px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 4px solid #fff;
    aspect-ratio: 16/10;
    background: #000;
}

.about-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-video-container:hover .about-cover-img {
    transform: scale(1.05);
}

.about-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.play-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 0 10px rgba(11, 135, 68, 0.3);
    transition: all 0.3s ease;
}

.about-video-container:hover .play-circle {
    transform: scale(1.1);
    box-shadow: 0 0 0 16px rgba(11, 135, 68, 0.4);
}

.about-stat-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #fff;
    padding: 18px 24px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Blood Request Cards (Live)
   ========================================================================== */
.request-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.request-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.request-card-header {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 6px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.req-status-done {
    background: #10b981;
    color: #fff;
}

.req-status-expired {
    background: #64748b;
    color: #fff;
}

.req-status-urgent {
    background: #0b8744;
    color: #fff;
    animation: urgentBlink 2s infinite;
}

@keyframes urgentBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.request-card-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blood-badge-floating {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(11, 135, 68, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}

.req-patient-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    padding-right: 50px;
}

.req-info-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 14px;
    flex-grow: 1;
}

.req-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.req-info-row:last-child {
    margin-bottom: 0;
}

.req-info-row i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================================================
   Donor Cards (Recent & Honored)
   ========================================================================== */
.donor-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.donor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
}

.donor-cover-gradient {
    height: 65px;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    position: relative;
}

.donor-blood-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 13px;
    padding: 6px 14px;
    border-bottom-left-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.donor-avatar-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: -38px auto 10px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: #94a3b8;
}

.donor-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donor-body {
    padding: 0 14px 14px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.donor-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.donor-location {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.donor-quote {
    background: #fffbeb;
    border: 1px solid #eaf7e5;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    color: #92400e;
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.4;
}

.donor-status-ready {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #059669;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-top: auto;
    margin-bottom: 12px;
}

.donor-status-wait {
    background: #f0f9f1;
    border: 1px solid #e6f4e8;
    color: #0b8744;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: 12px;
}

.donor-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.btn-donor-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-donor-call:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-donor-req {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0b8744 0%, #076735 100%);
    border: none;
    color: #fff;
    padding: 9px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 3px 8px rgba(11, 135, 68, 0.2);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-donor-req:hover {
    background: linear-gradient(135deg, #076735 0%, #064d2b 100%);
    box-shadow: 0 5px 14px rgba(11, 135, 68, 0.35);
    transform: translateY(-1px);
    color: #fff;
}

/* Honored Donor Specifics */
.donor-card-honored {
    background: linear-gradient(to bottom, #f0f9f1, #ffffff);
    border-color: #ccebd1;
}

.honor-badge-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #52b640 0%, #0b8744 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(11, 135, 68, 0.25);
    margin-bottom: 10px;
}

.honor-badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
    margin-bottom: 10px;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.project-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
}

.project-thumb {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.08);
}

.project-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.project-icon-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.project-body {
    padding: 22px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-title a:hover {
    color: var(--primary-color);
}

.project-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.project-progress-wrap {
    margin-top: auto;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.custom-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.custom-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    position: relative;
}

.btn-project-join {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(11, 135, 68, 0.2);
    transition: all 0.25s ease;
    display: block;
}

.btn-project-join:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ==========================================================================
   Notice Marquee Section
   ========================================================================== */
.notice-marquee-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    padding: 8px 0;
}

.notice-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: noticeScroll 30s linear infinite;
}

.notice-track:hover {
    animation-play-state: paused;
}

@keyframes noticeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.notice-card {
    background: #fff;
    border-radius: 18px;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    width: 380px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notice-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 135, 68, 0.12);
}

.notice-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   Join Us Grid
   ========================================================================== */
.join-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.join-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.join-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.join-card:hover .join-icon-box {
    transform: scale(1.1) rotate(4deg);
}

.join-card-alt .join-icon-box {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.btn-join-action {
    margin-top: auto;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.join-card:hover .btn-join-action {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 135, 68, 0.3);
}

.join-card-alt:hover .btn-join-action {
    background: var(--accent-color);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Blog / News Section
   ========================================================================== */
.news-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
}

.news-thumb {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.08);
}

.news-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
}

/* ==========================================================================
   Executive Committee / Team
   ========================================================================== */
.team-leader-card {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-quote-icon {
    font-size: 32px;
    color: rgba(11, 135, 68, 0.2);
    margin-bottom: 12px;
}

.leader-quote-text {
    font-size: 13px;
    color: #334155;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.leader-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.leader-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    padding: 2px;
    flex-shrink: 0;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-member-card {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
}

.member-avatar-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
}

.member-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.member-fb-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.member-fb-icon:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ==========================================================================
   Newsletter Subscription Banner
   ========================================================================== */
.subscribe-section {
    background: linear-gradient(135deg, #0b8744 0%, #076735 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.subscribe-input {
    height: 54px;
    border-radius: 16px 0 0 16px;
    border: none;
    padding-left: 20px;
    font-size: 15px;
}

.subscribe-btn {
    height: 54px;
    border-radius: 0 16px 16px 0;
    background: var(--accent-color);
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    padding: 0 28px;
    border: none;
    transition: all 0.25s ease;
}

.subscribe-btn:hover {
    background: #fbbf24;
    color: #000;
}

@media (max-width: 576px) {
    .subscribe-input {
        border-radius: 14px;
        margin-bottom: 8px;
    }
    .subscribe-btn {
        border-radius: 14px;
        width: 100%;
    }
}

/* ==========================================================================
   Gallery Lightbox Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #fff;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #06251b;
    color: #94a3b8;
    padding-top: 80px;
    padding-bottom: 25px;
    border-top: 4px solid var(--primary-color);
}

.footer-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-heading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-donate-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 18px;
    padding: 20px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    margin-top: 60px;
    font-size: 13px;
    color: #64748b;
}

/* ==========================================================================
   Mobile Bottom Bar
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1030;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 64px;
    }
}

.mobile-bottom-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.mobile-bottom-link i {
    font-size: 18px;
    margin-bottom: 2px;
}

.mobile-bottom-link.active,
.mobile-bottom-link:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(11, 135, 68, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Custom Modals styling */
.modal-content {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 14px 24px;
}

/* ==========================================================================
   Our Trusted Partners
   ========================================================================== */
.partner-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    background: #ffffff;
    border: 1px solid #f1f5f9;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -6px rgba(6, 37, 27, 0.08) !important;
    border-color: #cbd5e1 !important;
}

