/* =============================================
   RAM CHARAN BLOOD BANK - PREMIUM STYLESHEET
   ============================================= */

:root {
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-300: #fca5a5;
    --red-400: #f87171;
    --red-500: #dc2626;
    --red-600: #b91c1c;
    --red-700: #991b1b;
    --red-800: #7f1d1d;
    --red-900: #450a0a;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --white: #ffffff;
    --black: #000000;

    --font-primary: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 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.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-red: 0 4px 14px rgba(220,38,38,0.25);
    --shadow-glow: 0 0 40px rgba(220,38,38,0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    color: var(--white);
    box-shadow: var(--shadow-red);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,38,38,0.35);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    color: var(--white);
    padding: 16px 36px;
    font-size: 1.05rem;
    box-shadow: var(--shadow-red);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220,38,38,0.4);
}

.btn-hero-secondary {
    background: var(--white);
    color: var(--red-600);
    padding: 16px 36px;
    font-size: 1.05rem;
    border: 2px solid var(--red-200);
}
.btn-hero-secondary:hover {
    background: var(--red-50);
    border-color: var(--red-400);
    transform: translateY(-3px);
}

.btn-call {
    background: linear-gradient(135deg, #059669, #047857);
    color: var(--white);
}
.btn-call:hover { background: linear-gradient(135deg, #047857, #065f46); transform: translateY(-2px); }

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
}
.btn-whatsapp:hover { background: linear-gradient(135deg, #128c7e, #075e54); transform: translateY(-2px); }

.btn-emergency-nav {
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    color: var(--white);
    padding: 10px 24px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-red);
}
.btn-emergency-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220,38,38,0.35);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ========== EMERGENCY BANNER ========== */
.emergency-banner {
    background: linear-gradient(135deg, var(--red-700), var(--red-900));
    color: var(--white);
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    animation: bannerPulse 3s ease-in-out infinite;
}
.emergency-banner .container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.banner-pulse {
    width: 10px; height: 10px;
    background: #fbbf24;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
.banner-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.7;
    padding: 0 8px;
}
.banner-close:hover { opacity: 1; }
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes bannerPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--gray-900);
    letter-spacing: 1px;
}
.logo-sub {
    font-size: 0.65rem;
    color: var(--red-600);
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
    color: var(--red-600);
    background: var(--red-50);
}
.nav-admin {
    margin-left: 8px;
    border: 1px solid var(--gray-200);
}
.nav-admin:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--red-50) 50%, #fff5f5 100%);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}
.hero-bg-elements { position: absolute; inset: 0; pointer-events: none; }
.hero-drop {
    position: absolute;
    width: 20px; height: 26px;
    background: linear-gradient(180deg, var(--red-400), var(--red-600));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.08;
    animation: floatDrop 6s ease-in-out infinite;
}
.hero-drop-1 { top: 15%; right: 20%; animation-delay: 0s; }
.hero-drop-2 { top: 40%; right: 10%; animation-delay: 2s; width: 14px; height: 18px; }
.hero-drop-3 { bottom: 20%; right: 25%; animation-delay: 4s; width: 16px; height: 22px; }
@keyframes floatDrop {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
.hero-pulse-ring {
    position: absolute;
    top: 50%; right: 15%;
    width: 300px; height: 300px;
    border: 2px solid var(--red-200);
    border-radius: 50%;
    transform: translate(50%, -50%);
    animation: pulseRing 4s ease-out infinite;
    opacity: 0;
}
@keyframes pulseRing {
    0% { transform: translate(50%, -50%) scale(0.5); opacity: 0.5; }
    100% { transform: translate(50%, -50%) scale(2); opacity: 0; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content { z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--red-200);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--red-700);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--red-500);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
}
.hero-title-accent {
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--red-600);
}
.hero-stat-plus {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--red-400);
}
.hero-stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 2px;
}
.hero-stat-divider {
    width: 1px; height: 40px;
    background: var(--gray-200);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.hero-blood-container {
    position: relative;
    width: 320px; height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-blood-main {
    width: 140px; height: 140px;
    background: linear-gradient(135deg, var(--red-400), var(--red-600));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    box-shadow: 0 20px 60px rgba(220,38,38,0.3);
    animation: mainPulse 3s ease-in-out infinite;
    z-index: 2;
    position: relative;
}
@keyframes mainPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.hero-blood-ring {
    position: absolute;
    border: 2px solid var(--red-200);
    border-radius: 50%;
    opacity: 0.4;
}
.ring-1 { width: 200px; height: 200px; animation: ringPulse 3s ease-out infinite; }
.ring-2 { width: 260px; height: 260px; animation: ringPulse 3s ease-out infinite 1s; }
.ring-3 { width: 320px; height: 320px; animation: ringPulse 3s ease-out infinite 2s; }
@keyframes ringPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0; }
}
.hero-blood-particles span {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--red-300);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}
.hero-blood-particles span:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.hero-blood-particles span:nth-child(2) { top: 30%; right: 10%; animation-delay: 0.5s; }
.hero-blood-particles span:nth-child(3) { bottom: 20%; right: 20%; animation-delay: 1s; }
.hero-blood-particles span:nth-child(4) { bottom: 10%; left: 40%; animation-delay: 1.5s; }
.hero-blood-particles span:nth-child(5) { top: 50%; left: 5%; animation-delay: 2s; }
.hero-blood-particles span:nth-child(6) { top: 20%; left: 15%; animation-delay: 2.5s; }
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-15px) scale(1.3); opacity: 1; }
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-50);
    color: var(--red-600);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tag-emergency {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: var(--red-700);
}
.tag-donor {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}
.tag-info {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}
.tag-pulse {
    width: 8px; height: 8px;
    background: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 1.5s ease-in-out infinite;
}
.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.2;
}
.section-subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ========== GLASS CARD ========== */
.glass-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.glass-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

