/* ==========================================================================
   ORMA DEMENTIA CARE RESEARCH & DEVELOPMENT CENTRE
   Design System & Main Stylesheet
   Art Direction: Contemporary Editorial Healthcare & Compassionate Social Care
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Brand Palette — Light Lavender Theme */
    --orma-deep-lavender: #352555;
    --orma-primary-lavender: #6B4E9B;
    --orma-primary-lavender-dark: #563B82;
    --orma-primary-lavender-light: #8E6FBE;
    --orma-primary-lavender-bright: #C4B0E8;
    --orma-soft-lavender: #F2EEFA;
    --orma-soft-lavender-subtle: #F8F6FD;
    --orma-warm-cream: #FAF8F5;
    --orma-warm-cream-alt: #F4EFEA;
    --orma-muted-gold: #855DD4;
    --orma-muted-gold-light: #C4B0E8;
    --orma-brand-maroon: #9F1018;
    --orma-brand-maroon-soft: #FCEDEE;

    /* Backward-Compatible Token Mappings (Teal -> Lavender) */
    --orma-deep-teal: var(--orma-deep-lavender);
    --orma-primary-teal: var(--orma-primary-lavender);
    --orma-primary-teal-dark: var(--orma-primary-lavender-dark);
    --orma-primary-teal-light: var(--orma-primary-lavender-light);
    --orma-soft-teal: var(--orma-soft-lavender);
    --orma-soft-teal-subtle: var(--orma-soft-lavender-subtle);

    /* Typography Colors */
    --orma-text-primary: #2A2338;
    --orma-text-secondary: #5C536B;
    --orma-text-muted: #5A5269;
    --orma-text-light: #FAF8F5;
    --orma-white: #FFFFFF;

    /* Surface & Border Colors */
    --orma-surface-card: #FFFFFF;
    --orma-border-subtle: rgba(107, 78, 155, 0.12);
    --orma-border-medium: rgba(107, 78, 155, 0.22);
    --orma-border-gold: rgba(133, 93, 212, 0.35);

    /* Shadows */
    --orma-shadow-sm: 0 2px 8px rgba(53, 37, 85, 0.04);
    --orma-shadow-md: 0 10px 30px -10px rgba(53, 37, 85, 0.08), 0 4px 6px -2px rgba(53, 37, 85, 0.03);
    --orma-shadow-lg: 0 20px 45px -15px rgba(53, 37, 85, 0.12), 0 8px 16px -4px rgba(53, 37, 85, 0.04);
    --orma-shadow-lift: 0 18px 36px -12px rgba(53, 37, 85, 0.16);

    /* Border Radius */
    --orma-radius-sm: 0.5rem;
    --orma-radius-md: 0.875rem;
    --orma-radius-lg: 1.25rem;
    --orma-radius-xl: 1.75rem;
    --orma-radius-pill: 50rem;

    /* Typography Stack — Oxygen (Light for Content, Bold for Headings) */
    --font-oxygen: "Oxygen", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: var(--font-oxygen);
    --font-sans: var(--font-oxygen);
    --font-oswald: "Oswald", sans-serif;
    /* Transitions */
    --orma-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --orma-transition-slow: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    /* Oxygen (light) for content */
    color: var(--orma-text-primary);
    background-color: var(--orma-warm-cream);
    line-height: 1.68;
    letter-spacing: 0.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Skip Link for Keyboard Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--orma-deep-teal);
    color: var(--orma-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--orma-radius-md) var(--orma-radius-md);
    z-index: 99999;
    font-weight: 500;
    text-decoration: none;
    transition: top 0.2s ease-in-out;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--orma-muted-gold);
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--orma-primary-teal) !important;
    outline-offset: 3px !important;
}

/* Selection Color */
::selection {
    background-color: var(--orma-text-muted);
    color: var(--orma-surface-card);
}

/* --------------------------------------------------------------------------
   3. Typography Hierarchy (Editorial & Accessible)
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-family: var(--font-serif);
    color: var(--orma-deep-teal);
    font-weight: 500;
    /* Oxygen bold for headings */
    line-height: 1.25;
    letter-spacing: 0.015em;
    margin-top: 0;
}

h1,
.display-1 {
    font-size: clamp(2.25rem, 3.8vw + 1rem, 3.75rem);
    line-height: 1.16;
}

h2,
.display-2 {
    font-size: clamp(1.55rem, 2.5vw + 0.8rem, 2.75rem);
    line-height: 1.22;
}

h3 {
    font-size: clamp(1.3rem, 1.6vw + 0.6rem, 1.35rem);
}

h4 {
    font-size: 1.28rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--orma-text-secondary);
    font-weight: 300;
    /* Oxygen light */
}

p.lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--orma-text-primary);
    font-weight: 300;
    /* Oxygen light */
}

.text-editorial {
    font-size: 1.1rem;
    max-width: 100%;
    color: var(--orma-text-primary);
    font-weight: 300;
    /* Oxygen light */
}

.text-center .text-editorial,
.text-editorial.text-center,
.text-editorial.mx-auto {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

small,
.small {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--orma-deep-lavender) !important;
}

.text-muted {
    color: var(--orma-deep-lavender) !important;
    font-weight: 400;
}

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

