/* ==========================================================================
   WDS-RMH Template – Resilient Mental Health Agency
   Redesigned to match Mental Health Reference Template
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Font Imports
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --rmh-font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --rmh-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
    --rmh-container-width: 1200px;
    --rmh-header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--rmh-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--rmh-text);
    background-color: var(--rmh-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rmh-primary);
    text-decoration: none;
    transition: color var(--rmh-transition);
}

a:hover,
a:focus-visible {
    color: var(--rmh-primary-dark);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rmh-font-heading);
    color: var(--rmh-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-top: 0; margin-bottom: 1rem; }

ul, ol { padding-left: 1.5rem; }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.rmh-container {
    width: 100%;
    max-width: var(--rmh-container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.rmh-skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--rmh-primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.2s;
}

.rmh-skip-link:focus {
    top: 0;
    text-decoration: none;
    color: #fff;
}

/* --------------------------------------------------------------------------
   4. Top Bar
   -------------------------------------------------------------------------- */
.rmh-topbar {
    background-color: var(--rmh-primary);
    color: var(--rmh-white);
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: none;
    width: 100%;
}

.rmh-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rmh-topbar__left,
.rmh-topbar__right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.rmh-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rmh-topbar__phones {
    align-items: flex-start;
}

.rmh-topbar__phones-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.25;
}

.rmh-topbar__phone-line {
    display: block;
}

.rmh-topbar__item [class^="icon-"] {
    color: var(--rmh-white);
    font-size: 0.875rem;
    opacity: 0.85;
}

.rmh-topbar a {
    color: var(--rmh-white);
    text-decoration: none;
}

.rmh-topbar a:hover,
.rmh-topbar a:focus-visible {
    color: rgba(255, 255, 255, 0.75);
}

.rmh-topbar__site-switch a {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.rmh-topbar__site-switch a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.rmh-header {
    background-color: var(--rmh-white);
    box-shadow: none; /* Removed for seamless hero integration */
    z-index: 1000;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rmh-header--sticky {
    position: sticky;
    top: 0;
}

.rmh-header--hidden {
    transform: translateY(-100%);
}

.rmh-header__inner {
    display: flex;
    align-items: center;
    min-height: var(--rmh-header-height);
    gap: 20px;
}

.rmh-header__brand {
    flex-shrink: 0;
}

.rmh-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--rmh-heading);
}

.rmh-logo:hover {
    text-decoration: none;
    color: var(--rmh-primary);
}

.rmh-logo-img {
    max-height: 50px;
    width: auto;
}

.rmh-logo-text {
    font-family: var(--rmh-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--rmh-heading);
    letter-spacing: 0.5px;
}

.rmh-header__tagline {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}

/* Header right zone (nav + CTA) */
.rmh-header__right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Appointment CTA button in header */
.rmh-header__cta .rmh-btn {
    padding: 10px 22px;
    font-size: 0.8125rem;
    letter-spacing: 1px;
    border-radius: 3px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.rmh-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    gap: 10px;
}

.rmh-nav .nav,
.rmh-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 2px;
}

.rmh-nav .nav > li > a,
.rmh-nav > ul > li > a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rmh-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--rmh-transition);
    white-space: nowrap;
    font-family: var(--rmh-font-body);
}

.rmh-nav .nav > li > a:hover,
.rmh-nav .nav > li > a:focus-visible,
.rmh-nav > ul > li > a:hover,
.rmh-nav > ul > li > a:focus-visible,
.rmh-nav .nav > li.active > a,
.rmh-nav .nav > li.current > a,
.rmh-nav > ul > li.active > a,
.rmh-nav > ul > li.current > a {
    color: var(--rmh-primary);
}

/* Dropdown */
.rmh-nav .nav > li {
    position: relative;
}

.rmh-nav .nav > li > ul,
.rmh-nav .nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--rmh-white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--rmh-border);
    border-radius: var(--rmh-radius);
    padding: 8px 0;
    display: none;
    z-index: 1010;
    flex-direction: column;
}

.rmh-nav .nav > li:hover > ul,
.rmh-nav .nav > li:focus-within > ul,
.rmh-nav .nav li:hover > .dropdown-menu,
.rmh-nav .nav li:focus-within > .dropdown-menu {
    display: flex;
}

.rmh-nav .nav > li > ul a,
.rmh-nav .nav .dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 0.875rem;
    color: var(--rmh-text);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--rmh-transition);
}

.rmh-nav .nav > li > ul a:hover,
.rmh-nav .nav > li > ul a:focus-visible,
.rmh-nav .nav .dropdown-menu a:hover,
.rmh-nav .nav .dropdown-menu a:focus-visible {
    background-color: var(--rmh-light-bg);
    color: var(--rmh-primary);
}

/* Mobile toggle */
.rmh-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.rmh-nav-toggle__bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--rmh-heading);
    border-radius: 2px;
    transition: all var(--rmh-transition);
}

.rmh-nav-toggle[aria-expanded="true"] .rmh-nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.rmh-nav-toggle[aria-expanded="true"] .rmh-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.rmh-nav-toggle[aria-expanded="true"] .rmh-nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.rmh-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--rmh-primary) 3%, white) 0%,
        color-mix(in srgb, var(--rmh-primary) 6%, white) 40%,
        color-mix(in srgb, var(--rmh-primary) 2%, white) 100%
    );
}

.rmh-hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.rmh-hero-slide {
    display: none;
}

.rmh-hero-slide.is-active {
    display: block;
}

.rmh-hero-slide__inner {
    display: flex;
    align-items: center;
    min-height: 600px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.rmh-hero-slide__image {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
    line-height: 0;
}

.rmh-hero-slide__image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;
}

.rmh-hero-slide__text {
    flex: 1;
    padding: 30px 40px;
    max-width: 480px;
}

.rmh-hero--img-left .rmh-hero-slide__image { order: 1; }
.rmh-hero--img-left .rmh-hero-slide__text  { order: 2; }
.rmh-hero--img-right .rmh-hero-slide__text  { order: 1; }
.rmh-hero--img-right .rmh-hero-slide__image { order: 2; }

.rmh-hero__label {
    font-family: var(--rmh-font-heading);
    font-size: 1rem;
    font-style: italic;
    color: #999;
    margin-bottom: 4px;
}

.rmh-hero__title {
    font-family: var(--rmh-font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    font-style: italic;
    color: var(--rmh-heading);
    line-height: 1.2;
    margin-bottom: 20px;
}

.rmh-hero__title strong {
    font-style: normal;
    font-weight: 900;
}

.rmh-hero__subtitle {
    font-size: 0.875rem;
    color: #777;
    line-height: 1.8;
    margin-bottom: 30px;
}

.rmh-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 25px;
}

