.reviews-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reviews-reveal.reviews-visible {
    opacity: 1;
    transform: translateY(0);
}

.reviews-stagger-1 {
    transition-delay: 0.1s;
}

.reviews-stagger-2 {
    transition-delay: 0.25s;
}

.reviews-stagger-3 {
    transition-delay: 0.4s;
}

.reviews-stagger-header {
    transition-delay: 0s;
}

.review-card {
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.4s ease;
    overflow: hidden;
}

@media (hover: none) and (pointer: coarse) {
    .review-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-6px) scale(1.01);
}

.review-card-teal:hover {
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.3), 0 0 0 1px rgba(20, 184, 166, 0.3);
    border-color: rgba(20, 184, 166, 0.4) !important;
}

.review-card-purple:hover {
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.4) !important;
}

.review-card-orange:hover {
    box-shadow: 0 20px 60px rgba(251, 146, 60, 0.25), 0 0 0 1px rgba(251, 146, 60, 0.25);
    border-color: rgba(251, 146, 60, 0.35) !important;
}

.review-avatar-ring-teal {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.4);
}

.review-avatar-ring-purple {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.review-avatar-ring-orange {
    border-color: rgba(251, 146, 60, 0.5);
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.4);
}

.review-quote-mark {
    font-size: 5rem;
    line-height: 1;
    font-family: Georgia, serif;
    position: absolute;
    top: -10px;
    left: 16px;
    opacity: 0.08;
    color: #fff;
    pointer-events: none;
    user-select: none;
}

/* Generic reveal helper (static HTML) */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Page preloader (logo + 3 dots) */
.page-preloader{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    transition: opacity 350ms ease, visibility 350ms ease;
}
.page-preloader__inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:18px;
}
.page-preloader__logo{
    width: 150px;
    max-width: 60vw;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.45));
}
.page-preloader__dots{
    display:flex;
    gap:10px;
}
.page-preloader__dots span{
    width:8px;
    height:8px;
    border-radius:999px;
    background: rgba(255,255,255,0.9);
    opacity: 0.25;
    animation: pagePreloaderDot 900ms ease-in-out infinite;
}
.page-preloader__dots span:nth-child(2){ animation-delay: 120ms; }
.page-preloader__dots span:nth-child(3){ animation-delay: 240ms; }
@keyframes pagePreloaderDot{
    0%, 100%{ transform: translateY(0); opacity: 0.25; }
    50%{ transform: translateY(-6px); opacity: 1; }
}
.page-preloader.is-hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

/* Founder compare slider: match Rocket (grab while dragging) */
#founder-compare.founder-compare--dragging {
    cursor: grabbing !important;
}

/* Success Stories: card shadows/hover/border (match Rocket reference) */
.card-hover {
    border-color: rgb(241 245 249 / 1) !important; /* slate-100 */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important; /* shadow-card */
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease,
        border-color 0.25s ease !important;
    will-change: transform, box-shadow;
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgb(94 234 212 / 1) !important; /* primary-300 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important; /* shadow-md */
}

/* keep featured video card's custom shadow (don't override) */
#video-testimonials a.shadow-\\[0_14px_40px_rgba\\(15\\,118\\,110\\,0\\.18\\)\\],
#video-testimonials a.shadow-\\[0_14px_40px_rgba\\(15\\,118\\,110\\,0\\.18\\)\\]:hover {
    box-shadow: unset !important;
}

/* About page uses reveal-left/right without .reveal */
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-left {
    transform: translateX(-10px);
}

.reveal-right {
    transform: translateX(10px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: none;
}

/* About: Meet the Experts */
.experts-row {
    width: max-content !important;
    flex-wrap: nowrap;
}

.experts-row > div {
    width: 160px;
}

@media (min-width: 1024px) {
    .experts-row > div {
        width: 200px;
    }
}

.experts-row h3,
.experts-row h4 {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

@media (min-width: 640px) {
    .experts-row h3,
    .experts-row h4 {
        font-size: 13px !important;
    }
}

/* Footer (match Rocket reference) */
footer.site-footer {
    background:#003b49;
    color: rgba(255, 255, 255, 0.82);
}

footer.site-footer a {
    color: rgba(255, 255, 255, 0.78);
}

footer.site-footer a:hover {
    color: #5eead4;
}

footer.site-footer .border-t,
footer.site-footer [class*="border-slate-"] {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

footer.site-footer h4,
footer.site-footer .font-heading {
    color: rgba(255, 255, 255, 0.92);
}

/* Footer headings size/weight */
footer.site-footer h4 {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.96) !important;
}

footer.site-footer .font-heading.font-bold.text-slate-800 {
    font-size: 16px;
    line-height: 1.25;
}

@media (min-width: 640px) {
    footer.site-footer h4 {
        font-size: 16px;
    }
    footer.site-footer .font-heading.font-bold.text-slate-800 {
        font-size: 17px;
    }
}

/* Footer links text size */
footer.site-footer ul a {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500;
}

@media (min-width: 640px) {
    footer.site-footer ul a {
        font-size: 14px;
    }
}

/* Quick/Important links: no dot bullets in footer */
footer.site-footer ul a > span.w-1.h-1 {
    display: none !important; color: #fff !important;
}

footer.site-footer ul a.flex.items-center.gap-2 {
    gap: 0 !important; color: #fff !important;
}
.site-footer .text-slate-500{color: #fff!important;}

/* Newsletter / Free Health Resources: match screenshot spacing */
#newsletter h2 .text-primary-600 {
    color: #14b8a6 !important;
}

#newsletter .btn-primary {
    background: linear-gradient(90deg, #0f766e, #0b4a55) !important;
}

#newsletter .btn-primary:hover {
    filter: brightness(1.04);
}

/* Newsletter (mobile screenshot parity) */
#newsletter .badge-teal {
    background: transparent !important;
    border: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    color: rgba(15, 118, 110, 0.9) !important;
    font-weight: 700;
}

