/* ===== GLOBAL RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #FFFFFF;
    color: #1A1A1A;
    line-height: 1.5;
}

/* ===== COLOR TOKENS ===== */
:root {
    --navy: #0A2342;
    --blue: #1E88E5;
    --green: #43A047;
    --light-bg: #F7F9FC;
    --border: #E1E4EB;
    --text-muted: #6B7280;
    --shadow-soft: 0 14px 30px rgba(10, 35, 66, 0.12);
    --radius-md: 12px;
    --radius-sm: 8px;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER / NAVBAR ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(225, 228, 235, 0.9);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

.brand-logo {
    height: 110px;
    width: auto;
    border-radius: 50%;
    background: #FFFFFF;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* NAV */
.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 18px;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--navy);
    padding: 6px 4px;
    position: relative;
}

/* underline on hover/active */
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width .2s ease-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Donate button in nav */
.btn-nav {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--green);
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(67, 160, 71, 0.25);
}

.btn-nav::after {
    display: none;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background-color: #FFFFFF;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 10px;
}

/* ===== HERO (HOME PAGE) ===== */
.hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 90%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 2.5vw + 1.4rem, 2.5rem);
    color: var(--navy);
    margin-bottom: 14px;
}

.hero-content p {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 14px;
    max-width: 34rem;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

/* Hero visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-logo {
    width: 170px;
    max-width: 70%;
}

.hero-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 18px 20px;
    max-width: 280px;
    border: 1px solid rgba(225, 228, 235, 0.9);
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.hero-card ul {
    list-style: none;
    font-size: 0.95rem;
    color: #374151;
}

.hero-card li + li {
    margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform .1s ease-out, box-shadow .1s ease-out, background .1s ease-out, color .1s ease-out;
}

.btn.primary {
    background: var(--blue);
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(30, 136, 229, 0.28);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(30, 136, 229, 0.36);
}

.btn.secondary {
    background: var(--green);
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(67, 160, 71, 0.28);
}

.btn.secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(67, 160, 71, 0.36);
}

.btn.ghost {
    background: #FFFFFF;
    color: var(--navy);
    border-color: var(--border);
}

.btn.ghost:hover {
    background: #F3F4F6;
}

/* ===== GENERIC SECTIONS ===== */
.section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.section-header h2 {
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Cards grid */
.section-grid {
    background-color: #FFFFFF;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card {
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 18px 18px 20px;
    box-shadow: 0 6px 18px rgba(10, 35, 66, 0.03);
}

.card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #4B5563;
    margin-bottom: 10px;
}

.card-link {
    font-size: 0.9rem;
    color: var(--blue);
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

/* Highlight section */
.section-highlight {
    background: var(--light-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.highlight-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.highlight-inner h2 {
    color: var(--navy);
    margin-bottom: 8px;
}

.highlight-inner p {
    color: #4B5563;
}

.highlight-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid var(--border);
    background-color: #FFFFFF;
    padding: 18px 0 22px;
    margin-top: 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.footer-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-right {
    display: flex;
    gap: 14px;
}

.footer-right a {
    text-decoration: none;
    color: var(--blue);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-visual {
        align-items: flex-start;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .highlight-inner {
        flex-direction: column;
    }
}

/* Mobile nav layout */
@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        inset: 56px 0 auto 0;
        background-color: #FFFFFF;
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height .2s ease-out;
    }

    .main-nav.open {
        max-height: 260px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px 16px;
        gap: 10px;
    }
}

/* Modern Form Styling */
.contact-form-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-inner label {
    font-weight: 600;
    color: #0A2342;
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.contact-form-inner input,
.contact-form-inner textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D6DFEC;
    border-radius: 10px;
    font-size: 1rem;
    background: #F9FBFF;
    font-family: "Inter", sans-serif;
    transition: 0.2s ease;
}

.contact-form-inner input:focus,
.contact-form-inner textarea:focus {
    border-color: #1E88E5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
    outline: none;
    background: #ffffff;
}

.contact-form-inner textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-primary {
    background: #1E88E5;
    border: none;
    padding: 13px 18px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: not-allowed;
    opacity: 0.75;
}

.form-note {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    text-align: center;
}

/* ===== ABOUT & MISSION – NEW LAYOUT (SAFE) ===== */

/* Clean sub-hero with no background image */
.sub-hero.no-image {
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.sub-hero.no-image h1 {
    color: var(--navy);
    font-weight: 700;
    font-size: 2.2rem;
}

/* Two-column layout for About / Mission */
.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.split-section.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

.split-section img {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    margin: 0 auto;
}

.split-section h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.split-section p {
    color: #333;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Highlight sections with soft Guinea/medical tones */
.about-highlight,
.mission-highlight {
    background: #F9C44022;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.about-highlight h2,
.mission-highlight h2 {
    text-align: center;
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 18px;
}

.about-highlight p,
.mission-highlight p {
    max-width: 900px;
    margin: 0 auto 12px;
    color: #333;
    line-height: 1.6;
}

/* Info cards (values/pillars) */
.info-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.info-card {
    background: #1E88E522;
    border-radius: 14px;
    padding: 18px 18px 20px;
    box-shadow: 0 6px 18px rgba(10, 35, 66, 0.06);
}

.info-card h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

/* Responsive for About / Mission */
@media (max-width: 900px) {
    .split-section,
    .split-section.reverse {
        grid-template-columns: 1fr;
    }
}
/* ================================
   FIX IMAGE SIZE (logo7)
================================ */
.ehr-preview-image img {
    width: 230px; /* smaller size requested */
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}



/* ================================
   EHR PORTAL COLOR ENHANCEMENTS
   (Option A + B hybrid)
================================ */

/* Top colored header bar */
.ehr-header {
    background: #E4574F; /* soft medical red */
    color: white;
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(228, 87, 79, 0.25);
}

/* Sidebar (soft Guinea yellow) */
.ehr-sidebar {
    background: #F9C440;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    color: #0A2342;
    width: 240px;
}

.ehr-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ehr-sidebar li {
    margin-bottom: 14px;
}

.ehr-sidebar a {
    text-decoration: none;
    font-weight: 600;
    color: #0A2342;
    padding: 6px 4px;
    display: inline-block;
}

.ehr-sidebar a:hover {
    color: #1E88E5;
}

/* Page layout (sidebar + content) */
.ehr-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* Green vitals & status cards */
.ehr-vital-card {
    background: #43A04722;
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}

/* Blue highlights for titles */
.ehr-section-title {
    color: #1E88E5;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
}
/* ================================
   SOFT COLOR UPDATE FOR EHR PORTAL
================================ */

/* Soft medical rose header */
.ehr-header {
    background: #F2D7D5; /* soft light rose */
    color: #4A4A4A;
    padding: 18px 24px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

/* Soft cream sidebar */
.ehr-sidebar {
    background: #FFF4CC; /* light cream yellow */
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    color: #0A2342;
}

/* Sidebar links soft hover */
.ehr-sidebar a:hover {
    color: #1E88E5;
}

/* Soft green vitals card */
.ehr-vital-card {
    background: #E3F3E8; /* pastel green */
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Section titles (keep blue, very professional) */
.ehr-section-title {
    color: #1E88E5;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
}

/* EHR preview image size (already fixed) */
.ehr-preview-image img {
    width: 300px; 
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
/* ======================================================
   EHR PORTAL LOGIN UI — Clean Medical Style (A)
====================================================== */

.ehr-login-section {
    background: #F4F8FF;
    padding: 60px 20px;
    border-bottom: 1px solid #E1E4EB;
}

.ehr-login-container {
    max-width: 420px;
    margin: auto;
    background: white;
    padding: 32px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 45, 110, 0.12);
    text-align: center;
}

.ehr-login-logo {
    width: 100px;
    margin-bottom: 15px;
    opacity: .95;
}

.ehr-login-container h2 {
    color: #0A2342;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.ehr-login-subtext {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.ehr-login-form {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 12px;
}

.ehr-login-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0A2342;
}

.ehr-login-form input,
.ehr-login-form select {
    padding: 12px 14px;
    border: 1px solid #D0D7E5;
    border-radius: 10px;
    background: #F9FBFF;
    font-size: 0.95rem;
}

.ehr-login-btn {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #1E88E5;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.ehr-login-note {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #6B7280;
}
/* ============================
   EHR PORTAL – TWO COLUMN TOP
============================ */

.ehr-top-wrapper {
    padding-top: 50px;
}

.ehr-top-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.ehr-intro-side {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.ehr-logo7-wrapper {
    flex-shrink: 0;
}

.ehr-logo7-img {
    width: 160px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.ehr-intro-text h2 {
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.ehr-intro-text p {
    color: #444;
    margin-bottom: 10px;
}

.ehr-preview-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media(max-width: 900px) {
    .ehr-top-grid {
        grid-template-columns: 1fr;
    }

    .ehr-intro-side {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
/* ==========================
   EHR PORTAL – LOGIN UI
========================== */

/* ============================
   EHR PORTAL – TWO COLUMN LAYOUT
============================ */

.ehr-two-col {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.ehr-side-image {
    width: 260px;   /* slightly larger */
    margin-bottom: 20px;
    border-radius: 12px;
}

.ehr-info-block {
    flex: 1;
    padding-top: 10px;
}

.ehr-info-block h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.ehr-info-block p {
    color: #444;
    line-height: 1.6;
    max-width: 420px;
}

/* Responsive */
@media (max-width: 900px) {
    .ehr-two-col {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ehr-info-block p {
        margin: 0 auto;
    }
}
/* ========================== EHR PORTAL – LOGIN UI ========================== */ .ehr-bg { background: #F7F9FC; background-image: url('data:image/svg+xml;utf8,\ <svg width="400" height="400" viewBox=\"0 0 400 400\" xmlns=\"http://www.w3.org/2000/svg\" opacity=\"0.06\">\ <circle cx=\"50\" cy=\"50\" r=\"4\" fill=\"#1E88E5\"/>\ <circle cx=\"150\" cy=\"250\" r=\"4\" fill=\"#43A047\"/>\ <rect x=\"250\" y=\"80\" width=\"6\" height=\"6\" fill=\"#F9C440\"/>\ <circle cx=\"340\" cy=\"340\" r=\"4\" fill=\"#C62828\"/>\ </svg>'); background-size: 420px; } .ehr-main { padding: 60px 0; } .ehr-login-container { display: flex; justify-content: center; padding: 20px; } .ehr-card { background: white; padding: 32px 34px; border-radius: 18px; width: 100%; max-width: 420px; box-shadow: 0 14px 30px rgba(10, 35, 66, 0.12); border: 1px solid #E1E4EB; } .ehr-login-logo { width: 140px; display: block; margin: 0 auto 10px; } .ehr-title { text-align: center; color: var(--navy); font-size: 1.8rem; font-weight: 700; margin-bottom: 6px; } .ehr-subtitle { text-align: center; color: #6B7280; font-size: 0.9rem; margin-bottom: 20px; } .ehr-form { display: flex; flex-direction: column; gap: 14px; } .ehr-input { padding: 12px 14px; border: 1px solid #D6DFEC; border-radius: 10px; font-size: 1rem; background: #F9FBFF; } .ehr-password-wrapper { position: relative; } .toggle-password { position: absolute; right: 12px; top: 10px; cursor: pointer; font-size: 1.1rem; opacity: 0.6; } .ehr-forgot { font-size: 0.85rem; color: var(--blue); text-align: right; display: block; text-decoration: none; } .ehr-forgot:hover { text-decoration: underline; } .ehr-btn { background: #1E88E5; color: white; padding: 12px; border-radius: 10px; font-size: 1rem; border: none; opacity: 0.75; cursor: not-allowed; margin-top: 10px; } .ehr-note { font-size: 0.85rem; color: #555; margin-top: 14px; text-align: center; }
/* ==========================
   EHR Portal Layout (SAFE)
========================== */

.ehr-header {
    background: #F7F9FC;
    border-bottom: 1px solid #E1E4EB;
}

/* LEFT = login, RIGHT = logo + text */
.ehr-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 70px; /* <- bigger space between columns */
    align-items: center;
}

/* Right side text spacing */
.ehr-right {
    text-align: left;
    padding-right: 40px; /* <- push slightly to the right */
}

/* Hero logo size (Option A = small increase) */
.ehr-portal-logo {
    width: 210px;
    display: block;
    margin-bottom: 18px;
}

/* Typography */
.ehr-portal-title {
    font-size: 1.9rem;
    color: #0A2342;
    font-weight: 700;
    margin-bottom: 8px;
}

.ehr-portal-text {
    font-size: 1rem;
    color: #374151;
    max-width: 480px;
    margin-bottom: 14px;
    line-height: 1.55;
}

/* Mobile */
@media (max-width: 900px) {
    .ehr-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ehr-right {
        text-align: center;
        padding: 0;
    }

    .ehr-portal-logo {
        margin: 0 auto 18px;
    }
}
.ehr-two-col {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 200px;
    align-items: center;
}

.ehr-side-image {
    width: 450px;
    margin-bottom: 20px;
}
/* ===== LOGIN BUTTON ACTIVE STATE ===== */
.ehr-btn.disabled {
    background: #1E88E5;
    opacity: 0.55;
    cursor: not-allowed;
}

.ehr-btn.enabled {
    background: #1E88E5;
    opacity: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.ehr-btn.enabled:hover {
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.25);
    transform: translateY(-1px);
}