.rmh-hero-arrow--prev { left: 0; }
.rmh-hero-arrow--next { right: 0; }

.rmh-hero-arrow:hover { color: var(--rmh-primary); }

.rmh-hero-arrow span { font-size: 1rem; }

/* Nigeria: hero prev/next — green + white (beats Joomla/global button resets) */
body.rmh-site--ng section.rmh-hero .rmh-hero-arrow {
    z-index: 20;
    -webkit-appearance: none;
    appearance: none;
    color: #fff !important;
    background: var(--rmh-primary, #008751) !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
    width: 48px;
    height: 48px;
    padding: 0 !important;
    justify-content: center;
    border-radius: 50%;
    text-shadow: none;
}

body.rmh-site--ng section.rmh-hero .rmh-hero-arrow:hover,
body.rmh-site--ng section.rmh-hero .rmh-hero-arrow:focus-visible {
    color: #fff !important;
    background: var(--rmh-primary-dark, #006b3f) !important;
    border-color: #fff !important;
    outline: none;
}

body.rmh-site--ng section.rmh-hero .rmh-hero-arrow span {
    font-size: 1.35rem;
    line-height: 1;
    color: inherit;
}

body.rmh-site--ng section.rmh-hero .rmh-hero-arrow--prev {
    left: clamp(8px, 2vw, 20px);
}

body.rmh-site--ng section.rmh-hero .rmh-hero-arrow--next {
    right: clamp(8px, 2vw, 20px);
}

/* --------------------------------------------------------------------------
   8. Sections
   -------------------------------------------------------------------------- */
.rmh-section {
    padding: 80px 0;
}

.rmh-section--alt {
    background-color: var(--rmh-light-bg);
}

.rmh-section--leadership {
    padding: 48px 0 72px;
    background: var(--rmh-light-bg);
}

.rmh-section--leadership .rmh-about-ceo-feature {
    margin-bottom: 0;
}

/* Nigeria site only: hide legacy US-style counters if still stored in mod_custom. */
.rmh-site--ng .rmh-stats,
.rmh-site--ng .rmh-about-ceo-feature__stats {
    display: none !important;
}

.rmh-site--ng .rmh-about-ceo-feature__rule:has(+ .rmh-about-ceo-feature__stats) {
    display: none !important;
}

.rmh-section__title {
    text-align: center;
    font-family: var(--rmh-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 32px;
    overflow: visible;
}

.rmh-site--ng .rmh-section__title::before,
.rmh-site--ng .rmh-section__title::after {
    content: "";
    position: absolute;
    display: block;
    pointer-events: none;
}

/* Tapered horizontal rules + center diamond (matches Services / Therapists section style) */
.rmh-site--ng .rmh-section__title::before {
    left: 50%;
    bottom: 2px;
    width: min(560px, 92vw);
    height: 3px;
    transform: translateX(-50%);
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--rmh-primary) 22%,
        var(--rmh-primary) 38%,
        var(--rmh-primary) 50%,
        var(--rmh-primary) 62%,
        var(--rmh-primary) 78%,
        transparent 100%
    );
    border-radius: 2px;
    z-index: 0;
}

.rmh-site--ng .rmh-section__title::after {
    left: 50%;
    bottom: -3px;
    width: 8px;
    height: 8px;
    transform: translateX(-50%) rotate(45deg);
    background-color: var(--rmh-primary);
    z-index: 1;
    box-shadow: 0 0 0 3px var(--rmh-white);
}

.rmh-section__subtitle {
    text-align: center;
    color: #777;
    font-size: 0.9375rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Values grid (Mission / Vision / Core Values) */
.rmh-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.rmh-value-card {
    text-align: center;
    padding: 30px 20px;
    border-top: 3px solid var(--rmh-primary);
    background: var(--rmh-light-bg);
    border-radius: var(--rmh-radius);
}

.rmh-value-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--rmh-primary) 12%, white);
    color: var(--rmh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 18px;
}

.rmh-value-card__title {
    font-family: var(--rmh-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin-bottom: 12px;
}

.rmh-value-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* Therapist cards */
.rmh-therapists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.rmh-therapist-card {
    text-align: center;
}

.rmh-therapist-card__photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--rmh-light-bg);
    box-shadow: var(--rmh-shadow);
}

.rmh-therapist-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rmh-therapist-card__name {
    font-family: var(--rmh-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin-bottom: 15px;
}

.rmh-therapist-card__bio {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 10px;
}

/* CTA section */
.rmh-section--cta {
    background-color: var(--rmh-primary);
    color: var(--rmh-white);
    padding: 60px 0;
    text-align: center;
}

.rmh-section--cta h2,
.rmh-section--cta h3,
.rmh-section--cta p {
    color: var(--rmh-white);
}

.rmh-section--cta .rmh-btn {
    margin-top: 10px;
    text-decoration: none;
    border: 2px solid var(--rmh-white);
}

.rmh-section--cta a:not(.rmh-btn) {
    color: var(--rmh-white);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9. Welcome / About Founder Section
   -------------------------------------------------------------------------- */
.rmh-welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.rmh-welcome__photo-wrap {
    position: relative;
    padding: 20px;
}

.rmh-welcome__photo-frame {
    position: relative;
    display: inline-block;
}

.rmh-welcome__photo-frame::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--rmh-border);
    z-index: 0;
    transform: rotate(-3deg);
}

.rmh-welcome__photo-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.rmh-welcome__signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.rmh-welcome__signature-name {
    font-family: var(--rmh-font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--rmh-heading);
}

.rmh-welcome__signature-role {
    font-size: 0.8125rem;
    color: #888;
    display: block;
}

.rmh-welcome__content h3 {
    font-family: var(--rmh-font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--rmh-heading);
}

.rmh-welcome__content p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.9;
}

/* Checkmark feature list */
.rmh-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.rmh-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--rmh-text);
    padding: 4px 0;
}

.rmh-feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--rmh-primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Stats / Counters */
.rmh-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--rmh-border);
}

.rmh-stats__item {
    text-align: center;
}

.rmh-stats__number {
    font-family: var(--rmh-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rmh-primary);
    line-height: 1;
    display: block;
}

.rmh-stats__label {
    font-size: 0.8125rem;
    color: #888;
    margin-top: 5px;
    display: block;
}

/* --------------------------------------------------------------------------
   10. Services Section
   -------------------------------------------------------------------------- */
.rmh-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.rmh-service-card {
    background: var(--rmh-white);
    border-radius: 0;
    overflow: hidden;
    transition: transform var(--rmh-transition), box-shadow var(--rmh-transition);
}

.rmh-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.rmh-service-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.rmh-service-card__body {
    padding: 25px 20px;
}

