/*
Theme Name: City Health Custom
Theme URI: https://cityhealth.com
Author: Almesh
Description: A bespoke, ultra-lightweight WordPress theme optimized for speed and conversion.
Version: 1.0
Text Domain: cityhealth
*/

:root {
    --primary-green: #28a84c;
    --primary-green-hover: #218c3f;
    --navy-blue: #1b355a;
    --accent-red: #e60000;
    --light-blue: #4cb1d6;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base Reset & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* REDUCED LINE HEIGHT HERE (changed from 1.6 to 1.4) */
body { font-family: var(--font-stack); color: var(--text-dark); background-color: var(--white); line-height: 1.4; }

/* REDUCED HEADING LINE HEIGHT HERE (changed from 1.2 to 1.15) */
h1, h2, h3, h4, h5, h6 { color: var(--navy-blue); font-weight: 700; line-height: 1; margin-bottom: 1rem; }

a { color: var(--primary-green); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--navy-blue); }
img { max-width: 100%; height: auto; display: block; }

/* Structural Utility Classes */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.site-main { min-height: calc(100vh - 200px); padding: 2rem 0; }

/* --- Mobile Sticky Bottom Footer --- */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--navy-blue);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    z-index: 9999;
}

.mobile-sticky-footer ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.mobile-sticky-footer li { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.mobile-sticky-footer li:last-child { border-right: none; }

.mobile-sticky-footer a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    height: 100%;
}

.mobile-sticky-footer a .icon { font-size: 1.2rem; margin-bottom: 2px; }
.mobile-sticky-footer li.highlight a { background-color: var(--primary-green); }

/* Show Sticky Footer Only on Mobile Screens */
@media (max-width: 767px) {
    .mobile-sticky-footer { display: block; }
    body { padding-bottom: 60px; /* Prevent content overlap */ }
}