a:hover {
    color: var(--orma-deep-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn-orma-primary {
    background-color: var(--orma-deep-teal);
    color: var(--orma-white) !important;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 0.5rem 1rem;
    border-radius: var(--orma-radius-pill);
    border: 1.5px solid var(--orma-deep-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: var(--orma-transition);
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(53, 37, 85, 0.22);
    cursor: pointer;
}

.btn-orma-primary:hover {
    background-color: var(--orma-primary-teal);
    border-color: var(--orma-primary-teal);
    color: var(--orma-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--orma-shadow-lift);
}

.btn-orma-secondary {
    background-color: transparent;
    color: var(--orma-deep-teal) !important;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 0.82rem 1.75rem;
    border-radius: var(--orma-radius-pill);
    border: 1.5px solid var(--orma-primary-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: var(--orma-transition);
    text-decoration: none !important;
    cursor: pointer;
}

.btn-orma-secondary:hover {
    background-color: var(--orma-soft-teal);
    color: var(--orma-deep-teal) !important;
    transform: translateY(-2px);
}

.btn-orma-gold,
.btn-orma-purple {
    background-color: #855DD4;
    color: var(--orma-white) !important;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 0.82rem 1.75rem;
    border-radius: var(--orma-radius-pill);
    border: 1.5px solid #855DD4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: var(--orma-transition);
    box-shadow: 0 4px 14px rgba(133, 93, 212, 0.35);
    cursor: pointer;
    text-decoration: none !important;
}

.btn-orma-gold:hover,
.btn-orma-purple:hover {
    background-color: #7248C7;
    border-color: #7248C7;
    color: var(--orma-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(133, 93, 212, 0.45);
}

.btn-orma-white {
    background-color: var(--orma-white);
    color: var(--orma-deep-teal) !important;
    font-weight: 500;
    padding: 0.82rem 1.75rem;
    border-radius: var(--orma-radius-pill);
    border: 1.5px solid var(--orma-white);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: var(--orma-transition);
    cursor: pointer;
}

.btn-orma-white:hover {
    background-color: var(--orma-soft-teal);
    border-color: var(--orma-soft-teal);
    transform: translateY(-2px);
}

/* Helper Color Classes for Inline SVGs & Text */
.text-gold {
    color: #855DD4 !important;
}

.site-footer .text-gold,
.bg-deep-lavender .text-gold {
    color: #C4B0E8 !important;
}

.text-teal,
.text-lavender {
    color: var(--orma-primary-lavender) !important;
}

.text-deep-teal,
.text-deep-lavender {
    color: var(--orma-deep-lavender) !important;
}

.bg-gold {
    background-color: #855DD4 !important;
}

.bg-soft-teal,
.bg-soft-lavender {
    background-color: var(--orma-soft-lavender) !important;
}

.bg-deep-teal,
.bg-deep-lavender {
    background-color: #4A3572 !important;
    background-image: 
        radial-gradient(circle at 85% 15%, rgba(133, 93, 212, 0.38) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(107, 78, 155, 0.28) 0%, transparent 50%),
        radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px),
        linear-gradient(135deg, #533C7E 0%, #3D2A60 50%, #46316D 100%) !important;
    background-size: auto, auto, 24px 24px, auto !important;
    color: var(--orma-white) !important;
}

.svg-icon {
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
}

/* Ensure icons inside colored elements inherit correct strokes */
.top-notice-bar svg {
    color: var(--orma-muted-gold-light);
    stroke: currentColor;
}

.btn-orma-primary svg {
    color: var(--orma-white) !important;
    stroke: currentColor;
}

.btn-orma-secondary svg {
    color: var(--orma-primary-teal) !important;
    stroke: currentColor;
}

.footer-contact-item svg {
    color: var(--orma-muted-gold-light) !important;
    stroke: currentColor;
}


/* --------------------------------------------------------------------------
   5. Eyebrows, Badges & Pills
   -------------------------------------------------------------------------- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--orma-soft-teal);
    color: var(--orma-deep-lavender);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    /* letter-spacing: 0.08em; */
    /* text-transform: uppercase; */
    padding: 0.35rem 0.95rem;
    border-radius: var(--orma-radius-pill);
    border: 1px solid rgba(107, 78, 155, 0.16);
    margin-bottom: 1rem;
}

.section-badge-gold {
    background-color: #F3EEFA;
    color: #855DD4;
    border-color: rgba(133, 93, 212, 0.35);
}

.section-badge-maroon {
    background-color: var(--orma-brand-maroon-soft);
    color: var(--orma-brand-maroon);
    border-color: rgba(159, 16, 24, 0.2);
}

/* --------------------------------------------------------------------------
   6. Header, Top Bar & Navigation
   -------------------------------------------------------------------------- */
.top-notice-bar {
    background-color: #FAF8FD;
    color: var(--orma-deep-lavender);
    font-size: 0.82rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #ECE6F6;
}

.top-notice-bar a {
    color: #352555;
    text-decoration: none;
    font-weight: 500;
    transition: var(--orma-transition);
}

.top-notice-bar a:hover {
    color: var(--orma-primary-teal);
    text-decoration: none;
}

.site-header {
    background-color: #FFFFFF;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid rgba(107, 78, 155, 0.08);
    box-shadow: 0 4px 20px rgba(53, 37, 85, 0.03);
    transition: all 0.3s ease;
}

.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(53, 37, 85, 0.06);
}

.brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none !important;
    vertical-align: middle;
}

.brand-logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-subtext {
    font-family: var(--font-oswald);
    font-size: 1.1rem;
    font-weight: 300 !important;
    color: var(--orma-deep-lavender);
    letter-spacing: 0.03em;
    margin-top: 2px;
    line-height: 1.2;
    white-space: nowrap;
    display: block;
    transition: color 0.2s ease;
}

.brand-lockup:hover .brand-subtext {
    color: var(--orma-primary-teal-dark);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--orma-deep-teal);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.brand-subtitle {
    font-size: 0.80rem;
    color: var(--orma-text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

/* Main Navigation Links */
.navbar-nav .nav-link {
    font-family: var(--font-sans);
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--orma-text-primary);
    padding: 0.6rem 0.7rem !important;
    border-radius: var(--orma-radius-sm);
    transition: var(--orma-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

/* Eliminate duplicate dropdown arrow: hide Bootstrap's default ::after caret */
.navbar-nav .dropdown-toggle::after,
.dropdown-toggle::after {
    display: none !important;
}

.nav-chevron {
    display: inline-flex;
    align-items: center;
    color: var(--orma-text-muted);
    transition: transform 0.2s ease;
}

.dropdown.show .nav-chevron,
.nav-link.show .nav-chevron {
    transform: rotate(180deg);
    color: var(--orma-primary-teal);
}

.navbar-nav .nav-link:hover {
    color: var(--orma-primary-teal);
    background-color: var(--orma-soft-teal);
}

.navbar-nav .nav-link.active {
    color: var(--orma-deep-teal);
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    background-color: var(--orma-primary-teal);
    border-radius: 2px;
}


/* Custom Dropdown Menus */
.dropdown-menu {
    border: 1px solid var(--orma-border-subtle);
    border-radius: var(--orma-radius-md);
    box-shadow: var(--orma-shadow-lg);
    padding: 0.65rem 0;
    background-color: var(--orma-white);
    min-width: 250px;
    margin-top: 0.4rem;
    animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--orma-text-primary);
    padding: 0.6rem 1.25rem;
    transition: var(--orma-transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--orma-soft-teal);
    color: var(--orma-deep-teal);
    padding-left: 1.45rem;
}

.dropdown-item.active {
    background-color: var(--orma-soft-teal);
    color: var(--orma-deep-teal);
    font-weight: 500;
}

/* Header Action CTA */
.header-cta-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-phone-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--orma-deep-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--orma-radius-sm);
    text-decoration: none !important;
}

.header-phone-link:hover {
    background-color: var(--orma-soft-teal);
    color: var(--orma-primary-teal);
}

/* Mobile Offcanvas Custom Styling */
.offcanvas {
    background-color: var(--orma-warm-cream);
    border-left: 1px solid var(--orma-border-subtle);
    width: 320px !important;
}

.offcanvas-header {
    border-bottom: 1px solid var(--orma-border-subtle);
    padding: 1.25rem 1.5rem;
}

.offcanvas-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(107, 78, 155, 0.08);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--orma-deep-teal);
    text-decoration: none !important;
    border-radius: var(--orma-radius-sm);
}

.mobile-nav-link:hover {
    color: var(--orma-primary-teal);
    background-color: var(--orma-soft-teal);
}

.mobile-submenu {
    list-style: none;
    padding: 0.25rem 0 0.75rem 1rem;
    margin: 0;
}

.mobile-sub-link {
    display: block;
    padding: 0.45rem 0.5rem;
    font-size: 0.92rem;
    color: var(--orma-text-secondary);
    text-decoration: none !important;
}

.mobile-sub-link:hover {
    color: var(--orma-deep-teal);
}

/* --------------------------------------------------------------------------
   7. Hero Section (Editorial Asymmetrical Layout)
   -------------------------------------------------------------------------- */
.hero-editorial {
    position: relative;
    padding: clamp(3.5rem, 5vw + 1rem, 5.5rem) 0 clamp(4rem, 6vw + 1rem, 6rem);
    background: #FFFFFF;
    overflow: hidden;
    border-bottom: 1px solid #ECE6F6;
}

.hero-editorial::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    height: 100%;
    background: linear-gradient(135deg, #F3EEFA 0%, #E6DCF5 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .hero-editorial::before {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
        clip-path: none;
        opacity: 0.5;
    }
}

.hero-editorial-left {
    position: relative;
    z-index: 2;
}

.hero-editorial-right {
    position: relative;
    z-index: 2;
}