.rmh-service-card__title {
    font-family: var(--rmh-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin-bottom: 12px;
}

.rmh-service-card__text {
    font-size: 0.875rem;
    color: #777;
    line-height: 1.8;
}

/* Green accent card (What We Do for You) */
.rmh-service-card--accent {
    background-color: var(--rmh-primary);
    color: var(--rmh-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 30px;
}

.rmh-service-card--accent .rmh-service-card__title {
    color: var(--rmh-white);
    font-size: 1.5rem;
    line-height: 1.3;
}

.rmh-service-card--accent .rmh-service-card__text {
    color: rgba(255,255,255,0.85);
}

.rmh-service-card--accent .rmh-btn--white {
    margin-top: 20px;
    align-self: flex-start;
    font-size: 0.8125rem;
    padding: 8px 20px;
}

/* Homepage: Our Services – full-bleed band (same horizontal breakout as .rmh-page-banner) */
.rmh-site--ng .rmh-section.rmh-section--services-bleed {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    padding: 72px 0 88px;
    background-color: #f0f7f0;
    background-image: linear-gradient(180deg, #ffffff 0%, #edf5ed 45%, #f7fbf7 100%);
    border-bottom: 1px solid #eaeaea;
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-container {
    max-width: min(1480px, 96vw);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(14px, 3vw, 40px);
    padding-right: clamp(14px, 3vw, 40px);
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
    gap: clamp(20px, 2.5vw, 32px);
    align-items: stretch;
}

@media (max-width: 900px) {
    .rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-services-grid {
        grid-template-columns: 1fr;
    }
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    border: 1px solid #e0e8e0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    background: var(--rmh-white);
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-service-card:hover {
    box-shadow: 0 16px 40px rgba(67, 182, 73, 0.14);
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-service-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-service-card__body {
    padding: 22px 20px 26px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-service-card__title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.35;
}

.rmh-site--ng .rmh-section.rmh-section--services-bleed .rmh-service-card__text {
    margin-bottom: 0;
    flex: 1;
}

/* --------------------------------------------------------------------------
   11. Testimonials Section
   -------------------------------------------------------------------------- */
.rmh-section--testimonials {
    background-color: var(--rmh-light-bg);
    padding: 80px 0;
}

.rmh-testimonials {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rmh-testimonials__decorations {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.rmh-testimonials__quote-mark {
    font-family: var(--rmh-font-heading);
    font-size: 4rem;
    color: var(--rmh-primary);
    line-height: 1;
    margin-bottom: 20px;
}

.rmh-testimonials__text {
    font-family: var(--rmh-font-heading);
    font-size: 1.0625rem;
    font-style: italic;
    color: #555;
    line-height: 1.9;
    margin-bottom: 25px;
}

.rmh-testimonials__author {
    font-weight: 700;
    color: var(--rmh-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rmh-testimonials__role {
    color: var(--rmh-primary);
    font-size: 0.8125rem;
    display: block;
    margin-top: 5px;
}

/* Testimonial nav arrows */
.rmh-testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.rmh-testimonials__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--rmh-border);
    background: var(--rmh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--rmh-text);
    font-size: 0.75rem;
    transition: all var(--rmh-transition);
}

.rmh-testimonials__arrow:hover {
    background: var(--rmh-primary);
    color: #fff;
    border-color: var(--rmh-primary);
}

/* --------------------------------------------------------------------------
   12. FAQ Section
   -------------------------------------------------------------------------- */
.rmh-section--faq {
    background-color: var(--rmh-white);
}

.rmh-faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.rmh-faq__image {
    border-radius: 4px;
    overflow: hidden;
}

.rmh-faq__image img {
    width: 100%;
    height: auto;
    display: block;
}

.rmh-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rmh-faq__item {
    border-bottom: 1px solid var(--rmh-border);
}

.rmh-faq__item:first-child {
    border-top: 1px solid var(--rmh-border);
}

.rmh-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    cursor: pointer;
    font-family: var(--rmh-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rmh-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--rmh-transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.rmh-faq__question:hover {
    color: var(--rmh-primary);
}

.rmh-faq__icon {
    font-size: 1.25rem;
    color: #999;
    transition: transform var(--rmh-transition), color var(--rmh-transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.rmh-faq__item.is-active .rmh-faq__question {
    color: var(--rmh-primary);
    border-left: 3px solid var(--rmh-primary);
    padding-left: 15px;
}

.rmh-faq__item.is-active .rmh-faq__icon {
    transform: rotate(45deg);
    color: var(--rmh-primary);
}

.rmh-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0 0 15px;
}

.rmh-faq__item.is-active .rmh-faq__answer {
    max-height: 500px;
    padding: 0 0 20px 15px;
}

.rmh-faq__answer p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.9;
    margin: 0;
}

/* --------------------------------------------------------------------------
   13. Content Area
   -------------------------------------------------------------------------- */
.rmh-content-area {
    padding: 40px 0;
}

.rmh-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.rmh-content-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.rmh-content-row.has-sidebar-left {
    grid-template-columns: 280px 1fr;
}

.rmh-content-row.has-sidebar-right {
    grid-template-columns: 1fr 280px;
}

.rmh-content-row.has-sidebar-left.has-sidebar-right {
    grid-template-columns: 250px 1fr 250px;
}

.rmh-main {
    min-width: 0;
}

/* --------------------------------------------------------------------------
   14. Cards
   -------------------------------------------------------------------------- */
.rmh-card {
    background: var(--rmh-white);
    border: 1px solid var(--rmh-border);
    border-radius: var(--rmh-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--rmh-shadow);
    transition: box-shadow var(--rmh-transition);
}

.rmh-card:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.rmh-card__title {
    font-size: 1.25rem;
    color: var(--rmh-heading);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rmh-primary);
}

/* --------------------------------------------------------------------------
   15. Buttons
   -------------------------------------------------------------------------- */
.rmh-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--rmh-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: var(--rmh-font-body);
}

.rmh-btn:hover {
    text-decoration: none;
}

.rmh-btn--primary {
    background-color: var(--rmh-primary);
    color: var(--rmh-white);
    border-color: var(--rmh-primary);
}

.rmh-btn--primary:hover,
.rmh-btn--primary:focus-visible {
    background-color: var(--rmh-primary-dark);
    border-color: var(--rmh-primary-dark);
    color: var(--rmh-white);
}

.rmh-btn--outline {
    background-color: transparent;
    color: var(--rmh-primary);
    border-color: var(--rmh-primary);
}

.rmh-btn--outline:hover,
.rmh-btn--outline:focus-visible {
    background-color: var(--rmh-primary);
    color: var(--rmh-white);
}

.rmh-btn--white {
    background-color: var(--rmh-white);
    color: var(--rmh-primary);
    border-color: var(--rmh-white);
}

.rmh-btn--white:hover,
.rmh-btn--white:focus-visible {
    background-color: transparent;
    color: var(--rmh-white);
    border-color: var(--rmh-white);
}

/* --------------------------------------------------------------------------
   15b. Article Page Header
   -------------------------------------------------------------------------- */
.com-content-article .page-header {
    text-align: center;
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.com-content-article .page-header h1 {
    font-family: var(--rmh-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0;
}

.com-content-article .page-header::before,
.com-content-article .page-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 1px;
    background-color: var(--rmh-primary);
}

.com-content-article .page-header::before {
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    background: linear-gradient(
        to right,
        transparent,
        var(--rmh-primary) 20%,
        var(--rmh-primary) 45%,
        transparent 45%,
        transparent 55%,
        var(--rmh-primary) 55%,
        var(--rmh-primary) 80%,
        transparent
    );
}

.com-content-article .page-header::after {
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: var(--rmh-primary);
    border-radius: 0;
    display: block;
}

/* --------------------------------------------------------------------------
   15c. Services Page (Nigeria branch – elevated card grid)
   -------------------------------------------------------------------------- */
.rmh-services-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 40px;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--rmh-primary) 6%, #fff) 0%,
        #fff 180px,
        #fff 100%
    );
    border-radius: 12px;
}

.rmh-services-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
    padding: 28px 32px 32px;
    background: var(--rmh-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid color-mix(in srgb, var(--rmh-primary) 12%, #e8e8e8);
}

.rmh-services-intro p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.85;
    margin: 0;
}

.rmh-services-listing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 60px;
}

.rmh-sl-card {
    position: relative;
    background: var(--rmh-white);
    border-radius: 12px;
    padding: 28px 20px 26px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e8ebe8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.rmh-sl-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, var(--rmh-primary) 55%, transparent),
        var(--rmh-primary),
        color-mix(in srgb, var(--rmh-primary) 55%, transparent),
        transparent
    );
    opacity: 0.35;
    transition: opacity 0.25s ease;
}

.rmh-sl-card:hover {
    border-color: color-mix(in srgb, var(--rmh-primary) 35%, #ddd);
    box-shadow: 0 12px 32px rgba(67, 182, 73, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.rmh-sl-card:hover::before {
    opacity: 1;
}

.rmh-sl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    font-size: 1.35rem;
    color: var(--rmh-primary);
    background: color-mix(in srgb, var(--rmh-primary) 14%, #fff);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--rmh-primary) 22%, transparent);
    transition: transform 0.25s ease, background 0.25s ease;
}

.rmh-sl-card:hover .rmh-sl-icon {
    transform: scale(1.06);
    background: color-mix(in srgb, var(--rmh-primary) 22%, #fff);
}

.rmh-sl-card h3 {
    font-family: var(--rmh-font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--rmh-heading);
    line-height: 1.45;
    margin: 0;
    letter-spacing: 0.01em;
}

.rmh-services-divider {
    width: 80px;
    height: 3px;
    background: var(--rmh-primary);
    margin: 60px auto;
    border-radius: 2px;
}

.rmh-age-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.rmh-age-card {
    background: var(--rmh-white);
    border-radius: var(--rmh-radius);
    overflow: hidden;
    box-shadow: var(--rmh-shadow);
    transition: transform var(--rmh-transition);
}

.rmh-age-card:hover {
    transform: translateY(-5px);
}

.rmh-age-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.rmh-age-card__body {
    padding: 25px;
}

.rmh-age-card__body h3 {
    font-family: var(--rmh-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin-bottom: 12px;
}

.rmh-age-card__body h3 span {
    font-weight: 400;
    font-size: 0.9rem;
    color: #999;
}

.rmh-age-card__body p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
}

.rmh-services-cta {
    text-align: center;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--rmh-primary) 8%, #f8faf8) 0%,
        #f4f7f4 100%
    );
    padding: 48px 36px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid color-mix(in srgb, var(--rmh-primary) 15%, #e0e8e0);
    box-shadow: 0 6px 28px rgba(67, 182, 73, 0.08);
}

.rmh-services-cta h3 {
    font-family: var(--rmh-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin-bottom: 12px;
}

.rmh-services-cta p {
    color: #666;
    margin-bottom: 20px;
}

.rmh-services-cta a:not(.rmh-btn) {
    color: var(--rmh-primary);
}

@media (max-width: 991px) {
    .rmh-services-listing {
        grid-template-columns: repeat(2, 1fr);
    }
    .rmh-age-groups {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .rmh-services-listing {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.rmh-footer {
    color: var(--rmh-footer-text);
}

.rmh-footer__main {
    background-color: var(--rmh-footer-bg);
    padding: 60px 0 40px;
}

.rmh-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Nigeria: three footer columns (About | Quick Links | Contact), same balance as US reference */
.rmh-site--ng .rmh-footer__grid {
    grid-template-columns: repeat(3, 1fr);
}

.rmh-site--ng .rmh-footer ul li a::before {
    content: "\f111";
    font-size: 0.4rem;
    vertical-align: middle;
}

.rmh-footer__heading {
    color: var(--rmh-white);
    font-family: var(--rmh-font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.5px;
}

.rmh-footer__heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--rmh-primary);
}

.rmh-footer a {
    color: var(--rmh-footer-text);
    text-decoration: none;
    transition: color var(--rmh-transition);
}

.rmh-footer a:hover,
.rmh-footer a:focus-visible {
    color: var(--rmh-primary);
    text-decoration: none;
}

.rmh-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rmh-footer ul li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rmh-footer ul li a {
    display: block;
    padding: 3px 0;
    font-size: 0.875rem;
}

.rmh-footer ul li a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--rmh-primary);
    font-size: 0.75rem;
}

/* Footer recent posts with thumbnails */
.rmh-footer .rmh-footer-posts__item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rmh-footer .rmh-footer-posts__thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 3px;
}

.rmh-footer .rmh-footer-posts__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rmh-footer-text);
    line-height: 1.4;
    margin-bottom: 5px;
}

.rmh-footer .rmh-footer-posts__date {
    font-size: 0.75rem;
    color: #888;
}

.rmh-footer__contact-info {
    margin-top: 15px;
}

.rmh-footer__contact-info p {
    margin-bottom: 8px;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rmh-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--rmh-primary);
}

.rmh-footer__contact-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.rmh-footer__contact-body {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}

.rmh-footer__contact-info a {
    color: var(--rmh-footer-text);
}

.rmh-contact-template-phones__line + .rmh-contact-template-phones__line {
    margin-top: 0.4em;
}

.rmh-footer-module__body p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--rmh-footer-text);
}

