/* ==========================================================
   MEDIXY — CORE STYLESHEET
   Colors: Dark Navy #0F2A3D | Growth Green #17A589
   Backgrounds: #F7F8FA / #EEF3F8 | Body text: #5B6670
   Fonts: Poppins (headings) + Inter (body)
   Gradients: buttons/accents only — never full section backgrounds
   ========================================================== */

:root {
    --navy: #0F2A3D;
    --green: #17A589;
    --green-dark: #128a71;
    --bg-light: #F7F8FA;
    --bg-blue-gray: #EEF3F8;
    --text-body: #5B6670;
    --white: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-weight: 700;
}

a { text-decoration: none; }

/* ---------- Utility Bar ---------- */
.utility-bar {
    background-color: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 8px 0;
}
.utility-bar a { color: rgba(255,255,255,0.85); }
.utility-bar a:hover { color: var(--green); }

/* ---------- Main Nav & Gradient Header ---------- */
.navbar, header.site-header {
    background: linear-gradient(90deg, #e6f7f5 0%, #f7fcfb 40%, #ffffff 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Logo Sizing & Shadow Fix */
.site-logo,
.site-logo-img,
.navbar-brand img,
header.site-header img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.12));
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
}

.brand-medi { color: var(--navy); }
.brand-xy { color: var(--green); }
.brand-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.5px;
}

.main-nav .nav-link {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.8rem !important;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--green);
}

/* ---------- Buttons ---------- */
.btn-cta-green {
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    transition: transform 0.15s ease;
}
.btn-cta-green:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(23,165,137,0.35);
}
.btn-cta-outline {
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    background: transparent;
}
.btn-cta-outline:hover {
    background: var(--navy);
    color: #fff;
}

/* ---------- Section Utilities ---------- */
.section-light { background-color: var(--bg-light); }
.section-blue-gray { background-color: var(--bg-blue-gray); }
.eyebrow {
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.text-highlight-green { color: var(--green); }

/* ---------- Cards ---------- */
.medixy-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

/* ---------- Bottom CTA Banner ---------- */
.bottom-cta-banner {
    background: var(--navy);
    color: #fff;
    padding: 4rem 0;
}
.bottom-cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}
.cta-trust-points {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    padding: 3.5rem 0 1.5rem;
}
.footer-brand { 
    font-family: 'Poppins', sans-serif; 
    font-weight: 800; 
    font-size: 1.3rem; 
}
.footer-brand img,
footer .site-logo {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
}
.footer-brand .brand-medi { color: #fff; }
.footer-tagline { color: var(--green); font-size: 0.85rem; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-heading { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-links a:hover { color: var(--green); }
.footer-contact { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.footer-social a {
    display: inline-flex;
    width: 34px; height: 34px;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 8px;
}
.footer-social a:hover { background: var(--green); }
.footer-divider { border-color: rgba(255,255,255,0.15); }
.footer-bottom-bar { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.footer-legal-links a { color: rgba(255,255,255,0.6); margin-left: 1.25rem; }
.footer-legal-links a:hover { color: var(--green); }

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 991px) {
    .utility-bar { font-size: 0.75rem; }
    .cta-trust-points { gap: 1rem; }
}

@media (max-width: 768px) {
    .site-logo,
    .site-logo-img,
    .navbar-brand img,
    header.site-header img {
        height: 32px !important;
        max-height: 32px !important;
    }
}