/* Distinctive Rotated Diamond Hero Visual (Client Template Pattern) */
.hero-diamond-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-diamond-outer-border {
    position: absolute;
    width: 430px;
    height: 430px;
    transform: rotate(45deg);
    border-radius: 40px;
    border: 3px solid var(--orma-primary-teal);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 60px -15px rgba(53, 37, 85, 0.22);
    z-index: 1;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.hero-diamond-frame {
    position: relative;
    width: 390px;
    height: 390px;
    transform: rotate(45deg);
    border-radius: 34px;
    overflow: hidden;
    border: 4px solid #FFFFFF;
    background-color: var(--orma-soft-teal);
    box-shadow: 0 15px 35px -5px rgba(53, 37, 85, 0.15);
    z-index: 2;
}

.hero-diamond-frame img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 145%;
    height: 145%;
    object-fit: cover;
    transform: translate(-50%, -50%) rotate(-45deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-diamond-wrapper:hover .hero-diamond-frame img {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.05);
}

.hero-diamond-wrapper:hover .hero-diamond-outer-border {
    transform: rotate(45deg) scale(1.02);
    border-color: var(--orma-muted-gold);
}

@media (max-width: 575.98px) {
    .hero-diamond-wrapper {
        width: 290px;
        height: 290px;
    }

    .hero-diamond-outer-border {
        width: 300px;
        height: 300px;
        border-radius: 30px;
    }

    .hero-diamond-frame {
        width: 270px;
        height: 270px;
        border-radius: 26px;
    }
}

/* Quick Action / Search Pill Bar (Template Style) */
.hero-quick-action-bar {
    max-width: 530px;
}

.hero-search-pill-box {
    background: #FFFFFF;
    border: 1.5px solid #E2D7F0;
    border-radius: 50px;
    padding: 0.35rem 0.4rem 0.35rem 1.25rem;
    box-shadow: 0 8px 25px -5px rgba(53, 37, 85, 0.08);
    transition: all 0.3s ease;
}

.hero-search-pill-box:focus-within {
    border-color: var(--orma-primary-teal);
    box-shadow: 0 10px 30px -5px rgba(107, 78, 155, 0.18);
}

/* 4 Trust Circles (Template 4-dot reference) */
.hero-trust-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.15rem;
}

.hero-trust-dot-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orma-soft-teal);
    color: var(--orma-primary-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(107, 78, 155, 0.15);
    font-size: 0.85rem;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-trust-icon-circle svg {
    width: 16px;
    height: 16px;
    color: var(--orma-primary-teal);
}

.hero-trust-dot-item:hover .hero-trust-icon-circle {
    transform: translateY(-2px);
    background: var(--orma-primary-teal);
    color: #FFFFFF;
}

.hero-trust-dot-item:hover .hero-trust-icon-circle svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.hero-floating-pill {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--orma-radius-md);
    box-shadow: 0 10px 25px rgba(53, 37, 85, 0.12);
    border: 1px solid rgba(107, 78, 155, 0.12);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hero-floating-pill .pill-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--orma-radius-pill);
    background-color: var(--orma-soft-teal);
    color: var(--orma-primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-floating-pill .pill-text {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--orma-deep-teal);
    line-height: 1.35;
}

.hero-floating-pill .pill-sub {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--orma-text-secondary);
}

/* --------------------------------------------------------------------------
   8. Cards, Sections & Editorial Grid
   -------------------------------------------------------------------------- */
.section-padding {
    padding: clamp(3.5rem, 6vw + 1rem, 4rem) 0;
}

.section-padding-sm {
    padding: clamp(2.5rem, 4vw + 1rem, 3.5rem) 0;
}

.bg-warm-cream {
    background-color: var(--orma-warm-cream);
}

.bg-soft-teal {
    background-color: var(--orma-soft-teal);
}

.bg-white {
    background-color: var(--orma-white);
}

.bg-deep-teal,
.bg-deep-lavender {
    background-color: #4A3572 !important;
    background-image: 
        radial-gradient(circle at 85% 15%, rgba(133, 93, 212, 0.38) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(107, 78, 155, 0.28) 0%, transparent 50%),
        radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px),
        linear-gradient(135deg, #533C7E 0%, #3D2A60 50%, #46316D 100%) !important;
    background-size: auto, auto, 24px 24px, auto !important;
    color: var(--orma-white) !important;
}

.bg-deep-teal h1,
.bg-deep-teal h2,
.bg-deep-teal h3,
.bg-deep-teal h4,
.bg-deep-teal .font-serif,
.bg-deep-lavender h1,
.bg-deep-lavender h2,
.bg-deep-lavender h3,
.bg-deep-lavender h4,
.bg-deep-lavender .font-serif {
    color: var(--orma-white) !important;
}

.bg-deep-teal p,
.bg-deep-lavender p {
    color: rgba(255, 255, 255, 1) !important;
    font-size: 1.1rem;
}

/* Editorial Card */
.editorial-card {
    background-color: var(--orma-surface-card);
    border-radius: var(--orma-radius-lg);
    border: 1px solid var(--orma-border-subtle);
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    box-shadow: var(--orma-shadow-sm);
    transition: var(--orma-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure editorial cards that have siblings inside a column or are marked auto adapt naturally */
.editorial-card:not(:only-child),
.editorial-card.editorial-card--auto {
    height: auto;
}

.editorial-card:hover,
.editorial-card.is-hovered {
    transform: translateY(-4px);
    box-shadow: var(--orma-shadow-md);
    border-color: var(--orma-primary-teal);
}

.editorial-card .card-icon-wrap {
    width: 55px;
    height: 55px;
    border-radius: var(--orma-radius-md);
    background-color: var(--orma-soft-teal);
    color: var(--orma-primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(107, 78, 155, 0.14);
}

.editorial-card .card-icon-wrap svg {
    color: var(--orma-primary-teal);
    stroke: currentColor;
    transition: all 0.3s ease;
}

.editorial-card:hover .card-icon-wrap,
.editorial-card.is-hovered .card-icon-wrap,
.editorial-card:focus-within .card-icon-wrap,
.card-icon-wrap:hover {
    background: linear-gradient(135deg, var(--orma-primary-teal) 0%, var(--orma-deep-teal) 100%) !important;
    color: #ffffff !important;
    border-color: var(--orma-deep-teal) !important;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 18px -2px rgba(53, 37, 85, 0.35);
}

.editorial-card:hover .card-icon-wrap svg,
.editorial-card:hover .card-icon-wrap svg *,
.editorial-card.is-hovered .card-icon-wrap svg,
.editorial-card.is-hovered .card-icon-wrap svg *,
.editorial-card:focus-within .card-icon-wrap svg,
.editorial-card:focus-within .card-icon-wrap svg *,
.card-icon-wrap:hover svg,
.card-icon-wrap:hover svg * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.editorial-card h3,
.editorial-card h4 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--orma-deep-teal);
    line-height: 1.32;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;

}

.editorial-card p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    flex-grow: 1;
    color: var(--orma-deep-lavender);
}

.editorial-card .btn-orma-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--orma-primary-teal);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    transition: var(--orma-transition);
}

.editorial-card .btn-orma-link svg {
    transition: transform 0.25s ease;
    color: var(--orma-primary-teal);
}

.editorial-card:hover .btn-orma-link {
    color: var(--orma-deep-teal);
}

.editorial-card:hover .btn-orma-link svg {
    transform: translateX(5px);
    color: var(--orma-deep-teal);
}

/* --------------------------------------------------------------------------
   8. Pillar Cards (Four Enduring Promises) — Premium Modern UI
   -------------------------------------------------------------------------- */
.pillar-card {
    position: relative;
    background-color: var(--orma-white);
    border-radius: 20px;
    border: 1.5px solid rgba(107, 78, 155, 0.14);
    padding: 2.2rem 1.75rem 1.75rem;
    box-shadow: 0 10px 28px -6px rgba(53, 37, 85, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-decoration: none !important;
}

/* Top ambient accent glow line */
.pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: height 0.3s ease;
    z-index: 2;
}

.pillar-card:hover,
.pillar-card.is-hovered {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(53, 37, 85, 0.16), 0 8px 18px -4px rgba(53, 37, 85, 0.06);
}

.pillar-card:hover::before,
.pillar-card.is-hovered::before {
    height: 7px;
}