/* Footer bottom */
.rmh-footer__bottom {
    background-color: color-mix(in srgb, var(--rmh-footer-bg) 85%, #000);
    padding: 18px 0;
    font-size: 0.8125rem;
}

.rmh-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.rmh-footer__copyright {
    margin: 0;
    color: #999;
}

.rmh-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rmh-footer__social span:first-child {
    color: #999;
    font-size: 0.8125rem;
}

.rmh-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.875rem;
    transition: all var(--rmh-transition);
}

.rmh-footer__social a:hover,
.rmh-footer__social a:focus-visible {
    background-color: var(--rmh-primary);
    color: var(--rmh-white);
}

/* Footer forms */
.rmh-footer .form-control,
.rmh-footer input[type="text"],
.rmh-footer input[type="email"],
.rmh-footer input[type="tel"],
.rmh-footer textarea {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ccc;
    padding: 10px 15px;
    border-radius: var(--rmh-radius);
    width: 100%;
    font-size: 0.875rem;
    margin-bottom: 10px;
    transition: border-color var(--rmh-transition);
}

.rmh-footer .form-control::placeholder,
.rmh-footer input::placeholder,
.rmh-footer textarea::placeholder {
    color: #888;
}

.rmh-footer .form-control:focus,
.rmh-footer input[type="text"]:focus,
.rmh-footer input[type="email"]:focus,
.rmh-footer input[type="tel"]:focus,
.rmh-footer textarea:focus {
    outline: none;
    border-color: var(--rmh-primary);
    background-color: rgba(255, 255, 255, 0.12);
}

