@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Myanmar:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand */
    --rh-red: #dc2626;
    --rh-red-hover: #b91c1c;
    --rh-red-light: #fef2f2;
    --rh-red-dark: #991b1b;
    --rh-red-glass: rgba(220, 38, 38, 0.08);

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

    /* Accent */
    --rh-amber: #f59e0b;
    --rh-amber-light: #fffbeb;

    /* Healthcare Accent */
    --rh-teal: #0d9488;
    --rh-teal-light: #ccfbf1;
    --rh-teal-dark: #0f766e;

    /* Semantic */
    --rh-success: #16a34a;
    --rh-success-light: #dcfce7;
    --rh-warning: #f59e0b;
    --rh-warning-light: #fef3c7;

    /* Typography */
    --rh-font: 'Inter', 'Noto Sans Myanmar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --rh-radius: 0.75rem;
    --rh-radius-sm: 0.5rem;
    --rh-radius-lg: 1rem;
    --rh-radius-xl: 1.5rem;

    /* Shadows */
    --rh-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --rh-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --rh-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --rh-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --rh-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --rh-transition: all 0.2s ease;
    --rh-transition-slow: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--rh-font);
    color: var(--rh-slate-800);
    background-color: var(--rh-slate-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--rh-slate-900);
    line-height: 1.4;
}

/* Links */
a {
    color: var(--rh-red);
    text-decoration: none;
    transition: var(--rh-transition);
}

a:hover {
    color: var(--rh-red-hover);
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: var(--rh-radius);
    padding: 0.625rem 1.5rem;
    transition: var(--rh-transition);
}

.btn-primary {
    background-color: var(--rh-red);
    border-color: var(--rh-red);
    color: var(--rh-white);
}

.btn-primary:hover {
    background-color: var(--rh-red-hover);
    border-color: var(--rh-red-hover);
    color: var(--rh-white);
}

.btn-outline-primary {
    color: var(--rh-red);
    border-color: var(--rh-red);
}

.btn-outline-primary:hover {
    background-color: var(--rh-red);
    border-color: var(--rh-red);
    color: var(--rh-white);
}

/* Cards */
.card {
    border-radius: var(--rh-radius);
    border: 1px solid var(--rh-slate-200);
    box-shadow: var(--rh-shadow-sm);
    transition: var(--rh-transition-slow);
}

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

/* Inputs */
.form-control, .form-select {
    border-radius: var(--rh-radius);
    border: 1px solid var(--rh-slate-200);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--rh-transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--rh-red);
    box-shadow: 0 0 0 3px var(--rh-red-glass);
}

.form-control.is-invalid {
    border-color: var(--rh-red);
}

.invalid-feedback {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: var(--rh-radius-sm);
}

.blood-type-badge {
    font-weight: 600;
    font-size: 0.75rem;
    min-width: 40px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
}

/* Alerts */
.alert {
    border-radius: var(--rh-radius);
    border: none;
}

.alert-danger {
    background-color: #dc2626;
    color: #ffffff;
}

.alert-success {
    background-color: #16a34a;
    color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* 
   Compact Footer (used across all pages)
   */
.compact-footer {
    background: var(--rh-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 0 1.5rem;
    margin-top: auto;
}

.compact-footer .footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rh-white);
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.compact-footer .footer-brand i {
    color: var(--rh-red);
}

.compact-footer .footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    max-width: 400px;
}

.compact-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.compact-footer .footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    transition: var(--rh-transition);
    text-decoration: none;
}

.compact-footer .footer-links a:hover {
    color: var(--rh-white);
    padding-left: 3px;
}

.compact-footer .footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.compact-footer .footer-social a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--rh-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--rh-transition);
    text-decoration: none;
}

.compact-footer .footer-social a:hover {
    background: var(--rh-red);
    color: var(--rh-white);
}

.compact-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* 
   Back to Top Button
    */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--rh-red);
    color: var(--rh-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--rh-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--rh-red-hover);
    transform: translateY(-3px);
    color: var(--rh-white);
}

/* 
   Sponsor Carousel Arrows
   */
.sponsor-carousel .carousel-control-prev,
.sponsor-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
    background: var(--rh-red);
    border-radius: 50%;
    box-shadow: var(--rh-shadow-md);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    border: none;
    transition: var(--rh-transition-slow);
}

.sponsor-carousel .carousel-control-prev:hover,
.sponsor-carousel .carousel-control-next:hover {
    background: var(--rh-red-hover);
    box-shadow: var(--rh-shadow-lg);
}

.sponsor-carousel .carousel-control-prev {
    left: -18px;
}

.sponsor-carousel .carousel-control-next {
    right: -18px;
}

.sponsor-carousel .carousel-control-prev-icon,
.sponsor-carousel .carousel-control-next-icon {
    filter: none;
    background-image: none;
    width: 18px;
    height: 18px;
}

.sponsor-carousel .carousel-control-prev-icon::before {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: var(--rh-white);
}

.sponsor-carousel .carousel-control-next-icon::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: var(--rh-white);
}

/* ============================================
   3D Background Shapes (Auth / Auth-like pages)
   ============================================ */
.floating-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    opacity: 0.08;
}

.floating-shape.shape-1 {
    top: 10%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--rh-red) 0%, transparent 70%);
    animation: floatShape 8s ease-in-out infinite;
}

.floating-shape.shape-2 {
    bottom: 20%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--rh-teal) 0%, transparent 70%);
    animation: floatShape 10s ease-in-out infinite reverse;
}