/* --- Theme 1: Dignity (Light Lavender) --- */
.pillar-card--teal,
.pillar-card--lavender {
    background: linear-gradient(180deg, #F3EEFA 0%, #FFFFFF 32%);
}

.pillar-card--teal::before,
.pillar-card--lavender::before {
    background: linear-gradient(90deg, #352555 0%, #6B4E9B 100%);
}

.pillar-card--teal:hover,
.pillar-card--teal.is-hovered,
.pillar-card--lavender:hover,
.pillar-card--lavender.is-hovered {
    border-color: rgba(107, 78, 155, 0.4);
}

/* --- Theme 2: Routines (Lavender Purple) --- */
.pillar-card--gold {
    background: linear-gradient(180deg, #F5EFFE 0%, #FFFFFF 32%);
}

.pillar-card--gold::before {
    background: linear-gradient(90deg, #855DD4 0%, #B89DF2 100%);
}

.pillar-card--gold:hover,
.pillar-card--gold.is-hovered {
    border-color: rgba(133, 93, 212, 0.45);
    box-shadow: 0 24px 48px -12px rgba(133, 93, 212, 0.18), 0 8px 18px -4px rgba(133, 93, 212, 0.08);
}

/* --- Theme 3: Creative (Emerald) --- */
.pillar-card--emerald {
    background: linear-gradient(180deg, #EDF7F4 0%, #FFFFFF 32%);
}

.pillar-card--emerald::before {
    background: linear-gradient(90deg, #1B735A 0%, #2BAE8A 100%);
}

.pillar-card--emerald:hover,
.pillar-card--emerald.is-hovered {
    border-color: rgba(27, 115, 90, 0.4);
}

/* --- Theme 4: Compassion (Maroon) --- */
.pillar-card--maroon {
    background: linear-gradient(180deg, #FDF0F2 0%, #FFFFFF 32%);
}

.pillar-card--maroon::before {
    background: linear-gradient(90deg, #9F1018 0%, #BA242C 100%);
}

.pillar-card--maroon:hover,
.pillar-card--maroon.is-hovered {
    border-color: rgba(159, 16, 24, 0.4);
    box-shadow: 0 24px 48px -12px rgba(159, 16, 24, 0.18), 0 8px 18px -4px rgba(159, 16, 24, 0.08);
}

/* --- Header Row --- */
.pillar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

/* Icon Squircle Vault */
.pillar-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.pillar-icon-box svg {
    width: 26px;
    height: 26px;
    transition: all 0.3s ease;
}

/* Default icon styles per theme */
.pillar-card--teal .pillar-icon-box,
.pillar-card--lavender .pillar-icon-box {
    background-color: #EDE6F8;
    color: var(--orma-primary-lavender);
    border: 1.5px solid rgba(107, 78, 155, 0.2);
}

.pillar-card--gold .pillar-icon-box {
    background-color: #F3EEFA;
    color: #855DD4;
    border: 1.5px solid rgba(133, 93, 212, 0.28);
}

.pillar-card--emerald .pillar-icon-box {
    background-color: #E3F3EE;
    color: #1B735A;
    border: 1.5px solid rgba(27, 115, 90, 0.25);
}

.pillar-card--maroon .pillar-icon-box {
    background-color: #FCE9EA;
    color: var(--orma-brand-maroon);
    border: 1.5px solid rgba(159, 16, 24, 0.25);
}

/* Hover Icon States: PURE CRISP WHITE on rich theme gradients */
.pillar-card:hover .pillar-icon-box,
.pillar-card.is-hovered .pillar-icon-box {
    transform: scale(1.08) translateY(-3px);
}

.pillar-card--teal:hover .pillar-icon-box,
.pillar-card--teal.is-hovered .pillar-icon-box,
.pillar-card--lavender:hover .pillar-icon-box,
.pillar-card--lavender.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #6B4E9B 0%, #352555 100%) !important;
    border-color: #352555 !important;
    box-shadow: 0 8px 20px -2px rgba(107, 78, 155, 0.4);
}

.pillar-card--teal:hover .pillar-icon-box svg,
.pillar-card--teal:hover .pillar-icon-box svg *,
.pillar-card--teal.is-hovered .pillar-icon-box svg,
.pillar-card--teal.is-hovered .pillar-icon-box svg *,
.pillar-card--lavender:hover .pillar-icon-box svg,
.pillar-card--lavender:hover .pillar-icon-box svg *,
.pillar-card--lavender.is-hovered .pillar-icon-box svg,
.pillar-card--lavender.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.pillar-card--gold:hover .pillar-icon-box,
.pillar-card--gold.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #855DD4 0%, #563B82 100%) !important;
    border-color: #563B82 !important;
    box-shadow: 0 8px 20px -2px rgba(133, 93, 212, 0.4);
}

.pillar-card--gold:hover .pillar-icon-box svg,
.pillar-card--gold:hover .pillar-icon-box svg *,
.pillar-card--gold.is-hovered .pillar-icon-box svg,
.pillar-card--gold.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.pillar-card--emerald:hover .pillar-icon-box,
.pillar-card--emerald.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #2BAE8A 0%, #165E49 100%) !important;
    border-color: #165E49 !important;
    box-shadow: 0 8px 20px -2px rgba(27, 115, 90, 0.4);
}

.pillar-card--emerald:hover .pillar-icon-box svg,
.pillar-card--emerald:hover .pillar-icon-box svg *,
.pillar-card--emerald.is-hovered .pillar-icon-box svg,
.pillar-card--emerald.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.pillar-card--maroon:hover .pillar-icon-box,
.pillar-card--maroon.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #B51821 0%, #7E0A10 100%) !important;
    border-color: #7E0A10 !important;
    box-shadow: 0 8px 20px -2px rgba(159, 16, 24, 0.4);
}

.pillar-card--maroon:hover .pillar-icon-box svg,
.pillar-card--maroon:hover .pillar-icon-box svg *,
.pillar-card--maroon.is-hovered .pillar-icon-box svg,
.pillar-card--maroon.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* --- Number Step Badge (Top Right) --- */
.pillar-step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 0.96rem;
    font-weight: 500;
    user-select: none;
    transition: all 0.3s ease;
}

.pillar-card--teal .pillar-step-badge,
.pillar-card--lavender .pillar-step-badge {
    background: #EDE6F8;
    color: var(--orma-deep-lavender);
    border: 1px solid rgba(107, 78, 155, 0.16);
}

.pillar-card--gold .pillar-step-badge {
    background: #F3EEFA;
    color: #855DD4;
    border: 1px solid rgba(133, 93, 212, 0.25);
}

.pillar-card--emerald .pillar-step-badge {
    background: #E3F3EE;
    color: #165E49;
    border: 1px solid rgba(27, 115, 90, 0.18);
}

.pillar-card--maroon .pillar-step-badge {
    background: #FCE9EB;
    color: var(--orma-brand-maroon);
    border: 1px solid rgba(159, 16, 24, 0.2);
}

.pillar-card:hover .pillar-step-badge,
.pillar-card.is-hovered .pillar-step-badge {
    transform: scale(1.06);
}

/* --- Card Content --- */
.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--orma-deep-teal);
    line-height: 1.32;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}

.pillar-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--orma-text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* --- Bottom Action Link & Arrow Circle --- */
.pillar-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(107, 78, 155, 0.08);
    font-family: var(--font-sans);
    font-size: 0.94rem;
    font-weight: 500;
    transition: all 0.25s ease;
    width: 100%;
    margin-top: auto;
}

.pillar-arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-arrow-circle svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}

/* Link Colors per Theme */
.pillar-card--teal .pillar-link,
.pillar-card--lavender .pillar-link {
    color: var(--orma-primary-lavender);
}

.pillar-card--teal .pillar-arrow-circle,
.pillar-card--lavender .pillar-arrow-circle {
    background: #EDE6F8;
    color: var(--orma-primary-lavender);
}