.rmh-footer textarea {
    min-height: 80px;
    resize: vertical;
}

.rmh-footer .rmh-word-count {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin: -4px 0 10px;
}

.rmh-footer .rmh-word-count--over {
    color: #ffb4b4;
}

.rmh-footer .rmh-form-error,
.rmh-footer .rmh-contact-form__error {
    color: #ffb4b4;
    font-size: 0.8125rem;
    margin: 0 0 10px;
}

.rmh-footer .rmh-btn--primary {
    width: 100%;
}

/* --------------------------------------------------------------------------
   17. Back to Top
   -------------------------------------------------------------------------- */
.rmh-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--rmh-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--rmh-transition);
    z-index: 999;
    text-decoration: none;
}

.rmh-back-top__inner {
    position: relative;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
}

/* Always-visible white arrow (under the icon font layer) */
.rmh-back-top__svg {
    grid-area: 1 / 1;
    display: block;
    width: 22px;
    height: 22px;
    color: #fff;
    flex-shrink: 0;
}

/* Original Joomla / Font Awesome arrow — kept on top when the font loads */
.rmh-back-top__fa {
    grid-area: 1 / 1;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    line-height: 1;
}

.rmh-back-top__fa::before {
    color: inherit;
}

.rmh-back-top:hover,
.rmh-back-top:focus-visible {
    background-color: var(--rmh-primary-dark);
    color: var(--rmh-white);
    text-decoration: none;
    transform: translateY(-3px);
}

.rmh-back-top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   18. Error Page
   -------------------------------------------------------------------------- */
.rmh-error-page {
    text-align: center;
    padding: 60px 0;
    max-width: 700px;
    margin: 0 auto;
}

.rmh-error-page__code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--rmh-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.rmh-error-page__title {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.rmh-error-page__message {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 30px;
}

.rmh-error-page ul {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
}

.rmh-error-page blockquote {
    background-color: var(--rmh-light-bg);
    padding: 15px 20px;
    border-left: 4px solid var(--rmh-primary);
    border-radius: var(--rmh-radius);
    text-align: left;
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   19. Offline Page
   -------------------------------------------------------------------------- */
.rmh-offline {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--rmh-light-bg);
}

.rmh-offline__wrapper {
    width: 100%;
    max-width: 480px;
    padding: 15px;
}

.rmh-offline__card {
    background: var(--rmh-white);
    border-radius: 8px;
    box-shadow: var(--rmh-shadow);
    overflow: hidden;
}

.rmh-offline__header {
    text-align: center;
    padding: 40px 30px 20px;
    background-color: var(--rmh-primary);
    color: var(--rmh-white);
}

.rmh-offline__header h1 {
    color: var(--rmh-white);
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.rmh-offline__login {
    padding: 30px;
}

.rmh-offline__login label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.875rem;
}

.rmh-offline__login .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--rmh-border);
    border-radius: var(--rmh-radius);
    margin-bottom: 15px;
    font-size: 0.9375rem;
}

.rmh-offline__login .form-control:focus {
    outline: none;
    border-color: var(--rmh-primary);
    box-shadow: 0 0 0 3px rgba(67, 182, 73, 0.15);
}

/* --------------------------------------------------------------------------
   20. Joomla System Overrides
   -------------------------------------------------------------------------- */

/* System messages */
.alert {
    padding: 15px 20px;
    border-radius: var(--rmh-radius);
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-danger,
.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Pagination */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 30px 0;
    gap: 5px;
    justify-content: center;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 5px 12px;
    border: 1px solid var(--rmh-border);
    border-radius: var(--rmh-radius);
    color: var(--rmh-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--rmh-transition);
}

.pagination li a:hover,
.pagination li a:focus-visible {
    background-color: var(--rmh-primary);
    border-color: var(--rmh-primary);
    color: var(--rmh-white);
}

.pagination li.active span {
    background-color: var(--rmh-primary);
    border-color: var(--rmh-primary);
    color: var(--rmh-white);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
}

.badge.bg-secondary {
    background-color: #6c757d;
    color: #fff;
}

/* Forms */
.form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 0.9375rem;
    color: var(--rmh-text);
    background-color: var(--rmh-white);
    border: 1px solid var(--rmh-border);
    border-radius: var(--rmh-radius);
    transition: border-color var(--rmh-transition), box-shadow var(--rmh-transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--rmh-primary);
    box-shadow: 0 0 0 3px rgba(67, 182, 73, 0.15);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--rmh-radius);
    cursor: pointer;
    transition: all var(--rmh-transition);
    text-decoration: none;
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--rmh-primary);
    border-color: var(--rmh-primary);
    color: var(--rmh-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--rmh-primary-dark);
    border-color: var(--rmh-primary-dark);
    color: var(--rmh-white);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: #545b62;
    border-color: #545b62;
    color: #fff;
}

/* Width utility */
.w-100 { width: 100%; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   21. Module Overrides
   -------------------------------------------------------------------------- */
.rmh-module {
    margin-bottom: 30px;
}

.rmh-module:last-child {
    margin-bottom: 0;
}

/* Homepage gallery: Our Team — center avatars + text (global img is display:block) */
.rmh-home-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.rmh-home-team__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    border: 1px solid var(--rmh-border);
    border-radius: 10px;
    background: var(--rmh-white);
}