/* ========== ABOUT ========== */
.about {
    background: var(--gray-50);
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-card {
    padding: 36px;
    text-align: center;
}
.about-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--red-50), var(--red-100));
    color: var(--red-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}
.about-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.about-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}
.about-founder {
    text-align: left;
}
.founder-quote {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--red-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--red-400);
}
.founder-quote i {
    color: var(--red-300);
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.founder-quote p {
    color: var(--red-700);
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

/* ========== EMERGENCY SUPPORT ========== */
.emergency-support {
    background: linear-gradient(135deg, var(--red-600), var(--red-800));
    color: var(--white);
}
.emergency-support .section-tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.emergency-support .section-title { color: var(--white); }
.emergency-support .section-subtitle { color: rgba(255,255,255,0.8); }

.emergency-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.emergency-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
    color: var(--white);
}
.emergency-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}
.emergency-card-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.emergency-call .emergency-card-icon { background: rgba(5,150,105,0.3); }
.emergency-whatsapp .emergency-card-icon { background: rgba(37,211,102,0.3); }
.emergency-card-info { flex: 1; }
.emergency-card-label {
    display: block;
    font-size: 0.82rem;
    opacity: 0.8;
    font-weight: 500;
}
.emergency-card-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
}
.emergency-card-action {
    font-size: 1.2rem;
    opacity: 0.6;
    transition: var(--transition);
}
.emergency-card:hover .emergency-card-action { opacity: 1; transform: translateX(4px); }