.pillar-card--teal:hover .pillar-link,
.pillar-card--teal.is-hovered .pillar-link,
.pillar-card--lavender:hover .pillar-link,
.pillar-card--lavender.is-hovered .pillar-link {
    color: var(--orma-deep-lavender);
}

.pillar-card--teal:hover .pillar-arrow-circle,
.pillar-card--teal.is-hovered .pillar-arrow-circle,
.pillar-card--lavender:hover .pillar-arrow-circle,
.pillar-card--lavender.is-hovered .pillar-arrow-circle {
    background: var(--orma-primary-lavender);
    color: #fff;
}

.pillar-card--gold .pillar-link {
    color: #855DD4;
    border-top-color: rgba(133, 93, 212, 0.15);
}

.pillar-card--gold .pillar-arrow-circle {
    background: #F3EEFA;
    color: #855DD4;
}

.pillar-card--gold:hover .pillar-link,
.pillar-card--gold.is-hovered .pillar-link {
    color: #563B82;
}

.pillar-card--gold:hover .pillar-arrow-circle,
.pillar-card--gold.is-hovered .pillar-arrow-circle {
    background: #855DD4;
    color: #fff;
}

.pillar-card--emerald .pillar-link {
    color: #165E49;
}

.pillar-card--emerald .pillar-arrow-circle {
    background: #E3F3EE;
    color: #165E49;
}

.pillar-card--emerald:hover .pillar-link,
.pillar-card--emerald.is-hovered .pillar-link {
    color: #0E3D30;
}

.pillar-card--emerald:hover .pillar-arrow-circle,
.pillar-card--emerald.is-hovered .pillar-arrow-circle {
    background: #1B735A;
    color: #fff;
}

.pillar-card--maroon .pillar-link {
    color: var(--orma-brand-maroon);
    border-top-color: rgba(159, 16, 24, 0.1);
}

.pillar-card--maroon .pillar-arrow-circle {
    background: #FCE9EB;
    color: var(--orma-brand-maroon);
}

.pillar-card--maroon:hover .pillar-link,
.pillar-card--maroon.is-hovered .pillar-link {
    color: #7A090F;
}

.pillar-card--maroon:hover .pillar-arrow-circle,
.pillar-card--maroon.is-hovered .pillar-arrow-circle {
    background: var(--orma-brand-maroon);
    color: #fff;
}

.pillar-card:hover .pillar-arrow-circle svg,
.pillar-card.is-hovered .pillar-arrow-circle svg {
    transform: translateX(3px);
}

/* Centered Pillar Card Styles */
.pillar-card.text-center {
    text-align: center;
}

.pillar-card.text-center .pillar-card-header {
    justify-content: center;
    position: relative;
}

.pillar-card.text-center .pillar-icon-box {
    margin-left: auto;
    margin-right: auto;
}

.pillar-card.text-center .pillar-step-badge {
    position: absolute;
    top: 0;
    right: 0;
}

.pillar-card.text-center .pillar-title {
    text-align: center;
}

.pillar-card.text-center .pillar-desc {
    text-align: center;
}

.pillar-card.text-center .pillar-link {
    justify-content: center;
    gap: 0.65rem;
}

/* Image with Editorial Caption */
.editorial-image-frame {
    position: relative;
    border-radius: var(--orma-radius-lg);
    overflow: hidden;
    box-shadow: var(--orma-shadow-md);
    border: 1px solid var(--orma-border-subtle);
}

.editorial-image-frame picture {
    display: block;
    width: 100%;
}

.editorial-image-frame img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.editorial-caption {
    font-size: 0.85rem;
    color: #4D5E5C;
    font-style: italic;
    margin-top: 0.65rem;
    display: block;
}

/* Quote Block */
.editorial-quote {
    position: relative;
    padding: 2.5rem 2rem 2rem 2.5rem;
    background-color: var(--orma-soft-teal-subtle);
    border-radius: var(--orma-radius-lg);
    border-left: 4px solid var(--orma-primary-teal);
    margin: 2rem 0;
}

.editorial-quote::before {
    content: "“";
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--orma-primary-teal);
    opacity: 0.2;
    line-height: 1;
}

.editorial-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.2vw + 0.8rem, 1.15rem);
    font-style: italic;
    color: var(--orma-deep-teal);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.editorial-quote cite {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--orma-text-secondary);
}

/* Quote Block — Full Width Variant */
.editorial-quote--fullwidth {
    position: relative;
    text-align: center;
    padding: 3rem 2.5rem 2.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F2 100%);
    border-radius: var(--orma-radius-xl);
    border: 1px solid rgba(107, 78, 155, 0.15);
    box-shadow: 0 14px 34px -10px rgba(53, 37, 85, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    margin: 0;
}

.editorial-quote--fullwidth::before {
    content: "“";
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--orma-primary-teal);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.editorial-quote--fullwidth blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.6vw + 0.65rem, 1.85rem);
    font-style: italic;
    color: var(--orma-deep-teal);
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.editorial-quote--fullwidth cite {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--orma-primary-teal);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* Caregiver Guidance Callout Card (Section 8 Full Width) */
.caregiver-guidance-card {
    position: relative;
    background-color: var(--orma-white);
    border-radius: 20px;
    border: 1px solid rgba(107, 78, 155, 0.14);
    border-left: 5px solid var(--orma-primary-lavender);
    padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1.4rem, 2.6vw, 2.5rem);
    box-shadow: 0 10px 30px -8px rgba(53, 37, 85, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.caregiver-guidance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -8px rgba(53, 37, 85, 0.12), 0 4px 10px rgba(0, 0, 0, 0.03);
    border-color: rgba(107, 78, 155, 0.25);
    border-left-color: var(--orma-deep-lavender);
}

.caregiver-guidance-card::after {
    content: "“";
    position: absolute;
    right: 1.75rem;
    bottom: -2rem;
    font-family: var(--font-serif);
    font-size: 7.5rem;
    line-height: 1;
    color: var(--orma-primary-teal);
    opacity: 0.06;
    pointer-events: none;
    font-style: italic;
    font-weight: 500;
    user-select: none;
}

.caregiver-guidance-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EFEBF8 0%, #E3DAF4 100%);
    color: var(--orma-primary-lavender);
    border: 1.5px solid rgba(107, 78, 155, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(107, 78, 155, 0.08);
    transition: all 0.3s ease;
}

.caregiver-guidance-card:hover .caregiver-guidance-icon {
    transform: scale(1.08) rotate(-3deg);
    background: linear-gradient(135deg, var(--orma-primary-lavender) 0%, var(--orma-deep-lavender) 100%);
    color: #FFFFFF !important;
    border-color: var(--orma-deep-lavender);
    box-shadow: 0 6px 16px rgba(53, 37, 85, 0.25);
}

.caregiver-guidance-card:hover .caregiver-guidance-icon svg,
.caregiver-guidance-card:hover .caregiver-guidance-icon svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.caregiver-guidance-icon svg {
    width: 26px;
    height: 26px;
    transition: all 0.3s ease;
}

.caregiver-guidance-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.12rem, 1.2vw + 0.75rem, 1.38rem);
    font-style: italic;
    font-weight: 500;
    color: var(--orma-deep-teal);
    line-height: 1.5;
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.caregiver-guidance-cite {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--orma-deep-lavender);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.caregiver-guidance-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.80rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    /* text-transform: uppercase; */
    padding: 0.25rem 0.75rem;
    background-color: #EDE6F8;
    color: var(--orma-deep-lavender);
    border-radius: 100px;
    border: 1px solid rgba(107, 78, 155, 0.16);
}

/* --------------------------------------------------------------------------
   9. Educational & FAQ Accordions
   -------------------------------------------------------------------------- */