#newsletter .badge-teal svg {
    color: rgba(15, 118, 110, 0.95) !important;
}

#newsletter ul li > div.w-5.h-5 {
    background: transparent !important;
    border-color: rgba(15, 118, 110, 0.55) !important;
}

#newsletter ul li > div.w-5.h-5 svg {
    color: rgba(15, 118, 110, 0.95) !important;
}

/* Right form card: match screenshot */
#newsletter .newsletter-form-card {
    background: rgba(248, 250, 252, 0.95) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.10) !important;
}

#newsletter .newsletter-form-card .req {
    color: #ef4444;
    font-weight: 700;
    margin-left: 2px;
}

#newsletter .newsletter-form-card label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: rgba(100, 116, 139, 0.95) !important;
}

#newsletter .newsletter-form-card input.input-field,
#newsletter .newsletter-form-card textarea.input-field {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.55) !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    color: rgba(15, 23, 42, 0.88) !important;
}

#newsletter .newsletter-form-card input.input-field::placeholder,
#newsletter .newsletter-form-card textarea.input-field::placeholder {
    color: rgba(100, 116, 139, 0.7) !important;
}

#newsletter .newsletter-form-card .input-field:focus {
    outline: none !important;
    border-color: rgba(20, 184, 166, 0.75) !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18) !important;
}

#newsletter .newsletter-form-card .newsletter-submit {
    border-radius: 999px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    background: #0f766e !important;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22) !important;
}

#newsletter .newsletter-form-card .newsletter-submit:hover {
    background: #0b4a55 !important;
}

footer.site-footer p,
footer.site-footer span,
footer.site-footer li {
    color: rgba(255, 255, 255, 0.78);
}

footer.site-footer .text-slate-800,
footer.site-footer .text-slate-500,
footer.site-footer .text-slate-400 {
    color:rgb(255 255 255) !important;
}

footer.site-footer .text-slate-800.font-heading,
footer.site-footer .text-slate-800.text-sm,
footer.site-footer .text-slate-800.text-base {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Footer logo ring + social icons */
footer.site-footer img[src*="logo"] {
    filter: none !important;
}

/* Brand logo card (left) */
footer.site-footer .footer-brand-logo {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
}

footer.site-footer .footer-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 640px) {
    footer.site-footer .footer-brand-logo {
        width: 140px;
        height: 120px;
    }
}