/* ========== BLOOD AVAILABILITY ========== */
.blood-availability {
    background: var(--white);
}
.blood-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.blood-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blood-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red-200);
}
.blood-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-400), var(--red-600));
}
.blood-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.blood-group-name {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--red-600);
}
.blood-card-icon {
    width: 40px; height: 40px;
    background: var(--red-50);
    color: var(--red-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.blood-card-stock { margin-bottom: 12px; }
.stock-count {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
}
.stock-label {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 500;
}
.blood-card-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 10px;
}
.blood-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--red-400), var(--red-600));
    transition: width 1s ease-out;
}
.stock-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stock-good { background: #dcfce7; color: #166534; }
.stock-moderate { background: #fef3c7; color: #92400e; }
.stock-low { background: #ffedd5; color: #9a3412; }
.stock-critical { background: #fee2e2; color: #991b1b; }

.stock-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.legend-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.legend-good { background: #22c55e; }
.legend-moderate { background: #f59e0b; }
.legend-low { background: #f97316; }
.legend-critical { background: #ef4444; }

/* ========== FORMS ========== */
.premium-form {
    padding: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.required { color: var(--red-500); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red-400);
    box-shadow: 0 0 0 4px rgba(220,38,38,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--red-500);
    box-shadow: 0 0 0 4px rgba(220,38,38,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: var(--red-500);
    margin-top: 2px;
    flex-shrink: 0;
}

.form-actions { margin-top: 8px; text-align: center; }
.form-error {
    color: var(--red-500);
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
}

/* ========== REQUEST BLOOD ========== */
.request-blood { background: var(--gray-50); }
.request-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}
.form-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-side-card {
    padding: 28px;
}
.form-side-card i {
    font-size: 2rem;
    color: var(--red-500);
    margin-bottom: 12px;
}
.form-side-card h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.form-side-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.quick-contacts {
    display: flex;
    gap: 12px;
}

/* ========== DONOR REGISTRATION ========== */
.donor-registration { background: var(--white); }
.donor-form-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 28px;
    align-items: start;
}
.donor-why { padding: 32px; }
.donor-why h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.donor-why h3 i { color: var(--red-500); }
.donor-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.donor-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.5;
}
.donor-benefits li i {
    color: #22c55e;
    margin-top: 3px;
    flex-shrink: 0;
}
.donor-appreciation {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: var(--radius-md);
    text-align: center;
}
.donor-appreciation i {
    font-size: 2rem;
    color: #166534;
    margin-bottom: 8px;
}
.donor-appreciation p {
    color: #166534;
    font-weight: 700;
    font-family: var(--font-primary);
    font-size: 1.05rem;
}
.donor-form { padding: 40px; }

/* ========== HOSPITAL REQUEST ========== */
.hospital-request { background: var(--gray-50); }
.hospital-form { max-width: 900px; margin: 0 auto; padding: 40px; }

/* ========== EDUCATION ========== */
.education { background: var(--white); }
.education-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.edu-card {
    padding: 32px;
}
.edu-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--red-50), var(--red-100));
    color: var(--red-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.edu-card h3 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
}
.edu-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.edu-card li {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}
.edu-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 5px; height: 5px;
    background: var(--red-400);
    border-radius: 50%;
}

/* ========== DONOR APPRECIATION ========== */
.donor-appreciation-section {
    background: linear-gradient(135deg, var(--red-50), #fff5f5, var(--red-50));
}
.appreciation-card {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
}
.appreciation-icon {
    font-size: 3rem;
    color: var(--red-500);
    margin-bottom: 20px;
    animation: heartPulse 2s ease-in-out infinite;
}
@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.appreciation-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.appreciation-content p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.appreciation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== CONTACT ========== */
.contact { background: var(--gray-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-card {
    padding: 24px;
    text-align: center;
}
.contact-card-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--red-50), var(--red-100));
    color: var(--red-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto 12px;
}
.contact-wa { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #16a34a; }
.contact-email { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.contact-location { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.contact-hours { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7c3aed; }

.contact-card h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.contact-card a,
.contact-card p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.5;
}
.contact-card a:hover { color: var(--red-600); }

.map-card {
    padding: 28px;
}
.map-card h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.map-card h3 i { color: var(--red-500); }
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}

/* ========== SOCIAL SHARE ========== */
.social-share-section { background: var(--white); padding: 60px 0; }
.share-card {
    padding: 40px;
    text-align: center;
}
.share-card h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.share-card h3 i { color: var(--red-500); }
.share-card p {
    color: var(--gray-500);
    margin-bottom: 24px;
}
.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
}
.share-btn:hover { transform: translateY(-2px); }
.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-telegram { background: #0088cc; }
.share-copy { background: var(--gray-700); }

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer .logo-icon {
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
}
.footer .logo-name { color: var(--white); }
.footer .logo-sub { color: var(--red-400); }
.footer-brand p {
    color: var(--gray-400);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-fast);
    font-size: 1rem;
}
.footer-social a:hover {
    background: var(--red-600);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}
.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a,
.footer-contact a,
.footer-contact li {
    color: var(--gray-400);
    font-size: 0.88rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }
.footer-contact li i {
    margin-top: 4px;
    color: var(--red-400);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ========== FLOATING EMERGENCY ========== */
.floating-emergency {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}
.floating-emergency.visible {
    opacity: 1;
    transform: translateY(0);
}
.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}
.float-btn:hover { transform: translateY(-3px); }
.float-call {
    background: linear-gradient(135deg, #059669, #047857);
}
.float-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 420px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid var(--red-500);
}
.toast-success { border-left-color: #22c55e; }
.toast-error { border-left-color: var(--red-500); }
.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.toast-success .toast-icon { color: #22c55e; }
.toast-error .toast-icon { color: var(--red-500); }
.toast-content { flex: 1; }
.toast-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gray-900);
}
.toast-message {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 2px;
}
.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 0; margin-bottom: -20px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-blood-container { width: 220px; height: 220px; }
    .hero-blood-main { width: 100px; height: 100px; font-size: 2rem; }
    .ring-1 { width: 150px; height: 150px; }
    .ring-2 { width: 190px; height: 190px; }
    .ring-3 { width: 230px; height: 230px; }

    .about-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .blood-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .education-grid { grid-template-columns: repeat(2, 1fr); }
    .request-form-wrapper { grid-template-columns: 1fr; }
    .donor-form-wrapper { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-100);
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 12px 16px; width: 100%; text-align: center; }
    .nav-admin { margin-left: 0; margin-top: 8px; }
    .btn-emergency-nav { display: none; }
    .nav-toggle { display: flex; }

    .emergency-contact-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .blood-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .blood-card { padding: 20px 16px; }
    .blood-group-name { font-size: 1.4rem; }
    .stock-count { font-size: 1.8rem; }
    .education-grid { grid-template-columns: 1fr; }
    .contact-info-cards { grid-template-columns: 1fr; }
    .premium-form { padding: 24px; }

    .hero-stats { gap: 20px; }
    .hero-stat-number { font-size: 1.5rem; }

    .floating-emergency { bottom: 16px; right: 16px; }
    .float-btn { padding: 12px 20px; font-size: 0.85rem; }

    .share-buttons { flex-direction: column; align-items: center; }
    .share-btn { width: 200px; justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .hero-stat-divider { width: 40px; height: 1px; }

    .blood-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .blood-card { padding: 16px 12px; }
    .blood-group-name { font-size: 1.2rem; }
    .stock-count { font-size: 1.5rem; }

    .about-card { padding: 24px; }
    .appreciation-card { padding: 40px 20px; }

    .floating-emergency { flex-direction: row; bottom: 12px; right: 12px; }
    .float-btn span { display: none; }
    .float-btn { padding: 16px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
}

/* ========== ANIMATIONS ON SCROLL ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

:focus-visible {
    outline: 3px solid var(--red-400);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, .floating-emergency, .emergency-banner, .btn, .share-buttons { display: none !important; }
    .hero { min-height: auto; padding: 20px 0; }
    .section { padding: 20px 0; }
}