.accordion-orma .accordion-item {
    background-color: var(--orma-white);
    border: 1px solid var(--orma-border-subtle);
    border-radius: var(--orma-radius-md) !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    box-shadow: var(--orma-shadow-sm);
    transition: var(--orma-transition);
}

.accordion-orma .accordion-item:hover {
    border-color: var(--orma-primary-teal);
}

.accordion-orma .accordion-button {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--orma-deep-teal);
    background-color: var(--orma-white);
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    transition: var(--orma-transition);
}

.accordion-orma .accordion-button:not(.collapsed) {
    color: var(--orma-primary-teal);
    background-color: var(--orma-soft-teal);
}

.accordion-orma .accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.accordion-orma .accordion-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.98rem;
    color: var(--orma-text-secondary);
    line-height: 1.68;
}

/* --------------------------------------------------------------------------
   10. Forms, Validation & Inputs
   -------------------------------------------------------------------------- */
.form-label {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--orma-deep-teal);
    margin-bottom: 0.4rem;
}

.form-control,
.form-select {
    font-family: var(--font-sans);
    font-size: 0.96rem;
    color: var(--orma-text-primary);
    background-color: var(--orma-white);
    border: 1.5px solid var(--orma-border-medium);
    border-radius: var(--orma-radius-md);
    padding: 0.75rem 1rem;
    transition: var(--orma-transition);
    resize: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--orma-primary-teal);
    box-shadow: 0 0 0 3px rgba(107, 78, 155, 0.15);
    outline: none;
}

.form-text {
    font-size: 0.82rem;
    color: var(--orma-text-muted);
}

.invalid-feedback {
    font-size: 0.84rem;
    color: var(--orma-brand-maroon);
    font-weight: 500;
}

/* Suppress valid checkmark & green border on empty optional date field */
.was-validated #visitDate:not(.is-filled) {
    background-image: none !important;
    border-color: var(--orma-border-medium) !important;
    box-shadow: none !important;
    padding-right: 1rem !important;
}

/* Math Captcha Verification Component (Adapted to ORMA Color Scheme) */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--orma-white);
    border: 1.5px solid var(--orma-border-medium);
    border-radius: var(--orma-radius-md);
    padding: 6px;
    width: 100%;
    transition: var(--orma-transition);
}

.captcha-container:focus-within {
    border-color: var(--orma-primary-teal);
    box-shadow: 0 0 0 3px rgba(107, 78, 155, 0.12);
}

.captcha-badge {
    background-color: var(--orma-warm-cream);
    border: 1px solid var(--orma-border-gold);
    border-radius: var(--orma-radius-sm);
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.98rem;
    color: var(--orma-deep-teal);
    letter-spacing: 0.02em;
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
    height: 40px;
}

