/* ============================================================
   HERE WE RISE FOUNDATION — BRAND STYLESHEET
   Fonts: Galins (headings), Oxygen (body/subheadings/buttons)
   Palette:
     Pearl Blush  #EBE2D5  page bg / cream
     Beauty Blush #E9BDBC  primary accent
     Jet Stream   #B3D0CE  secondary accent
     Salomie      #FFDF87  warm highlight
     Blumine      #22566F  deep teal / dark text
     Clover       #464F17  deep olive
   ============================================================ */

/* ── FONTS ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Galins';
  src: url('/assets/fonts/Galins-Regular.woff2') format('woff2'),
       url('/assets/fonts/Galins-Regular.woff') format('woff'),
       url('/assets/fonts/Galins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap');

/* ── CSS CUSTOM PROPERTIES ───────────────────────────────── */
:root {
  --color-pearl:   #EBE2D5;
  --color-blush:   #E9BDBC;
  --color-teal:    #B3D0CE;
  --color-yellow:  #FFDF87;
  --color-blumine: #22566F;
  --color-clover:  #464F17;
  --color-dark:    #2a2a2a;
  --color-white:   #ffffff;

  --font-heading: 'Galins', Georgia, serif;
  --font-body:    'Oxygen', Arial, sans-serif;
}

/* ── BASE ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-blumine);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { line-height: 1.7; margin-bottom: 1rem; }

a {
  color: var(--color-blumine);
  text-decoration: none;
  transition: color .2s linear;
}
a:hover { color: var(--color-blush); }

/* ── UTILITY COLORS ──────────────────────────────────────── */
.text-blush   { color: var(--color-blush); }
.text-blumine { color: var(--color-blumine); }
.text-teal    { color: var(--color-teal); }
.text-clover  { color: var(--color-clover); }
.bg-pearl     { background-color: var(--color-pearl); }
.bg-blush     { background-color: var(--color-blush); }
.bg-teal      { background-color: var(--color-teal); }
.bg-blumine   { background-color: var(--color-blumine); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-white);
  background: var(--color-blush);
  border: none;
  border-radius: 0;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: 13px 40px;
  transition: background .2s linear;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-blumine);
  color: var(--color-white);
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-blumine);
  background: transparent;
  border: 2px solid var(--color-blumine);
  border-radius: 0;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: 11px 38px;
  transition: all .2s linear;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--color-blumine);
  color: var(--color-white);
}

/* ── NAVBAR ──────────────────────────────────────────────── */
header {
  background: var(--color-white);
  border-bottom: 1px solid rgba(34,86,111,0.12);
}

header ul.navbar-nav li a.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-blumine);
}

header ul.navbar-nav li a.active,
header ul.navbar-nav li a:hover {
  color: var(--color-blush) !important;
  transition: color .2s linear;
}

header ul.navbar-nav li.cta-btn a {
  background: var(--color-blush);
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: 10px 32px !important;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
header ul.navbar-nav li.cta-btn a:hover {
  background: var(--color-blumine);
  color: var(--color-white) !important;
}

/* ── HERO SECTION ────────────────────────────────────────── */
.hero-section {
  min-height: 700px;
  background: url(/assets/images/banner.jpg) no-repeat center;
  background-size: cover;
  position: relative;
  z-index: 10;
}
.hero-section:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(235,226,213,0.55);
  z-index: -1;
}
.hero-section .hero-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0; right: 0;
  margin: 0 auto;
  text-align: center;
}
.hero-section .hero-inner h1 {
  font-size: 5rem;
  color: var(--color-blumine);
}
.hero-section .hero-inner h2 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-blumine);
}

/* ── SECTION SPACING ─────────────────────────────────────── */
.intro-section,
.why-choose-us,
.who-we-are,
.logo-section {
  padding: 6rem 0 !important;
}

.intro-section { background-color: var(--color-pearl); }

/* ── SECTION LABELS (subheadings) ────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blush);
  margin-bottom: 0.5rem;
  display: block;
}

/* ── CARDS ───────────────────────────────────────────────── */
.why-choose-us img { max-width: 120px; padding: 20px; margin: 0 auto; }

.why-choose-us .card,
.who-we-are .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(34,86,111,0.08) !important;
}

.choose-topics .btn { padding: 7px 20px !important; }

/* ── SERVICE CARDS ───────────────────────────────────────── */
.service-card {
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid rgba(179,208,206,0.4);
  padding: 2rem;
  transition: box-shadow .2s ease, transform .2s ease;
  height: 100%;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(34,86,111,0.12);
  transform: translateY(-3px);
}
.service-card .service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
}
.service-card h4 {
  font-family: var(--font-heading);
  color: var(--color-blumine);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 14px;
  color: #555;
}
.service-card .btn-primary {
  font-size: 12px;
  padding: 10px 28px;
}

/* ── WHO WE ARE ──────────────────────────────────────────── */
.who-we-are {
  background: var(--color-pearl) url('/assets/images/map.png') no-repeat center;
  background-size: cover;
}
.who-we-are .card ul { padding: 0; margin: 0; }
.who-we-are .card ul li {
  list-style: none;
  margin: 0 0 14px;
  background: url('/assets/images/arrow.png') no-repeat left 3px;
  background-size: 15px auto;
  padding: 0 0 0 25px;
  font-size: 14px;
}
.who-we-are .card ul li:last-child { margin-bottom: 0; }

/* ── SERVICE CATEGORY PAGE ───────────────────────────────── */
.service-hero {
  background-color: var(--color-pearl);
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(179,208,206,0.5);
}
.service-hero .eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blush);
  margin-bottom: 0.75rem;
  display: block;
}
.service-hero h1 {
  font-size: 3.5rem;
  color: var(--color-blumine);
  margin-bottom: 1rem;
}
.service-hero p.lead {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
}