.rmh-home-team__card img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 0 14px;
    flex-shrink: 0;
}

.rmh-home-team__card h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.rmh-home-team__card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--rmh-primary);
    font-weight: 600;
    line-height: 1.4;
}

/* Legacy Our Team markup (inline grid + text-align only) still in some DBs */
.rmh-section--gallery .rmh-module__body h2.rmh-section__title + p + div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rmh-section--gallery .rmh-module__body h2.rmh-section__title + p + div > div img {
    margin-left: auto;
    margin-right: auto;
}

.rmh-main-top,
.rmh-main-bottom {
    margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   22. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.rmh-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.rmh-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.rmh-reveal-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rmh-reveal-children.is-visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.rmh-reveal-children.is-visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.rmh-reveal-children.is-visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.rmh-reveal-children.is-visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   23. Responsive Design
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 991px) {
    .rmh-hero-slide__inner {
        min-height: 400px;
        max-width: 100%;
    }

    .rmh-hero-slide__image img { max-height: 420px; }

    .rmh-hero-slide__text { padding: 25px 25px; }

    .rmh-hero__title { font-size: 2.25rem; }

    .rmh-welcome {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rmh-welcome__photo-wrap {
        text-align: center;
    }

    .rmh-values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .rmh-therapists {
        grid-template-columns: 1fr;
    }

    .rmh-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rmh-faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rmh-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rmh-content-row.has-sidebar-left,
    .rmh-content-row.has-sidebar-right {
        grid-template-columns: 1fr;
    }

    .rmh-content-row.has-sidebar-left.has-sidebar-right {
        grid-template-columns: 1fr;
    }

    .rmh-section {
        padding: 60px 0;
    }

    .rmh-section__title {
        font-size: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

/* Mobile */
@media (max-width: 767px) {
    .rmh-topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .rmh-topbar__left,
    .rmh-topbar__right {
        justify-content: center;
        width: 100%;
    }

    .rmh-nav-toggle {
        display: flex;
    }

    .rmh-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--rmh-white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 15px;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
    }

    .rmh-nav.is-open {
        display: flex;
    }

    .rmh-nav .nav,
    .rmh-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .rmh-nav .nav > li > a,
    .rmh-nav > ul > li > a {
        padding: 12px 15px;
        border-bottom: 1px solid var(--rmh-border);
        width: 100%;
    }

    .rmh-nav .nav > li > ul,
    .rmh-nav .nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        display: none;
    }

    .rmh-nav .nav > li.is-dropdown-open > ul,
    .rmh-nav .nav > li.is-dropdown-open > .dropdown-menu {
        display: flex;
    }

    .rmh-header__inner {
        flex-wrap: wrap;
        min-height: 60px;
    }

    .rmh-header__cta {
        display: none;
    }

    .rmh-hero-slide__inner {
        flex-direction: column;
        min-height: auto;
    }

    .rmh-hero-slide__image { flex: none; max-width: 100%; width: 100%; }
    .rmh-hero-slide__image img { height: 320px; }

    .rmh-hero--img-left .rmh-hero-slide__image,
    .rmh-hero--img-right .rmh-hero-slide__image { order: 1; }
    .rmh-hero--img-left .rmh-hero-slide__text,
    .rmh-hero--img-right .rmh-hero-slide__text { order: 2; margin-left: 0; }

    .rmh-hero-slide__text {
        padding: 25px 20px 35px;
        text-align: center;
        max-width: 100%;
    }

    .rmh-hero__title { font-size: 1.75rem; }
    .rmh-hero__subtitle { font-size: 0.85rem; }

    .rmh-services-grid {
        grid-template-columns: 1fr;
    }

    .rmh-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .rmh-feature-list {
        grid-template-columns: 1fr;
    }

    .rmh-section {
        padding: 40px 0;
    }

    .rmh-section__title {
        font-size: 1.75rem;
    }

    .rmh-footer__grid {
        grid-template-columns: 1fr;
    }

    .rmh-footer__bottom-inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .rmh-error-page__code {
        font-size: 5rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

/* Small mobile */
@media (max-width: 480px) {
    .rmh-topbar__item {
        font-size: 0.75rem;
    }

    .rmh-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* --------------------------------------------------------------------------
   24. Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .rmh-topbar,
    .rmh-header,
    .rmh-hero,
    .rmh-footer,
    .rmh-back-top,
    .rmh-nav-toggle,
    .rmh-skip-link {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }

    .rmh-content-area {
        padding: 0;
    }

    .rmh-content-row {
        grid-template-columns: 1fr !important;
    }
}

/* --------------------------------------------------------------------------
   25. Accessibility Enhancements
   -------------------------------------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--rmh-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .rmh-reveal {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-color-scheme: dark) {
    /* Respect system preference but only for specific elements */
}

/* High contrast mode support */
@media (forced-colors: active) {
    .rmh-btn,
    .rmh-back-top,
    .rmh-nav-toggle__bar {
        border: 1px solid ButtonText;
    }
}

/* --------------------------------------------------------------------------
   26. About Page
   -------------------------------------------------------------------------- */
.rmh-about-page {
    max-width: 100%;
    margin: 0;
}

/* Page Banner – full-bleed photo + overlay (base layout; image per page below) */
.rmh-page-banner {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -30px;
    margin-bottom: 50px;
    padding: 72px 28px;
    text-align: center;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2d3a32;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.rmh-about-page > .rmh-page-banner {
    background-image:
        linear-gradient(
            120deg,
            rgba(18, 32, 24, 0.78) 0%,
            rgba(35, 58, 42, 0.5) 42%,
            rgba(22, 38, 28, 0.82) 100%
        ),
        var(--rmh-ng-page-banner-about);
    /* Ultra-wide + short strip + cover = a thin horizontal slice; top-anchoring hid chins.
       Taller band + vertical bias toward mid-face keeps eyes–mouth in frame. */
    background-position: center center, center 42%;
    background-size: cover, cover;
    min-height: clamp(360px, 42vh, 520px);
    padding: 88px 28px 96px;
}

.rmh-services-page > .rmh-page-banner {
    background-image:
        linear-gradient(
            120deg,
            rgba(18, 32, 24, 0.78) 0%,
            rgba(35, 58, 42, 0.52) 45%,
            rgba(22, 38, 28, 0.82) 100%
        ),
        var(--rmh-ng-page-banner-services);
    background-position: center 42%;
}

.rmh-contact-page > .rmh-page-banner {
    background-image:
        linear-gradient(
            120deg,
            rgba(18, 32, 24, 0.78) 0%,
            rgba(35, 58, 42, 0.5) 42%,
            rgba(22, 38, 28, 0.82) 100%
        ),
        var(--rmh-ng-page-banner-contact);
    background-position: center 38%;
}

.rmh-page-banner h2 {
    color: var(--rmh-white);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.rmh-page-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin: 0;
    max-width: 640px;
    line-height: 1.5;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

/* Intro */
.rmh-about-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.rmh-about-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}

/* Split Section: Who We Are + Stats */
.rmh-about-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.rmh-about-split__text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rmh-heading);
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 16px;
}

.rmh-about-split__text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--rmh-primary);
    border-radius: 2px;
}