.captcha-shield-icon {
    color: var(--orma-muted-gold);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.captcha-shield-icon svg {
    width: 17px;
    height: 17px;
    color: var(--orma-muted-gold);
    fill: currentColor;
}

.captcha-input-wrap {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.captcha-input {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    height: 40px;
    min-height: 40px;
    border: 1px solid var(--orma-border-subtle);
    border-radius: var(--orma-radius-sm);
    padding: 6px 14px;
    background-color: var(--orma-white);
    color: var(--orma-text-primary);
    width: 100%;
    transition: var(--orma-transition);
}

.captcha-input:focus {
    border-color: var(--orma-primary-teal);
    box-shadow: 0 0 0 3px rgba(107, 78, 155, 0.12);
    outline: none;
}

.captcha-refresh-btn {
    width: 40px;
    height: 40px;
    background-color: var(--orma-soft-teal);
    border: 1px solid var(--orma-border-subtle);
    border-radius: var(--orma-radius-sm);
    color: var(--orma-primary-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    position: relative;
}

.captcha-refresh-btn svg {
    width: 18px;
    height: 18px;
    color: var(--orma-primary-teal);
    stroke: currentColor;
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease, color 0.2s ease;
}

.captcha-refresh-btn:hover {
    background: linear-gradient(135deg, var(--orma-primary-teal) 0%, var(--orma-deep-teal) 100%);
    border-color: var(--orma-deep-teal);
    color: var(--orma-white);
    box-shadow: 0 4px 12px -2px rgba(107, 78, 155, 0.35);
    /* The button itself STAYS stable and never rotates into a diamond! */
}

.captcha-refresh-btn:hover svg {
    color: var(--orma-white) !important;
    stroke: var(--orma-white) !important;
    transform: rotate(180deg);
    /* Only the SVG refresh icon rotates smoothly */
}

.captcha-refresh-btn:active svg,
.captcha-refresh-btn.is-spinning svg {
    color: var(--orma-white) !important;
    stroke: var(--orma-white) !important;
    transform: rotate(360deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.captcha-refresh-btn:focus-visible {
    outline: 2px solid var(--orma-primary-teal);
    outline-offset: 2px;
}

.captcha-help-text {
    font-size: 0.86rem;
    color: var(--orma-text-secondary);
    margin-top: 0.45rem;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .captcha-container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .captcha-badge {
        width: 100%;
        justify-content: center;
    }

    .captcha-input-wrap {
        flex: 1;
    }
}


/* --------------------------------------------------------------------------
   11. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumb-orma {
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.breadcrumb-orma li {
    display: inline-flex;
    align-items: center;
    color: var(--orma-text-muted);
}

.breadcrumb-orma li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--orma-border-medium);
}

.breadcrumb-orma a {
    color: var(--orma-primary-teal);
    text-decoration: none;
}

.breadcrumb-orma a:hover {
    text-decoration: underline;
}

.breadcrumb-orma .active {
    color: var(--orma-deep-teal);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   12. Page Hero (Inner Pages)
   -------------------------------------------------------------------------- */
.inner-hero {
    background: linear-gradient(175deg, var(--orma-warm-cream) 0%, #F3EEE5 100%);
    padding: clamp(3rem, 5vw + 1rem, 4.5rem) 0 clamp(2.5rem, 4vw + 1rem, 3.5rem);
    border-bottom: 1px solid var(--orma-border-subtle);
    position: relative;
}

.inner-hero h1 {
    font-size: clamp(2.1rem, 3.2vw + 1rem, 3rem);
    margin-bottom: 1rem;
}

.inner-hero p.lead {
    font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
    /* max-width: 65ch; */
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--orma-deep-teal);
    color: rgba(255, 255, 255, 0.85);
    padding: clamp(4rem, 6vw + 1rem, 5.5rem) 0 2rem;
    border-top: 3px solid var(--orma-muted-gold);
}

.footer-logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%) brightness(1.8);
    -webkit-filter: grayscale(100%) brightness(1.8);
}

.site-footer .brand-subtext {
    font-family: var(--font-oswald);
    font-size: 1.1rem;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    letter-spacing: 0.03em;
    margin-top: 4px;
    line-height: 1.2;
    white-space: nowrap;
    display: block;
}

/* Group Company Logos in Footer */
.footer-group-logos {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.footer-group-logo-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-group-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
}

.footer-group-logo-card img {
    /* max-height: 40px; */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .h1,
.site-footer .h2,
.site-footer .h3,
.site-footer .h4,
.site-footer .h5,
.site-footer .h6 {
    color: var(--orma-white) !important;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.site-footer p {
    color: rgba(255, 255, 255, 1);
    font-size: 1rem;
    line-height: 1.65;
}

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

.footer-nav-list li {
    margin-bottom: 0.2rem;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--orma-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-nav-list a:hover {
    color: var(--orma-muted-gold-light);
    transform: translateX(3px);
    text-decoration: none;
}

/* Footer Social Media Links */
.footer-social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--orma-white);
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--orma-muted-gold);
    border-color: var(--orma-muted-gold);
    color: var(--orma-text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.footer-social-icon:focus-visible {
    outline: 2px solid var(--orma-muted-gold);
    outline-offset: 2px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.footer-contact-icon,
.footer-contact-item>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--orma-muted-gold);
}

.footer-contact-icon svg,
.footer-contact-item svg {
    width: 18px;
    height: 18px;
    margin-top: 0 !important;
    display: block;
    flex-shrink: 0;
    color: var(--orma-muted-gold-light) !important;
    stroke: currentColor;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: var(--orma-muted-gold-light);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--orma-muted-gold-light);
}

.site-footer .text-teal,
.site-footer .text-lavender {
    color: var(--orma-primary-lavender-bright) !important;
}

/* --------------------------------------------------------------------------
   14. Reassuring Closing CTA Section
   -------------------------------------------------------------------------- */
.reassurance-cta {
    background: linear-gradient(135deg, var(--orma-soft-lavender) 0%, #E4DBF5 100%);
    border-radius: var(--orma-radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    border: 1px solid rgba(107, 78, 155, 0.18);
    position: relative;
    overflow: hidden;
}

.reassurance-cta::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(107, 78, 155, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   15. Clinical Infographic Component (Large View & Background Blending)
   -------------------------------------------------------------------------- */
.infographic-stage {
    background-color: transparent;
    border: none;
    border-radius: var(--orma-radius-xl);
    padding: 0;
    box-shadow: none;
    transition: var(--orma-transition);
}

.infographic-stage:hover {
    box-shadow: none;
}

.infographic-large-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: zoom-in;
    filter: hue-rotate(80deg);
}

.brain-illustration-blend,
img[src*="teal-brain-illustration"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    mix-blend-mode: multiply;
    filter: hue-rotate(80deg);
}

.infographic-stage:hover .infographic-large-img,
.brain-illustration-blend:hover {
    transform: scale(1.02);
}

.infographic-badge-pill {
    transition: var(--orma-transition);
}

.infographic-stage:hover .infographic-badge-pill {
    background-color: var(--orma-primary-teal) !important;
    color: var(--orma-white) !important;
}

.infographic-stage:hover .infographic-badge-pill svg {
    color: var(--orma-white) !important;
    stroke: var(--orma-white) !important;
}

/* --------------------------------------------------------------------------
   16. Accessibility & Motion Preferences
   -------------------------------------------------------------------------- */
@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;
    }
}

/* Print Styles */
@media print {

    .site-header,
    .site-footer,
    .top-notice-bar,
    .btn,
    .reassurance-cta {
        display: none !important;
    }

    body {
        background-color: #fff;
        color: #000;
    }
}

/* --------------------------------------------------------------------------
   17. Critical UI, Navigation & Card Hover Enhancements
   -------------------------------------------------------------------------- */

/* Critical Icon Hover High-Contrast Styles */
.editorial-card:hover .card-icon-wrap,
.editorial-card.is-hovered .card-icon-wrap,
.editorial-card:focus-within .card-icon-wrap,
.card-icon-wrap:hover {
    background: linear-gradient(135deg, #6B4E9B 0%, #352555 100%) !important;
    border-color: #352555 !important;
    color: #FFFFFF !important;
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 18px -2px rgba(53, 37, 85, 0.35) !important;
}

.editorial-card:hover .card-icon-wrap svg,
.editorial-card:hover .card-icon-wrap svg *,
.editorial-card.is-hovered .card-icon-wrap svg,
.editorial-card.is-hovered .card-icon-wrap svg *,
.editorial-card:focus-within .card-icon-wrap svg,
.editorial-card:focus-within .card-icon-wrap svg *,
.card-icon-wrap:hover svg,
.card-icon-wrap:hover svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Critical Pillar Card Hover States */
.pillar-card--teal:hover .pillar-icon-box,
.pillar-card--teal.is-hovered .pillar-icon-box,
.pillar-card--lavender:hover .pillar-icon-box,
.pillar-card--lavender.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #6B4E9B 0%, #352555 100%) !important;
    border-color: #352555 !important;
    box-shadow: 0 8px 20px -2px rgba(107, 78, 155, 0.4) !important;
}

.pillar-card--teal:hover .pillar-icon-box svg,
.pillar-card--teal:hover .pillar-icon-box svg *,
.pillar-card--teal.is-hovered .pillar-icon-box svg,
.pillar-card--teal.is-hovered .pillar-icon-box svg *,
.pillar-card--lavender:hover .pillar-icon-box svg,
.pillar-card--lavender:hover .pillar-icon-box svg *,
.pillar-card--lavender.is-hovered .pillar-icon-box svg,
.pillar-card--lavender.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.pillar-card--gold:hover .pillar-icon-box,
.pillar-card--gold.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #855DD4 0%, #563B82 100%) !important;
    border-color: #563B82 !important;
    box-shadow: 0 8px 20px -2px rgba(133, 93, 212, 0.4) !important;
}

.pillar-card--gold:hover .pillar-icon-box svg,
.pillar-card--gold:hover .pillar-icon-box svg *,
.pillar-card--gold.is-hovered .pillar-icon-box svg,
.pillar-card--gold.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.pillar-card--emerald:hover .pillar-icon-box,
.pillar-card--emerald.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #2BAE8A 0%, #165E49 100%) !important;
    border-color: #165E49 !important;
    box-shadow: 0 8px 20px -2px rgba(27, 115, 90, 0.4) !important;
}

.pillar-card--emerald:hover .pillar-icon-box svg,
.pillar-card--emerald:hover .pillar-icon-box svg *,
.pillar-card--emerald.is-hovered .pillar-icon-box svg,
.pillar-card--emerald.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

.pillar-card--maroon:hover .pillar-icon-box,
.pillar-card--maroon.is-hovered .pillar-icon-box {
    background: linear-gradient(135deg, #B51821 0%, #7E0A10 100%) !important;
    border-color: #7E0A10 !important;
    box-shadow: 0 8px 20px -2px rgba(159, 16, 24, 0.4) !important;
}

.pillar-card--maroon:hover .pillar-icon-box svg,
.pillar-card--maroon:hover .pillar-icon-box svg *,
.pillar-card--maroon.is-hovered .pillar-icon-box svg,
.pillar-card--maroon.is-hovered .pillar-icon-box svg * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Seamless Graphic & Brain Illustration Background Blending */
.brain-illustration-blend,
img[src*="teal-brain-illustration"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    mix-blend-mode: multiply !important;
    filter: hue-rotate(80deg) !important;
}

.infographic-stage {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Gentle Minimalist Menu Style (Client Template Pattern) */
.top-notice-bar {
    background-color: #FAF8FD !important;
    color: var(--orma-deep-lavender) !important;
    font-size: 0.82rem !important;
    padding: 0.35rem 0 !important;
    border-bottom: 1px solid #ECE6F6 !important;
    font-weight: 600;
}

.top-notice-bar a {
    color: var(--orma-deep-lavender) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.top-notice-bar a:hover {
    color: #6B4E9B !important;
}

.top-notice-bar .text-white-50 {
    color: var(--orma-deep-lavender) !important;
    /* High contrast text on light bar (8.5:1 ratio) */
}

.top-notice-bar svg {
    color: #855DD4 !important;
    stroke: #855DD4 !important;
}

.site-header {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(107, 78, 155, 0.08) !important;
    box-shadow: 0 4px 20px rgba(53, 37, 85, 0.03) !important;
}

.navbar-nav .nav-link {
    font-family: var(--font-sans) !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    color: #352555 !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 50px !important;
    transition: all 0.22s ease !important;
}

.navbar-nav .nav-link:hover {
    color: #6B4E9B !important;
    background-color: #F6F2FB !important;
}

.navbar-nav .nav-link.active {
    color: #6B4E9B !important;
    background-color: #F2EEFA !important;
    font-weight: 600 !important;
}

.navbar-nav .nav-link.active::after {
    display: none !important;
}

.header-cta-wrap .btn-orma-primary {
    border-radius: 50px !important;
    padding: 0.55rem 1.6rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(107, 78, 155, 0.25) !important;
}

/* Uncrowded Launching Hero & Diamond Pattern */
.hero-editorial {
    position: relative;
    padding: clamp(3.5rem, 5vw + 1rem, 5.5rem) 0 clamp(4rem, 6vw + 1rem, 6rem) !important;
    background: #FFFFFF !important;
    overflow: hidden;
    border-bottom: 1px solid #ECE6F6 !important;
}

.hero-editorial::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 46% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #F3EEFA 0%, #E6DCF5 100%) !important;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    border-radius: 0 !important;
}

@media (max-width: 991.98px) {
    .hero-editorial::before {
        width: 100% !important;
        height: 40% !important;
        top: auto !important;
        bottom: 0 !important;
        clip-path: none !important;
        opacity: 0.5 !important;
    }
}

.hero-diamond-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-diamond-outer-border {
    position: absolute;
    width: 430px;
    height: 430px;
    transform: rotate(45deg);
    border-radius: 40px;
    border: 3px solid #6B4E9B;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 60px -15px rgba(53, 37, 85, 0.22);
    z-index: 1;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.hero-diamond-frame {
    position: relative;
    width: 390px;
    height: 390px;
    transform: rotate(45deg);
    border-radius: 34px;
    overflow: hidden;
    border: 4px solid #FFFFFF;
    background-color: #F2EEFA;
    box-shadow: 0 15px 35px -5px rgba(53, 37, 85, 0.15);
    z-index: 2;
}

.hero-diamond-frame img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 145%;
    height: 145%;
    object-fit: cover;
    transform: translate(-50%, -50%) rotate(-45deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-diamond-wrapper:hover .hero-diamond-frame img {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.05);
}

.hero-diamond-wrapper:hover .hero-diamond-outer-border {
    transform: rotate(45deg) scale(1.02);
    border-color: #855DD4;
}

@media (max-width: 575.98px) {
    .hero-diamond-wrapper {
        width: 290px;
        height: 290px;
    }

    .hero-diamond-outer-border {
        width: 300px;
        height: 300px;
        border-radius: 30px;
    }

    .hero-diamond-frame {
        width: 270px;
        height: 270px;
        border-radius: 26px;
    }
}

.hero-quick-action-bar {
    max-width: 530px;
}

.hero-search-pill-box {
    background: #FFFFFF;
    border: 1.5px solid #E2D7F0;
    border-radius: 50px;
    padding: 0.35rem 0.4rem 0.35rem 1.25rem;
    box-shadow: 0 8px 25px -5px rgba(53, 37, 85, 0.08);
    transition: all 0.3s ease;
}

.hero-search-pill-box:focus-within {
    border-color: #6B4E9B;
    box-shadow: 0 10px 30px -5px rgba(107, 78, 155, 0.18);
}

.hero-trust-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.15rem;
}

.hero-trust-dot-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F2EEFA;
    color: #6B4E9B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(107, 78, 155, 0.15);
    font-size: 0.85rem;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-trust-icon-circle svg {
    width: 16px;
    height: 16px;
    color: #6B4E9B;
}

.hero-trust-dot-item:hover .hero-trust-icon-circle {
    transform: translateY(-2px);
    background: #6B4E9B;
    color: #FFFFFF;
}

.hero-trust-dot-item:hover .hero-trust-icon-circle svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   18. Visionaries & Leadership Showcase (Editorial Alternating Layout)
   -------------------------------------------------------------------------- */
.visionary-card {
    background-color: var(--orma-white);
    border-radius: 24px;
    border: 1.5px solid rgba(133, 93, 212, 0.16);
    padding: clamp(1.75rem, 3.5vw, 3rem);
    box-shadow: 0 10px 32px -8px rgba(53, 37, 85, 0.07);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.visionary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -10px rgba(53, 37, 85, 0.12);
    border-color: rgba(133, 93, 212, 0.35);
}

.visionary-card--alt {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F6FD 100%);
    border-color: rgba(133, 93, 212, 0.22);
}

.visionary-img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 28px -6px rgba(53, 37, 85, 0.16);
    background-color: #F3EEFA;
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.visionary-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.visionary-card:hover .visionary-img-frame img {
    transform: scale(1.03);
}

.visionary-quote-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #F3EEFA;
    color: #855DD4;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(133, 93, 212, 0.12);
}

.visionary-name {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--orma-deep-lavender);
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.visionary-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: #855DD4;
    background: #F3EEFA;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.visionary-subrole {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--orma-text-secondary);
    margin-bottom: 1.25rem;
}