footer.site-footer a[aria-label="Facebook"],
footer.site-footer a[aria-label="Instagram"],
footer.site-footer a[aria-label="YouTube"] {
    border-color: rgba(255, 255, 255, 0.0) !important;
    color: #0b4a55 !important;
    background: #ffffff !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

/* Social icons: circle + svg size */
footer.site-footer a[aria-label="Facebook"],
footer.site-footer a[aria-label="Instagram"],
footer.site-footer a[aria-label="YouTube"] {
    width: 40px !important;
    height: 40px !important;
}

footer.site-footer a[aria-label="Facebook"] svg,
footer.site-footer a[aria-label="Instagram"] svg,
footer.site-footer a[aria-label="YouTube"] svg {
    width: 18px !important;
    height: 18px !important;
}

@media (max-width: 640px) {
    footer.site-footer a[aria-label="Facebook"],
    footer.site-footer a[aria-label="Instagram"],
    footer.site-footer a[aria-label="YouTube"] {
        width: 36px !important;
        height: 36px !important;
    }
    footer.site-footer a[aria-label="Facebook"] svg,
    footer.site-footer a[aria-label="Instagram"] svg,
    footer.site-footer a[aria-label="YouTube"] svg {
        width: 16px !important;
        height: 16px !important;
    }
}

footer.site-footer a[aria-label="Facebook"]:hover,
footer.site-footer a[aria-label="Instagram"]:hover,
footer.site-footer a[aria-label="YouTube"]:hover {
    background: #fff !important;
    color: #0b4a55 !important;
}

/* Contact icon tiles */
footer.site-footer [class*="bg-primary-500/10"] {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

footer.site-footer [class*="text-primary-600"] {
    color: #fff !important;
}

/* Contact list: match reference (no tiles + dividers) */
footer.site-footer .footer-contact-list {
    margin-top: 2px;
}

footer.site-footer .footer-contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid #fff;
}

footer.site-footer .footer-contact-list li:first-child {
    padding-top: 0;
}

footer.site-footer .footer-contact-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

footer.site-footer .footer-contact-list > li > div {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
}

footer.site-footer .footer-contact-list > li > div svg {
    width: 16px !important;
    height: 16px !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

footer.site-footer .footer-contact-list span,
footer.site-footer .footer-contact-list a {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 640px) {
    footer.site-footer .footer-contact-list span,
    footer.site-footer .footer-contact-list a {
        font-size: 13px !important;
    }
}

/* Bottom copyright strip */
footer.site-footer .divider-glow {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.35), transparent) !important;
    opacity: 1 !important;
}

footer.site-footer > div {
    position: relative;
}

footer.site-footer > div > .flex.flex-col.sm\:flex-row {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    footer.site-footer > div > .flex.flex-col.sm\:flex-row {
        width: 100%;
    }
}

/* Footer copyright bar (full width) */
footer.site-footer .footer-bottom-bar {
    background: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

footer.site-footer .footer-bottom-bar .footer-copyright {
    margin: 0;
    text-align: center;
    padding: 14px 0;
    font-size: 13px;
    line-height: 1.4;
    color:#0b4a55;
    letter-spacing: 0.01em;
}

/* In the News slider */
.in-the-news-slider-wrapper {
    position: relative;
    overflow: visible;
}

.in-the-news-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 46px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.in-the-news-track::-webkit-scrollbar {
    display: none;
}

.in-the-news-track {
    scrollbar-width: none;
}

.in-the-news-slide {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 220px;
}

@media (max-width: 640px) {
    .in-the-news-track {
        padding: 8px 40px;
    }
    .in-the-news-slide {
        width: calc((100% - 14px) / 2);
    }
}

.in-the-news-card {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px -26px rgba(2, 6, 23, 0.25);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
	border-radius: 14px;
	overflow:hidden;
}

.in-the-news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 184, 166, 0.30);
    box-shadow: 0 22px 60px -30px rgba(15, 118, 110, 0.22);
}

.in-the-news-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding:0;
    border-radius: 14px;
    filter: grayscale(0.05) contrast(1.02);
}

.in-the-news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 18px 40px -28px rgba(2, 6, 23, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.78);
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
    z-index: 5;
}

.in-the-news-nav:hover {
    background: #fff;
    border-color: rgba(20, 184, 166, 0.32);
    transform: translateY(-50%) scale(1.03);
}

.in-the-news-prev {
    left: 6px;
}

.in-the-news-next {
    right: 6px;
}

@media (max-width: 640px) {
    .in-the-news-nav {
        width: 34px;
        height: 34px;
    }
    .in-the-news-prev {
        left: 4px;
    }
    .in-the-news-next {
        right: 4px;
    }
    .in-the-news-track {
        padding: 8px 44px;
    }
}
.header-menu-btn{ border:none;}
.mob{ display:none}
.web{ display:block;}
@media (max-width: 676px) {
.mob{ display:block}
.web{ display:none;}

footer.site-footer .footer-bottom-bar .footer-copyright {padding: 12px 0;font-size: 11px;}
.p-8 {
    padding: 1rem;
}
}

/* Header: light theme = images/logo-dark.png, dark theme (html.dark) = images/logo-white.png */
.header-brand-logo .header-logo-dark {
    display: none;
}
html.dark .header-brand-logo .header-logo-light {
    display: none;
}
html.dark .header-brand-logo .header-logo-dark {
    display: block;
}

/* Emoji rendering fix (site-wide)
   Ensure emoji glyphs fallback correctly on all OS/browsers. */
:root {
    --font-emoji: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji";
}

html {
    font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, var(--font-emoji), sans-serif;
}

body {
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, var(--font-emoji), sans-serif;
}

.font-heading,
.font-heading * {
    font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, var(--font-emoji), sans-serif;
}

/* Sign-in modal: always above hero images, forum layers, and floating widgets */
#rfl-signin-overlay.rfl-signin-overlay,
.rfl-signin-overlay {
    z-index: 999999 !important;
}