.rmh-about-split__text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--rmh-text);
    margin-bottom: 14px;
}

.rmh-about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.rmh-about-badge {
    display: inline-block;
    padding: 6px 16px;
    background: color-mix(in srgb, var(--rmh-primary) 8%, white);
    color: var(--rmh-primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* Stats sidebar */
.rmh-about-split__side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rmh-about-stat {
    background: var(--rmh-primary);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
}

.rmh-about-stat__num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--rmh-white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.rmh-about-stat__label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Treatment Modalities */
.rmh-about-treatments {
    max-width: 1000px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.rmh-about-treatments__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.rmh-about-treatments__intro h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rmh-heading);
    margin: 0 0 14px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.rmh-about-treatments__intro h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--rmh-primary);
    border-radius: 2px;
}

.rmh-about-treatments__intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.rmh-about-treatments__subhead {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 20px;
    text-align: center;
}

.rmh-about-treatments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rmh-treatment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--rmh-white);
    border: 1px solid var(--rmh-border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--rmh-text);
    transition: var(--rmh-transition);
}

.rmh-treatment-item:hover {
    border-color: var(--rmh-primary);
    background: color-mix(in srgb, var(--rmh-primary) 3%, white);
}

.rmh-treatment-item span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rmh-primary);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .rmh-about-treatments__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .rmh-about-treatments__grid {
        grid-template-columns: 1fr;
    }
}

/* Mission / Vision */
.rmh-about-mvv-section {
    background: var(--rmh-light-bg);
    padding: 60px 20px;
    margin-bottom: 60px;
}

.rmh-about-mvv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.rmh-about-mvv-block {
    background: var(--rmh-white);
    border-radius: 10px;
    padding: 36px 30px;
    position: relative;
    border-top: 4px solid var(--rmh-primary);
}

.rmh-about-mvv-num {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: color-mix(in srgb, var(--rmh-primary) 15%, white);
    margin-bottom: 12px;
    line-height: 1;
}

.rmh-about-mvv-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 12px;
}

.rmh-about-mvv-block p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Core Values */
.rmh-about-values-section {
    max-width: 1000px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

/* Same divider as rest of site (.rmh-section__title — line + diamond) */
.rmh-about-values-section > .rmh-section__title,
.rmh-about-team-section > .rmh-section__title {
    margin-bottom: 36px;
}

.rmh-about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rmh-about-vcard {
    text-align: center;
    padding: 30px 18px;
    border-radius: 10px;
    background: var(--rmh-white);
    border: 1px solid var(--rmh-border);
    transition: var(--rmh-transition);
}

.rmh-about-vcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--rmh-shadow);
}

.rmh-about-vcard__letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--rmh-primary);
    color: var(--rmh-white);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.rmh-about-vcard h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 8px;
}

.rmh-about-vcard p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* CEO feature (photo + bio + stats) — Nigeria About, matches US site layout */
.rmh-about-ceo-feature {
    display: grid;
    grid-template-columns: minmax(260px, 480px) 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto 64px;
    padding: 0 20px;
}

.rmh-about-ceo-feature__photo {
    margin: 0;
}

.rmh-about-ceo-feature__photo-frame {
    background: var(--rmh-white);
    padding: 12px 12px 16px;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-width: 100%;
}

.rmh-about-ceo-feature__photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.rmh-about-ceo-feature__photo figcaption {
    margin-top: 14px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--rmh-heading);
}

.rmh-about-ceo-feature__photo figcaption strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
}

.rmh-about-ceo-feature__photo figcaption span {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: #666;
    font-weight: 500;
}

.rmh-about-ceo-feature__name {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 6px;
    line-height: 1.25;
}

.rmh-about-ceo-feature__role {
    margin: 0 0 22px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4a3d6b;
}

.rmh-about-ceo-feature__body p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--rmh-text);
    margin: 0 0 14px;
}

@media (max-width: 900px) {
    .rmh-about-ceo-feature {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .rmh-about-ceo-feature__photo-frame {
        max-width: min(100%, 520px);
        margin: 0 auto;
    }
}

/* Leadership */
.rmh-about-leader {
    display: flex;
    max-width: 1000px;
    margin: 0 auto 70px;
    padding: 0 20px;
    gap: 0;
}

.rmh-about-leader__accent {
    width: 6px;
    flex-shrink: 0;
    background: var(--rmh-primary);
    border-radius: 3px;
}

.rmh-about-leader__content {
    background: var(--rmh-light-bg);
    padding: 40px;
    border-radius: 0 10px 10px 0;
    flex: 1;
}

.rmh-about-leader__tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--rmh-primary);
    color: var(--rmh-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 3px;
    margin-bottom: 16px;
}

.rmh-about-leader__content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 4px;
}

.rmh-about-leader__title {
    font-size: 0.95rem;
    color: var(--rmh-primary);
    font-weight: 600;
    margin: 0 0 20px;
}

.rmh-about-leader__content blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.rmh-about-leader__content blockquote p {
    font-size: 0.93rem;
    line-height: 1.8;
    color: var(--rmh-text);
    margin-bottom: 12px;
    font-style: italic;
}

/* Team */
.rmh-about-team-section {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.rmh-about-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.rmh-about-team-member {
    background: var(--rmh-white);
    border: 1px solid var(--rmh-border);
    border-radius: 10px;
    padding: 30px;
    transition: var(--rmh-transition);
}

.rmh-about-team-member:hover {
    box-shadow: var(--rmh-shadow);
    border-color: var(--rmh-primary);
}

.rmh-about-team-member__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rmh-border);
}

.rmh-about-team-member__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rmh-primary);
    color: var(--rmh-white);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rmh-about-team-member__photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.rmh-about-team-member__top h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 2px;
}

.rmh-about-team-member__top span {
    font-size: 0.82rem;
    color: var(--rmh-primary);
    font-weight: 600;
}

.rmh-about-team-member p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--rmh-text);
    margin-bottom: 10px;
}

.rmh-about-team-member__loc {
    display: inline-block;
    padding: 5px 14px;
    background: color-mix(in srgb, var(--rmh-primary) 7%, white);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--rmh-primary);
    font-weight: 600;
    margin-top: 6px;
}