.floating-shape.shape-3 {
    top: 50%;
    right: 5%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--rh-red) 0%, transparent 70%);
    animation: floatShape 7s ease-in-out infinite 2s;
}

.floating-shape.shape-4 {
    bottom: 10%;
    right: 25%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--rh-teal) 0%, transparent 70%);
    animation: floatShape 9s ease-in-out infinite 1s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -20px) scale(1.05); }
    50% { transform: translate(-10px, -10px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* 
   Soft Layered Backgrounds
 */
.bg-layer-red {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 420px;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.04) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.bg-layer-teal {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(0deg, rgba(13, 148, 136, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Glass Card Variants
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--rh-radius-xl);
    box-shadow: var(--rh-shadow-lg);
    transition: var(--rh-transition-slow);
}

.glass-card:hover {
    box-shadow: var(--rh-shadow-xl);
}

.glass-card-strong {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--rh-radius-xl);
    box-shadow: var(--rh-shadow-lg);
}

/* 
   Page Background Layers
    */
.page-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.page-bg-layer .bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.06;
}

.page-bg-layer .bg-orb.red {
    background: var(--rh-red);
}

.page-bg-layer .bg-orb.teal {
    background: var(--rh-teal);
}

.page-bg-layer .bg-orb-1 {
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
}

.page-bg-layer .bg-orb-2 {
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
}

.page-bg-layer .bg-orb-3 {
    top: 40%;
    left: 30%;
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .page-bg-layer .bg-orb-1 {
        width: 300px;
        height: 300px;
        top: 5%;
    }
    .page-bg-layer .bg-orb-2 {
        width: 250px;
        height: 250px;
        bottom: 5%;
    }
    .page-bg-layer .bg-orb-3 {
        width: 200px;
        height: 200px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .floating-shape,
    .bg-orb {
        animation: none;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   Utility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        animation: none;
        opacity: 1;
    }
    .delay-1, .delay-2, .delay-3 {
        opacity: 1;
    }
    .dashboard-3d-drop,
    .page-hero .hero-3d-drop {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .dashboard-3d-drop {
        display: none;
    }
    .page-hero .hero-3d-drop {
        display: none;
    }
    .dashboard-hero {
        text-align: center;
    }
    .page-hero {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .dashboard-hero h1 {
        font-size: 1.5rem;
    }
    .page-hero h2 {
        font-size: 1.5rem;
    }
    .form-card {
        padding: 1.5rem;
    }
}

/* Glassmorphism utilities */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--rh-shadow-lg);
}

/* Soft backgrounds */
.bg-soft {
    background-color: var(--rh-slate-50);
}

.bg-soft-teal {
    background: linear-gradient(180deg, #f0fdfa 0%, var(--rh-slate-50) 100%);
}

/* Feature icon variants */
.feature-icon.teal {
    background: var(--rh-teal-light);
    color: var(--rh-teal);
}

/* Stat icon variants */
.stat-icon.teal {
    background: var(--rh-teal-light);
    color: var(--rh-teal);
}

/* Navbar Buttons */
.btn-nav-login {
    color: var(--rh-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: var(--rh-radius);
    transition: var(--rh-transition);
}

.btn-nav-login:hover {
    color: var(--rh-white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-nav-signup {
    color: var(--rh-red);
    background: var(--rh-white);
    border: 1px solid var(--rh-white);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--rh-radius);
    transition: var(--rh-transition);
}

.btn-nav-signup:hover {
    color: var(--rh-red);
    background: var(--rh-slate-50);
    border-color: var(--rh-slate-50);
}

.landing-nav.scrolled .btn-nav-login {
    color: var(--rh-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.landing-nav.scrolled .btn-nav-login:hover {
    color: var(--rh-white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.landing-nav.scrolled .btn-nav-signup {
    color: var(--rh-red);
    background: var(--rh-white);
    border-color: var(--rh-white);
}

.landing-nav.scrolled .btn-nav-signup:hover {
    color: var(--rh-red);
    background: var(--rh-slate-50);
    border-color: var(--rh-slate-50);
}

/* Stepper (shared) */
.stepper-step {
    display: flex;
    align-items: center;
}

.stepper-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
    position: relative;
}

.stepper-line {
    flex: 1;
    height: 3px;
    margin: 0 8px;
}

.stepper-label {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .stepper-label {
        font-size: 0.75rem;
    }
    .stepper-circle {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Utility */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--rh-slate-500);
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--rh-red) 0%, var(--rh-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        animation: none;
        opacity: 1;
    }
    .delay-1, .delay-2, .delay-3 {
        opacity: 1;
    }
    .dashboard-3d-drop,
    .page-hero .hero-3d-drop {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .dashboard-3d-drop {
        display: none;
    }
    .page-hero .hero-3d-drop {
        display: none;
    }
    .dashboard-hero {
        text-align: center;
    }
    .page-hero {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .dashboard-hero h1 {
        font-size: 1.5rem;
    }
    .page-hero h2 {
        font-size: 1.5rem;
    }
    .form-card {
        padding: 1.5rem;
    }
}\n\n\nhtml,body{overflow-x:hidden}.section-header h2,.section-header p,.feature-panel h3,.feature-panel p,.process-item h3,.process-item p,.knowledge-modern h3,.knowledge-modern p,.hospital-card h3,.hospital-card p{overflow-wrap:anywhere;word-break:normal}.hero-title,.hero-subtitle{word-break:normal;overflow-wrap:anywhere}