.service-subnav {
  background: var(--color-white);
  border-bottom: 1px solid rgba(179,208,206,0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}
.service-subnav .nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888 !important;
  padding: 1rem 1.5rem !important;
  border-bottom: 3px solid transparent;
  transition: all .2s ease;
}
.service-subnav .nav-link.active,
.service-subnav .nav-link:hover {
  color: var(--color-blumine) !important;
  border-bottom-color: var(--color-blush);
}

.program-areas { padding: 4rem 0; background: var(--color-white); }
.program-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-blush);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.program-card {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(179,208,206,0.4);
  height: 100%;
}
.program-card h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-blumine);
  margin-bottom: 0.5rem;
}
.program-card p { font-size: 13px; color: #666; margin: 0; }

/* ── RESOURCE LIST ───────────────────────────────────────── */
.resources-section {
  padding: 4rem 0;
  background: var(--color-pearl);
}
.resource-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.resource-list-header h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin: 0;
}
.resource-item {
  background: var(--color-white);
  border-radius: 10px;
  border: 1px solid rgba(179,208,206,0.4);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s ease, transform .2s ease;
  text-decoration: none;
}
.resource-item:hover {
  box-shadow: 0 4px 20px rgba(34,86,111,0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.resource-item.coming-soon {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}
.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.resource-icon.coming { background: #ddd; }
.resource-icon svg { width: 20px; height: 20px; }
.resource-info { flex: 1; }
.resource-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-blumine);
  margin-bottom: 2px;
}
.resource-meta {
  font-size: 12px;
  color: #888;
}
.resource-badge {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}
.resource-badge.live {
  background: rgba(179,208,206,0.35);
  color: var(--color-blumine);
}
.resource-badge.soon {
  background: rgba(235,226,213,0.8);
  color: #888;
}

/* ── RESOURCE ARTICLE PAGE ───────────────────────────────── */
.resource-article-hero {
  background: var(--color-pearl);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(179,208,206,0.4);
}
.resource-article-hero .breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 1rem;
}
.resource-article-hero .breadcrumb a { color: var(--color-blush); }
.resource-article-hero .breadcrumb a:hover { color: var(--color-blumine); }
.resource-article-hero h1 {
  font-size: 3rem;
  color: var(--color-blumine);
  max-width: 700px;
  margin-bottom: 1rem;
}
.resource-article-hero .article-meta {
  font-size: 13px;
  color: #888;
}
.resource-article-hero .article-tag {
  display: inline-block;
  background: var(--color-blush);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.resource-article-body {
  padding: 4rem 0 5rem;
}
.resource-article-body .article-content {
  max-width: 700px;
}
.resource-article-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.resource-article-body h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.resource-article-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}
.resource-article-body ul li {
  margin-bottom: 0.5rem;
  font-size: 15px;
  line-height: 1.65;
}
.resource-article-body p { font-size: 15px; }

.pull-quote {
  border-left: 4px solid var(--color-blush);
  padding: 1rem 1.5rem;
  background: rgba(233,189,188,0.1);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.pull-quote p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-blumine);
  line-height: 1.5;
  margin: 0;
}

.article-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--color-pearl);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h6 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 1rem;
}
.sidebar-resource {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(179,208,206,0.3);
  text-decoration: none;
}
.sidebar-resource:last-child { border-bottom: none; }
.sidebar-resource:hover .sidebar-resource-title { color: var(--color-blush); }
.sidebar-resource-thumb {
  width: 36px;
  height: 28px;
  border-radius: 5px;
  background: var(--color-blush);
  flex-shrink: 0;
}
.sidebar-resource-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-blumine);
  transition: color .2s;
}
.sidebar-resource-type { font-size: 10px; color: #888; text-transform: uppercase; }

/* ── NEXT STEPS CTA ──────────────────────────────────────── */
.next-steps {
  background: var(--color-blumine);
  padding: 4rem 0;
  text-align: center;
}
.next-steps h3 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.next-steps p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 2rem;
}
.btn-primary-light {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-blumine);
  background: var(--color-white);
  border: none;
  border-radius: 0;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: 13px 40px;
  transition: background .2s linear;
}
.btn-primary-light:hover {
  background: var(--color-blush);
  color: var(--color-white);
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--color-pearl);
  padding: 3rem 0;
  border-top: 1px solid rgba(179,208,206,0.4);
}
footer h6 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blumine);
  margin-bottom: 1rem;
}
footer ul li { margin-bottom: 12px; }
footer ul li a.nav-link {
  padding: 0;
  font-size: 14px;
  color: var(--color-dark);
}
footer ul li a.nav-link:hover { color: var(--color-blush); }
footer .address { line-height: 1.6; font-size: 14px; color: #555; }

.copyright {
  padding: 1rem 0;
  background: var(--color-blumine);
}
.copyright p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
  font-size: 13px;
}

/* ── LOGO SECTION ────────────────────────────────────────── */
.logo-section img { width: auto !important; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .wow { visibility: hidden; }
}

/* ── SERVICE TILE IMAGE CONSISTENCY ─────────────────────────── */
.choose-topics .card-img-top {
  height: 220px;
  object-fit: cover;
  object-position: center top;
}

/* ── INTRO SECTION CARD IMAGE CONSISTENCY ───────────────────── */
.intro-section .card-img-top {
  height: 220px;
  object-fit: cover;
  object-position: center;
}

/* ── WOW ANIMATION FIX ───────────────────────────────────────
   WOW.js hides elements until they animate into view.
   This ensures content is always visible regardless. */
.wow {
  visibility: visible !important;
}