/* Bottom CTA */
.rmh-about-bottom-cta {
    background: var(--rmh-primary);
    padding: 60px 20px;
    margin: 0 -50px -20px;
}

.rmh-about-bottom-cta__inner {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.rmh-about-bottom-cta h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rmh-white);
    margin: 0 0 12px;
}

.rmh-about-bottom-cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 28px;
    line-height: 1.7;
}

.rmh-about-bottom-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rmh-abtn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--rmh-transition);
}

.rmh-abtn--filled {
    background: var(--rmh-white);
    color: var(--rmh-primary);
}

.rmh-abtn--filled:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.rmh-abtn--outline {
    background: transparent;
    color: var(--rmh-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.rmh-abtn--outline:hover {
    border-color: var(--rmh-white);
    background: rgba(255, 255, 255, 0.1);
}

/* About Page Responsive */
@media (max-width: 991px) {
    .rmh-about-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rmh-about-split__side {
        flex-direction: row;
    }

    .rmh-about-stat {
        flex: 1;
    }

    .rmh-about-mvv-row {
        grid-template-columns: 1fr;
    }

    .rmh-about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rmh-about-team-grid {
        grid-template-columns: 1fr;
    }

    .rmh-about-leader__content {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .rmh-about-page > .rmh-page-banner {
        min-height: clamp(300px, 48vh, 440px);
        background-position: center center, center 40%;
    }

    .rmh-page-banner {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: -20px;
        margin-bottom: 30px;
        padding: 40px 16px;
    }

    .rmh-page-banner h2 {
        font-size: 1.8rem;
    }

    .rmh-about-split__side {
        flex-direction: column;
    }

    .rmh-about-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rmh-about-leader {
        flex-direction: column;
    }

    .rmh-about-leader__accent {
        width: 100%;
        height: 6px;
        border-radius: 3px 3px 0 0;
    }

    .rmh-about-leader__content {
        border-radius: 0 0 10px 10px;
        padding: 24px 20px;
    }

    .rmh-about-bottom-cta {
        margin: 0 -20px -20px;
        padding: 40px 16px;
    }

    .rmh-about-bottom-cta h3 {
        font-size: 1.4rem;
    }
}

/* --------------------------------------------------------------------------
   27. Crisis support banner (Nigeria site)
   -------------------------------------------------------------------------- */
.rmh-crisis-banner {
    background: #f0faf0;
    border-top: 3px solid #43b649;
    border-bottom: 3px solid #43b649;
    padding: 30px 0;
}

.rmh-crisis-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.rmh-crisis-banner__text {
    text-align: center;
}

.rmh-crisis-banner__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 6px;
}

.rmh-crisis-banner__sub {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.rmh-crisis-banner__sub strong {
    font-size: 1.3rem;
    color: var(--rmh-heading);
}

.rmh-crisis-banner__tel {
    color: var(--rmh-primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.rmh-crisis-banner__tel:hover,
.rmh-crisis-banner__tel:focus-visible {
    text-decoration: underline;
}

.rmh-crisis-banner__logo {
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.rmh-crisis-banner__logo:hover {
    transform: scale(1.03);
}

.rmh-crisis-banner__logo img {
    display: block;
    max-width: 260px;
    height: auto;
}

.rmh-crisis-banner__logo--ng img {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .rmh-crisis-banner__inner {
        flex-direction: column;
        gap: 20px;
    }

    .rmh-crisis-banner__heading {
        font-size: 1.1rem;
    }

    .rmh-crisis-banner__logo img {
        max-width: 220px;
    }
}

/* --------------------------------------------------------------------------
   27. Contact Page
   -------------------------------------------------------------------------- */
.rmh-contact-page {
    max-width: 1100px;
    margin: 0 auto;
}

.rmh-contact-hero__tagline {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.rmh-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Contact Info - clean icon list */
.rmh-contact-info {
    padding: 10px 0;
}

.rmh-ci-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rmh-ci-item:last-child {
    border-bottom: none;
}

.rmh-ci-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rmh-ci-icon svg {
    display: block;
}

.rmh-ci-icon [class^="icon-"] {
    font-size: 2.2rem;
    color: var(--rmh-primary);
}

.rmh-ci-text {
    padding-top: 2px;
}

.rmh-ci-text h3 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rmh-heading);
}

.rmh-ci-text p {
    margin: 0;
    color: var(--rmh-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rmh-ci-text a {
    color: var(--rmh-text);
    text-decoration: none;
}

.rmh-ci-text a:hover {
    color: var(--rmh-primary);
}

/* Contact Form */
.rmh-contact-form-wrap {
    align-self: start;
}

.rmh-contact-form-wrap h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rmh-heading);
    margin: 0 0 12px;
}

.rmh-contact-form__intro {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 16px;
}

.rmh-contact-form__insurance {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 28px;
}

.rmh-form-group {
    margin-bottom: 14px;
}

.rmh-form-group input,
.rmh-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--rmh-font-body);
    font-size: 0.9rem;
    color: var(--rmh-text);
    background: var(--rmh-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.rmh-form-group input:focus,
.rmh-form-group textarea:focus {
    outline: none;
    border-color: var(--rmh-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rmh-primary) 12%, transparent);
}

.rmh-form-group input::placeholder,
.rmh-form-group textarea::placeholder {
    color: #aaa;
}

.rmh-form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.rmh-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rmh-hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.rmh-form-error,
.rmh-contact-form__error {
    color: #b00020;
    font-size: 0.875rem;
    margin: 0 0 12px;
    line-height: 1.4;
}

.rmh-form-error[hidden],
.rmh-contact-form__error[hidden] {
    display: none !important;
}

.rmh-word-count {
    display: block;
    font-size: 0.75rem;
    color: #777;
    margin-top: 6px;
}

.rmh-word-count--over {
    color: #b00020;
    font-weight: 600;
}

.rmh-form-group input.rmh-input-invalid,
.rmh-form-group textarea.rmh-input-invalid {
    border-color: #b00020 !important;
}

.rmh-contact-submit {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: var(--rmh-primary);
    color: var(--rmh-white);
    transition: var(--rmh-transition);
    text-transform: none;
    letter-spacing: 0;
}

.rmh-contact-submit:hover {
    background: var(--rmh-primary-dark);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--rmh-primary) 30%, transparent);
}

/* Contact Page Responsive */
@media (max-width: 991px) {
    .rmh-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .rmh-contact-hero__tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .rmh-ci-icon {
        width: 44px;
        height: 44px;
    }

    .rmh-ci-icon [class^="icon-"] {
        font-size: 1.8rem;
    }
}