.visionary-message {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 0.35vw + 0.92rem, 1.1rem);
    line-height: 1.75;
    color: var(--orma-text-primary);
    font-weight: 300;
    border-left: 3px solid #855DD4;
    padding-left: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0;
    position: relative;
}

/* --------------------------------------------------------------------------
   19. What is Dementia — Clinical & Stage Components
   -------------------------------------------------------------------------- */
.stage-timeline-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    border-left: 4px solid #855DD4;
    box-shadow: 0 4px 14px rgba(53, 37, 85, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stage-timeline-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 22px rgba(133, 93, 212, 0.12);
}

.stage-badge-number {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #855DD4;
    background: #F3EEFA;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 0.4rem;
}

.dementia-media-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(53, 37, 85, 0.12);
    border: 1px solid rgba(133, 93, 212, 0.08);
    position: relative;
}

.dementia-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dementia-media-frame:hover img {
    transform: scale(1.025);
}

.dementia-feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(107, 78, 155, 0.08);
    box-shadow: 0 4px 14px rgba(53, 37, 85, 0.04);
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dementia-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(107, 78, 155, 0.09);
    border-color: rgba(133, 93, 212, 0.3);
}

.dementia-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #F3EEFA;
    color: #855DD4;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   20. Home Testimonials & Google Reviews Carousel
   -------------------------------------------------------------------------- */
.review-card {
    background: #FFFFFF;
    border: 1px solid #dadada;
    border-radius: 24px;
    padding: clamp(2rem, 3.5vw + 1rem, 2rem);
    box-shadow: 0 10px 32px -4px rgba(53, 37, 85, 0.08);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px -4px rgba(53, 37, 85, 0.12);
}

.review-stars {
    color: #F5A623;
    display: flex;
    gap: 3px;
    font-size: 1.05rem;
}

.google-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #F8F9FA;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}

.review-header {
    border-bottom: 1px solid rgba(133, 93, 212, 0.12);
    padding-bottom: 1.15rem;
    margin-bottom: 1.15rem;
}

.review-quote-mark {
    color: #855DD4;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.review-text {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 0.35vw + 0.92rem, 1.1rem);
    line-height: 1.65;
    color: #2D253D;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.btn-review-toggle {
    background: none;
    border: none;
    color: #855DD4;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.btn-review-toggle:hover {
    color: #563B82;
}

.btn-review-toggle svg {
    transition: transform 0.2s ease;
}

.btn-review-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.reviewer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #F3EEFA;
    color: #855DD4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(133, 93, 212, 0.15);
}

.reviewer-name {
    font-family: var(--font-sans);
    font-weight: 700;
    color: #352555;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.reviewer-meta {
    font-size: 0.84rem;
    color: #7A6F8C;
}

.review-carousel-control {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid rgba(133, 93, 212, 0.25);
    color: #855DD4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(53, 37, 85, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}

.review-carousel-control:hover {
    background: #855DD4;
    color: #FFFFFF;
    border-color: #855DD4;
    transform: scale(1.05);
}

.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1.5px solid #855DD4;
    color: #855DD4;
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(133, 93, 212, 0.12);
    transition: all 0.22s ease;
}

.btn-google-reviews:hover {
    background: #855DD4;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(133, 93, 212, 0.25);
    transform: translateY(-2px);
}

