/* ========================================================================
   JSPHCDA PUBLIC WEBSITE STYLES
   Official Nigerian green-and-white colour system.
   Edit the variables below to make global colour changes safely.
   ======================================================================== */
:root {
  --primary-green: #087a3d;
  --deep-green: #045b2c;
  --bright-green: #119a50;
  --soft-green: #eaf7ef;
  --pale-green: #f5fbf7;
  --nigeria-green: #008751;
  --ink: #163326;
  --muted: #63776a;
  --line: #dce9df;
  --white: #ffffff;
  --paper: #f8fbf9;
  --gold: #e9b949;
  --shadow: 0 16px 38px rgba(4, 91, 44, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
h1, h2, h3, h4, h5, h6, .display-font { font-family: 'Outfit', sans-serif; color: var(--ink); letter-spacing: -.02em; }
a { text-decoration: none; }

/* Top information bar and navigation */
.emergency-strip { background: var(--deep-green); color: #effbf3; font-size: .82rem; padding: .52rem 0; }
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--line); box-shadow: 0 5px 20px rgba(4, 91, 44, .04); }
.navbar-brand { color: var(--ink) !important; }
.brand-mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(145deg, var(--primary-green), var(--bright-green)); color: var(--white); position: relative; overflow: hidden; box-shadow: 0 9px 22px rgba(8, 122, 61, .24); font-size: 32px; font-weight: 700; }
.brand-cross { position: relative; z-index: 2; line-height: 1; }
.brand-ring { position: absolute; right: -10px; bottom: -10px; width: 34px; height: 34px; border: 6px solid rgba(255,255,255,.34); border-radius: 50%; }
.brand-copy { line-height: 1.08; font-family: 'Outfit', sans-serif; font-size: 16px; }
.brand-copy strong { font-weight: 750; }
.brand-kicker { display: block; text-transform: uppercase; font-size: 9px; letter-spacing: .15em; font-weight: 800; color: #698073; }
.navbar-toggler { color: var(--primary-green); font-size: 1.25rem; }
.nav-link { color: #315342 !important; font-size: .91rem; font-weight: 700; padding: .70rem .78rem !important; border-radius: 8px; }
.nav-link:hover, .nav-link.active { color: var(--primary-green) !important; background: var(--soft-green); }
.dropdown-menu { border-radius: 13px; padding: .55rem; min-width: 210px; }
.dropdown-item { border-radius: 8px; color: #315342; font-size: .89rem; font-weight: 650; padding: .62rem .78rem; }
.dropdown-item:hover { background: var(--soft-green); color: var(--primary-green); }
.btn-contact, .btn-primary-custom { background: var(--primary-green); border: 1px solid var(--primary-green); color: var(--white) !important; border-radius: 10px; padding: .76rem 1.18rem; font-weight: 750; }
.btn-contact:hover, .btn-primary-custom:hover { background: var(--deep-green); border-color: var(--deep-green); color: var(--white) !important; }
.btn-ghost { color: var(--primary-green); border: 1px solid #b9d9c2; border-radius: 10px; padding: .76rem 1.18rem; font-weight: 750; }
.btn-ghost:hover { background: var(--soft-green); color: var(--deep-green); }

/* Home hero */
.hero { position: relative; overflow: hidden; min-height: 640px; padding: 78px 0 64px; color: var(--white); background: linear-gradient(120deg, #034b24 0%, var(--deep-green) 50%, var(--bright-green) 100%); }
.hero::before { content: ''; position: absolute; width: 735px; height: 735px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -220px; top: -240px; box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 112px rgba(255,255,255,.025); }
.hero::after { content: ''; position: absolute; left: -120px; bottom: -260px; width: 460px; height: 460px; border-radius: 50%; background: rgba(233,185,73,.14); }
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .38rem .75rem; border: 1px solid rgba(255,255,255,.34); border-radius: 99px; background: rgba(255,255,255,.10); font-size: .76rem; letter-spacing: .06em; font-weight: 800; text-transform: uppercase; }
.hero h1 { color: var(--white); max-width: 720px; margin: 1.3rem 0; font-size: clamp(2.65rem, 5.5vw, 5.3rem); font-weight: 800; line-height: .98; }
.hero h1 .accent { color: #c7f6d7; }
.hero p { max-width: 610px; font-size: 1.09rem; color: #dff7e7; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero .btn-primary-custom { background: var(--white); border-color: var(--white); color: var(--deep-green) !important; }
.hero .btn-primary-custom:hover { background: #e9f7ee; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.56); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.hero-visual { min-height: 445px; display: flex; align-items: center; justify-content: center; position: relative; }
.care-orbit { position: absolute; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.care-orbit::before, .care-orbit::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.care-orbit::before { inset: 28px; }
.care-orbit::after { inset: 72px; }
.health-card { position: relative; width: min(92%, 385px); padding: 1.3rem; border-radius: 24px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 25px 55px rgba(0,0,0,.23); transform: rotate(3deg); }
.health-card .mini-label, .leader-role { color: var(--primary-green); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.health-card h4 { margin: .35rem 0 1rem; font-weight: 800; }
.pulse-row { display: flex; align-items: center; gap: .75rem; padding: .8rem 0; border-top: 1px solid #e2eee5; }
.pulse-icon, .service-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--soft-green); color: var(--primary-green); font-size: 1.23rem; }
.pulse-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
.pulse-row strong { display: block; font-size: .9rem; }
.pulse-row span { color: var(--muted); font-size: .76rem; }
.float-badge { position: absolute; padding: .65rem .8rem; border-radius: 13px; background: var(--white); color: var(--ink); box-shadow: 0 15px 30px rgba(0,0,0,.18); font-size: .76rem; font-weight: 750; }
.badge-one { top: 35px; right: 3px; }.badge-two { bottom: 32px; left: 3px; }

/* Reusable content sections */
.trust-panel { margin-top: -38px; position: relative; z-index: 4; }
.trust-card { padding: 1.35rem 1.6rem; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.trust-card .trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--soft-green); color: var(--primary-green); }
.trust-item span { display: block; color: var(--muted); font-size: .76rem; }.trust-item strong { font: 700 .95rem 'Outfit', sans-serif; }
.section { padding: 84px 0; }.section-soft { background: var(--paper); }
.section-kicker { color: var(--primary-green); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.section-title { max-width: 700px; font-size: clamp(2rem,3.4vw,3.2rem); font-weight: 800; line-height: 1.05; }
.section-lead, .text-muted { color: var(--muted) !important; }
.mission-card { position: relative; overflow: hidden; height: 100%; padding: 2rem; border: 1px solid #d9ecdf; border-radius: 21px; background: linear-gradient(145deg, var(--pale-green), var(--white)); }
.mission-card::after { content: '+'; position: absolute; right: 12px; bottom: -45px; color: rgba(8,122,61,.07); font: 800 170px 'Outfit'; }.mission-card h4 { font-weight: 800; }.mission-card p { position: relative; z-index: 1; color: var(--muted); }
.service-card, .news-card { height: 100%; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: .25s ease; }
.service-card { padding: 1.45rem; }.service-card:hover, .news-card:hover { border-color: #91cfa8; transform: translateY(-5px); box-shadow: var(--shadow); }.service-icon { margin-bottom: 1rem; }.service-card h5, .news-card h5 { font-weight: 800; }.service-card p, .news-card p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.stat-band { position: relative; overflow: hidden; padding: 70px 0; background: var(--deep-green); color: var(--white); }.stat-band::before { content: ''; position: absolute; right: -80px; bottom: -170px; width: 380px; height: 380px; border: 45px solid rgba(255,255,255,.10); border-radius: 50%; }.stat-item { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.20); }.stat-item:first-child { border-left: 0; }.stat-num { color: #ccf6da; font: 800 clamp(2.3rem,4vw,3.4rem)/1 'Outfit'; }.stat-label { margin-top: .4rem; color: #d7f2df; font-size: .82rem; }
.leadership-spotlight { overflow: hidden; border: 1px solid #d5ebdb; border-radius: 25px; background: linear-gradient(110deg, #f2fbf5, #e8f6ed); }.leader-portrait { position: relative; display: flex; align-items: end; justify-content: center; min-height: 360px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #77ce99 0, #19884d 43%, #034b24 100%); }.leader-portrait::before { content: ''; position: absolute; top: 36px; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }.portrait-avatar { position: relative; z-index: 1; width: 190px; height: 245px; border-radius: 95px 95px 18px 18px; background: linear-gradient(150deg,#f7caa9 0 21%,#183444 22% 45%,#fff 46%); box-shadow: inset 0 -15px 30px rgba(0,0,0,.09); }.portrait-avatar::before { content:''; position:absolute; top:30px; left:46px; width:99px; height:100px; border-radius:45% 45% 43% 43%; background:#af765e; }.portrait-avatar::after { content:''; position:absolute; top:9px; left:27px; width:135px; height:80px; border-radius:75px 75px 15px 15px; background:#122c3d; }.leader-content { padding: 2.7rem; }.leader-content h3 { font-weight: 800; }
.news-image { position: relative; overflow: hidden; height: 195px; padding: 1.25rem; background: linear-gradient(135deg, #dcf4e4, #8bd4a8); }.news-image::after { content: ''; position: absolute; right: -70px; bottom: -90px; width: 230px; height: 230px; border: 36px solid rgba(8,122,61,.16); border-radius: 50%; }.news-symbol { position: absolute; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: var(--primary-green); color: var(--white); box-shadow: 0 12px 23px rgba(8,122,61,.23); font-size: 1.45rem; }.news-body { padding: 1.4rem; }.news-date { color: var(--primary-green); font-size: .77rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }.news-card h5 { margin: .5rem 0 .7rem; font-size: 1.12rem; line-height: 1.24; }.news-link { color: var(--primary-green); font-size: .85rem; font-weight: 800; }
.program-panel { position: relative; overflow: hidden; padding: 2.6rem; border-radius: 25px; background: linear-gradient(110deg, var(--primary-green), var(--deep-green)); color: var(--white); }.program-panel::after { content: ''; position: absolute; top: -210px; right: -170px; width: 430px; height: 430px; border: 58px solid rgba(255,255,255,.09); border-radius: 50%; }.program-panel h3 { color: var(--white); font-weight: 800; }.program-panel p { color: #dcf5e4; }.program-list { margin: 1.45rem 0 0; padding: 0; list-style: none; }.program-list li { display: flex; gap: .6rem; margin: .62rem 0; }.program-list i { color: #c7f6d7; }.cta-panel { padding: 2.6rem; border: 1px solid #d9ebdf; border-radius: 25px; background: linear-gradient(145deg, #f1fbf4, #fff); }.cta-panel h2 { font-weight: 800; }.cta-panel p { color: var(--muted); }

/* Internal pages */
.page-hero { position: relative; overflow: hidden; padding: 76px 0; color: var(--white); background: linear-gradient(120deg, var(--deep-green), var(--primary-green)); }.page-hero::after { content: ''; position: absolute; right: -120px; top: -150px; width: 420px; height: 420px; border: 48px solid rgba(255,255,255,.10); border-radius: 50%; }.page-hero .container { position: relative; z-index: 1; }.page-hero h1 { max-width: 730px; color: var(--white); font-size: clamp(2.25rem,4vw,4rem); font-weight: 800; }.page-hero p { max-width: 650px; color: #dff5e6; }.breadcrumb-item, .breadcrumb-item.active { color: #dff5e6; }.breadcrumb-item + .breadcrumb-item::before { color: #bceacb; }.breadcrumb-item a { color: var(--white); font-weight: 700; }
.content-card, .facility-card, .gallery-card, .resource-card { border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 8px 22px rgba(4,91,44,.04); }.content-card, .facility-card { padding: 1.55rem; }.facility-card h5, .resource-card h6 { font-weight: 800; }.facility-card p { color: var(--muted); }.gallery-card { overflow: hidden; min-height: 250px; }.gallery-placeholder { display: grid; place-items: center; min-height: 190px; background: linear-gradient(135deg,#def4e5,#a0d8b4); color: var(--primary-green); font-size: 2.5rem; }.resource-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; }.resource-card span { color: var(--muted); font-size: .78rem; }.doc-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; background: var(--soft-green); color: var(--primary-green); font-size: 1.25rem; }
.contact-card { height: 100%; padding: 1.45rem; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }.contact-card i { color: var(--primary-green); }.form-control, .form-select { border-color: #cddfd2; border-radius: 10px; padding: .75rem .85rem; }.form-control:focus, .form-select:focus { border-color: var(--primary-green); box-shadow: 0 0 0 .20rem rgba(8,122,61,.14); }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 72px 0 22px; background: #033d1e; color: #d6ebdc; }.footer-curve { position: absolute; top: -145px; right: -40px; width: 380px; height: 380px; border: 48px solid rgba(255,255,255,.06); border-radius: 50%; }.footer-brand h5, .site-footer h6 { color: var(--white); font-weight: 800; }.footer-copy { max-width: 470px; color: #c5ddcc; }.footer-social { display: flex; gap: .55rem; }.footer-social a { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,.10); color: var(--white); }.footer-social a:hover { background: var(--bright-green); }.footer-links, .footer-contact { padding: 0; list-style: none; }.footer-links li { margin: .55rem 0; }.footer-links a, .footer-contact a { color: #d6ebdc; }.footer-links a:hover, .footer-contact a:hover { color: var(--white); }.footer-contact li { display: flex; gap: .65rem; margin: .7rem 0; }.footer-contact i { color: #94e2af; margin-top: .28rem; }.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.13); color: #b6d2bf; font-size: .78rem; }.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary-green); color: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(15px); transition: .2s; }.scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 991px) { .hero { min-height: auto; }.hero-visual { min-height: 370px; }.trust-panel { margin-top: 0; padding-top: 1.25rem; background: var(--paper); }.stat-item { border-left: 0; padding-left: 0; }.leader-content { padding: 2rem; } }
@media (max-width: 575px) { .brand-mark { width: 42px; height: 42px; font-size: 27px; }.brand-copy { font-size: 13px; }.hero { padding: 58px 0; }.hero-visual { min-height: 330px; }.care-orbit { width: 300px; height: 300px; }.health-card { transform: none; }.float-badge { display: none; }.section { padding: 58px 0; }.trust-card { padding: 1.1rem; }.cta-panel, .program-panel { padding: 1.7rem; }.footer-bottom { margin-top: 2rem; } }
