/* Mind Realigned — Homepage (beta match) */

.mr-home {
    --mr-hero-bg: #f4eeea;
    --mr-peach: #f8efe9;
    --mr-accent: #df5941;
    --mr-accent-dark: #d15d49;
    --mr-navy: #131f34;
    font-family: var(--mr-font);
}

.mr-home h1,
.mr-home h2,
.mr-home .mr-section-title {
    font-family: var(--mr-heading-font);
    font-weight: 700;
    color: var(--mr-dark);
    line-height: 1.2;
}

/* Premium CTA button */
.mr-adv-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: 15px 30px;
    background: var(--mr-primary);
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .5px;
    border: none;
    border-radius: 100px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.23, 1, .32, 1), box-shadow .35s ease, background-color .35s ease;
    box-shadow: 0 8px 24px rgba(223, 89, 65, .25);
}

.mr-adv-btn--hero {
    padding: 14px 20px;
    font-weight: 500;
    letter-spacing: 0;
    box-shadow: none;
}

.mr-adv-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-30deg);
    animation: mr-shine 5s linear infinite;
}

.mr-adv-btn:hover {
    transform: translateY(-3px);
    background-color: var(--mr-navy);
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(223, 89, 65, .35);
}

@keyframes mr-shine {
    0% { left: -150%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.mr-adv-btn-outline {
    background: transparent;
    color: var(--mr-primary) !important;
    border: 2px solid var(--mr-primary);
    box-shadow: none;
}

.mr-adv-btn-outline:hover {
    background: var(--mr-primary);
    color: #fff !important;
}

.mr-adv-btn-navy {
    background: var(--mr-navy);
    box-shadow: 0 8px 24px rgba(19, 31, 52, .2);
}

.mr-adv-btn-navy:hover {
    background: var(--mr-primary);
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(223, 89, 65, .35);
}

.mr-adv-btn-navy::before {
    display: none;
}

/* ===========================
   HERO
=========================== */

.mr-home-hero {
    background: var(--mr-hero-bg);
    padding: 3rem 0 0;
    overflow: hidden;
}

.mr-home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 520px;
}

.fade-text {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.mr-hero-container{
	width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

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

.fade-text span {
    font-family: 'Chillax', 'Aktiv Grotesk', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #151E30;
    opacity: 0;
    display: inline-block;
    animation: fadeIn 1s forwards;
    line-height: 60px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-text span:nth-child(1) { animation-delay: 0.2s; }
.fade-text span:nth-child(2) { animation-delay: 0.6s; }
.fade-text span:nth-child(3) { animation-delay: 1s; }

.mr-home-hero .mr-hero-title {
    font-family: var(--mr-heading-font);
    font-size: clamp(32px, 4vw, 60px);
    font-weight: 600;
    line-height: 1.2;
    color: #151E30;
    margin: 0 0 1rem;
}

.mr-home-hero .mr-hero-sub {
    font-size: 20px;
    line-height: 28px;
    color: #151E30;
    margin-bottom: 1.75rem;
	text-align: justify;
}

@media (min-width: 992px) {
    .mr-home-hero .mr-hero-sub {
        padding-right: 8%;
    }
}
@media (min-width: 1480px) {
    .mr-home-hero .mr-hero-sub {
        padding-right: 5%;
    }
}

.mr-avatar-stack {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    gap: 0;
}

.mr-avatar-stack img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.mr-avatar-stack img:first-child { margin-left: 0; }

.mr-trusted-text {
    margin-left: 1rem;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--mr-dark);
}

.mr-hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mr-hero-btn{
	display: flex;
    flex-direction: row;
    gap: 15px;
}

.mr-hero-video {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 1;
    background: transparent;
}

.mr-hero-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Stats counters */
.mr-counter-section {
    background: var(--mr-cream);
    padding: 80px 20px;
}

.mr-counter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto;
}

.mr-counter-card {
    position: relative;
    width: calc((100% - 48px) / 3);
    min-width: 240px;
    min-height: 280px;
    border-radius: 24px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background-color: var(--mr-accent);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateY(30px);
    transition: transform .6s cubic-bezier(.34,1.56,.64,1), opacity .5s ease;
}

.mr-counter-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mr-counter-card .mr-counter-icon {
    font-size: 1.75rem;
    margin-bottom: auto;
    opacity: .9;
}

.mr-counter-card .mr-counter-num {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: .35rem;
}

.mr-counter-card .mr-counter-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: .95;
}

/* Intro band */
.mr-intro-band {
    background: #f4edeb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mr-intro-video-wrap {
    width: 100%;
    flex-shrink: 0;
}

.mr-intro-video {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    background: #000;
}

.mr-intro-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mr-intro-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1rem 3.75rem;
}

.mr-intro-copy {
    font-family: var(--mr-heading-font);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 2.5rem;
    color: #131f34;
    max-width: 1140px;
}

.mr-intro-copy strong {
    color: var(--mr-accent);
    font-weight: 600;
}

.mr-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Pillars — Icon Showcase (beta match) */
.mr-pillars-section {
    background: #f4edeb;
    padding: 5rem 0 0;
    text-align: center;
    overflow: hidden;
}

.mr-pillars-section h2 {
    font-family: var(--mr-heading-font);
    font-size: clamp(2rem, 4vw, 3.125rem);
    font-weight: 600;
    line-height: 1.2;
    color: #151e30;
    margin: 0 0 2.5rem;
}

.mr-pillars-section .ics-wrapper {
    width: 100%;
}

.mr-pillars-section .ics-stage {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 5rem calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    text-align: center;
    --ics-center-scale: 1;
    --ics-side-scale: 0.9;
    --ics-center-icon-scale: 1.2;
    --ics-side-icon-scale: 1;
    --ics-center-opacity: 1;
    --ics-side-opacity: 0.4;
    --ics-icon-size: 136px;
    --ics-icon-img-max-width: 70%;
}

.mr-pillars-section .ics-line {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: calc(5rem + 2.5rem + (var(--ics-icon-size) / 2));
    height: 4px;
    background-color: #e3bcb5;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.mr-pillars-section .ics-items {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    gap: 2.5rem;
}

.mr-pillars-section .ics-item {
    padding: 2.5rem 1.25rem 1.25rem;
    transform: scale(var(--ics-side-scale));
    opacity: var(--ics-side-opacity);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mr-pillars-section .ics-item.ics-center {
    transform: scale(var(--ics-center-scale));
    opacity: var(--ics-center-opacity);
}

.mr-pillars-section .ics-items:hover .ics-item {
    transform: scale(var(--ics-side-scale));
    opacity: var(--ics-side-opacity);
}

.mr-pillars-section .ics-items:hover .ics-item.ics-center {
    transform: scale(var(--ics-side-scale));
    opacity: var(--ics-side-opacity);
}

.mr-pillars-section .ics-item:hover,
.mr-pillars-section .ics-items:hover .ics-item:hover {
    transform: scale(var(--ics-center-scale));
    opacity: var(--ics-center-opacity);
}

.mr-pillars-section .ics-item-inner {
    position: relative;
}

.mr-pillars-section .ics-item-icon {
    width: var(--ics-icon-size);
    height: var(--ics-icon-size);
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: scale(var(--ics-side-icon-scale));
    transition: transform 0.3s ease;
}

.mr-pillars-section .ics-item-icon img {
    max-width: var(--ics-icon-img-max-width);
    height: auto;
    display: block;
    object-fit: contain;
}

.mr-pillars-section .ics-item:hover .ics-item-icon,
.mr-pillars-section .ics-item.ics-center .ics-item-icon {
    transform: scale(var(--ics-center-icon-scale));
}

.mr-pillars-section .ics-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #151e30;
}

.mr-pillars-section .ics-item-description {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 20rem;
    margin: 0 auto;
    color: #555;
}

/* About */
.mr-about-section {
    padding: 5rem 0;
    background: #fff;
}

.mr-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mr-about-grid img {
    width: 100%;
    border-radius: 16px;
}

.mr-about-grid h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.25rem;
}

.mr-about-grid p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #444;
}

.mr-about-grid .mr-highlight { color: var(--mr-accent); font-weight: 700; }

/* Community */
.mr-community-section {
    position: relative;
    min-height: 80vh;
    padding: 7.5rem 0;
    background-color: #ebe1df;
    background-image: var(--mr-community-bg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mr-community-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #ebe1df;
    opacity: 0.75;
    z-index: 0;
}

.mr-community-section .mr-container {
    position: relative;
    z-index: 1;
}

@media (min-width: 1025px) {
    .mr-community-section {
        background-attachment: fixed;
    }
}

.mr-community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(80vh - 15rem);
}

.mr-community-heading h2 {
    font-family: var(--mr-heading-font);
    font-size: clamp(2.25rem, 5vw, 4.375rem);
    font-weight: 600;
    line-height: 1;
    color: #151e30;
    margin: 0;
    text-align: start;
}

.mr-community-body p {
    font-size: 1.25rem;
    line-height: 1.4;
    color: #151e30;
    margin-bottom: 1.5rem;
    text-align: start;
}

.mr-community-brand {
    color: #df5941;
    font-weight: 400;
}

/* Why learn */
.mr-why-section {
    padding: 7.5rem 0 1.25rem;
    background: #f4edeb;
    text-align: center;
}

.mr-why-inner {
    max-width: 1240px;
}

.mr-why-section h2 {
    font-family: var(--mr-heading-font);
    font-size: clamp(2rem, 4vw, 3.125rem);
    font-weight: 600;
    line-height: 1.2;
    color: #151e30;
    margin: 0 0 1.25rem;
}

.mr-why-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    text-align: left;
}

.mr-why-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mr-why-card {
    background: #f8ded6;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 8px 11px 10px rgba(0, 0, 0, 0.1);
}

.mr-why-card-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.45;
    color: #131f34;
}

.mr-why-card-item i {
    color: #d15e49;
    font-size: 1.625rem;
    line-height: 1;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.mr-why-footer-wrap {
    padding-top: 2.5rem;
}

.mr-why-footer {
    max-width: 55rem;
    margin: 0 auto 1.5rem;
    font-size: 1.4375rem;
    line-height: 1.26;
    color: #131f34;
}

/* CTA band */
.mr-cta-band {
    background: #f4edeb;
    padding: 5.625rem 0;
}

.mr-cta-band > .mr-container {
    max-width: 1440px;
}

.mr-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    padding: 60px 0;
    text-align: center;
    background-color: #131f33;
    background-image: var(--mr-cta-bg);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
}

.mr-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #131f33;
    opacity: 0.5;
    z-index: 0;
}

.mr-cta-card > * {
    position: relative;
    z-index: 1;
}

.mr-cta-band .mr-eyebrow {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 1.25rem;
}

.mr-cta-band h2 {
    font-family: var(--mr-heading-font);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    margin: 0 auto 1.25rem;
    max-width: 52rem;
    padding: 0 1.5rem;
}

.mr-cta-note {
    margin-top: 1.25rem;
    margin-bottom: 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .mr-cta-band {
        padding: 3rem 0 0;
    }

    .mr-cta-card {
        padding: 40px 30px;
    }

    .mr-cta-band h2 {
        padding: 0;
        font-size: 25px;
    }

    .mr-cta-note {
        font-size: 1.125rem;
    }
}

/* Founder */
.mr-founder-section {
    padding: 5rem 0;
    background: #fff;
}

.mr-founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mr-founder-grid img {
    width: 100%;
    border-radius: 16px;
}

.mr-founder-grid h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
}

/* Courses */
.mr-courses-section {
    padding: 7.5rem 0 2.5rem;
    background: #f4edeb;
    overflow: hidden;
}

.mr-courses-head h2,
.mr-courses-section h2 {
    text-align: center;
    font-family: var(--mr-heading-font);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.35;
    text-transform: capitalize;
    color: #151e30;
    margin-bottom: 2rem;
}

.mr-courses-slider {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 0 0 3rem;
}

.mr-courses-slider-inner {
    position: relative;
    padding: 0 clamp(3.25rem, 6vw, 5rem);
}

.mr-courses-viewport {
    overflow: hidden;
    min-width: 0;
}

.mr-courses-track {
    display: flex;
    gap: 1.875rem;
    transition: transform 0.45s ease;
    will-change: transform;
}

.mr-courses-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.mr-courses-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: #131f34;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.mr-courses-prev {
    left: clamp(0.75rem, 2.5vw, 2rem);
}

.mr-courses-next {
    right: clamp(0.75rem, 2.5vw, 2rem);
}

.mr-courses-nav:hover:not(:disabled) {
    background: var(--mr-accent);
}

.mr-courses-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.mr-courses-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.mr-courses-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #151e30;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mr-courses-dots button.is-active {
    background: var(--mr-accent);
    opacity: 1;
    transform: scale(1.15);
}

.mr-courses-slider:not(.is-scrollable) .mr-courses-nav {
    visibility: hidden;
    pointer-events: none;
}

.mr-courses-slider:not(.is-scrollable) .mr-courses-dots {
    display: none;
}

@media (min-width: 768px) {
    .mr-courses-slide {
        flex: 0 0 calc((100% - 1.875rem) / 2);
    }
}

@media (min-width: 1024px) {
    .mr-courses-slide {
        flex: 0 0 calc((100% - 5.625rem) / 4);
    }
}

.mr-course-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.mr-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

.mr-course-card:hover .mr-course-card-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mr-course-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.mr-course-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mr-course-body h3 {
    font-family: var(--mr-font);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 .75rem;
}

.mr-course-body h3 a {
    color: #151e30;
    text-decoration: none;
}

.mr-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
    color: #151e30;
    margin-bottom: .75rem;
}

.mr-course-meta i { color: var(--mr-accent); margin-right: .35rem; }

.mr-course-excerpt {
    font-size: .9rem;
    color: var(--mr-muted);
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.mr-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.mr-course-footer .mr-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mr-accent);
}

.mr-course-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    border-top: 1px solid #eee;
}

.mr-course-card-actions .mr-view-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--mr-accent);
    border: none;
    border-radius: 0 0 9px 9px;
    transition: background .25s ease;
}

.mr-course-card-actions .mr-view-btn:hover {
    background: var(--mr-accent-dark);
    color: #fff;
}

.mr-course-card-actions .mr-view-btn i {
    font-size: 0.75rem;
}

@media (hover: none) {
    .mr-course-card-actions {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        position: static;
        border-radius: 0 0 9px 9px;
    }

    .mr-course-card-actions .mr-view-btn {
        border-radius: 0 0 9px 9px;
    }
}

.mr-courses-section .mr-courses-foot {
    padding-top: 0.5rem;
}

.mr-courses-section .text-center.mt-4 {
    margin-top: 0 !important;
}

/* Testimonials — match beta / reference exactly */
.mr-testimonials-section {
    position: relative;
    padding: 7.5rem 0;
    background-color: #f6efe9;
    background-image: var(--mr-testimonial-bg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mr-testimonials-inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.mr-testimonials-title {
    text-align: center;
    font-family: var(--mr-heading-font);
    font-size: 50px;
    font-weight: 600;
    line-height: 60px;
    color: #151e30;
    margin: 0 auto 2.5rem;
}

.mr-testimonial-stage {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 4.5rem;
}

.mr-testimonial-quote {
    position: absolute;
    z-index: 2;
    color: #131f34;
    font-size: 3.5rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.mr-testimonial-quote--open {
    left: 0;
    top: 54%;
    transform: translateY(-50%);
}

.mr-testimonial-quote--close {
    right: 0.75rem;
    top: 88%;
    transform: translateY(-50%);
}

.mr-testimonials-section .mr-testimonial-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.mr-testimonials-section .mr-testimonial-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

#mrTestimonialSlider .mr-testimonial-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    align-items: start;
    transform: none !important;
}

#mrTestimonialSlider .mr-testimonial-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 0;
}

#mrTestimonialSlider .mr-testimonial-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.mr-testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 640px;
    box-sizing: border-box;
}

.mr-testimonial-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 18px rgba(19, 31, 52, 0.08);
    margin: 0 auto;
}

.mr-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mr-testimonial-name {
    font-family: var(--mr-heading-font);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: #151e30;
    margin: 0;
    transition: color 0.25s ease;
}

.mr-testimonial-card:hover .mr-testimonial-name {
    color: #df5941;
}

.mr-testimonial-role {
    margin: 0;
    font-family: var(--mr-body-font);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    color: #6b7280;
}

.mr-testimonial-text {
    margin: 0;
    max-width: 560px;
    font-family: var(--mr-body-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #4b5563;
    text-align: center;
}

/* Keep arrows for a11y / swipe alternative, but match image (dots-only look) */
.mr-testimonial-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    background: transparent;
    color: #131f34;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.mr-testimonial-carousel:hover .mr-testimonial-nav,
.mr-testimonial-nav:focus-visible {
    opacity: 0.55;
}

.mr-testimonial-nav:hover,
.mr-testimonial-nav:focus-visible {
    color: #df5941;
    opacity: 1;
}

.mr-testimonial-prev { left: -3.25rem; }
.mr-testimonial-next { right: -3.25rem; }

.mr-testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.mr-testimonial-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #151e30;
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mr-testimonial-dots button.is-active {
    background: #df5941;
    opacity: 1;
    transform: scale(1.25);
}

@media (max-width: 991px) {
    .mr-testimonials-title {
        font-size: 40px;
        line-height: 1.1;
    }

    .mr-testimonial-stage {
        padding: 0 2.75rem;
    }

    .mr-testimonial-quote {
        font-size: 2rem;
    }

    .mr-testimonial-prev { left: -0.5rem; }
    .mr-testimonial-next { right: -0.5rem; }

    .mr-testimonial-nav {
        opacity: 0.45;
    }
}

@media (max-width: 767px) {
    .mr-testimonials-section {
        padding: 4rem 0;
    }

    .mr-testimonials-title {
        font-size: 32px;
        margin-bottom: 2rem;
    }

    .mr-testimonial-stage {
        padding: 0 1.75rem;
    }

    .mr-testimonial-quote {
        font-size: 1.65rem;
    }

    .mr-testimonial-quote--open {
        top: 48%;
    }

    .mr-testimonial-quote--close {
        right: 0.35rem;
        top: 86%;
    }

    .mr-testimonial-card {
        padding: 0 0.75rem;
        gap: 12px;
    }

    .mr-testimonial-avatar {
        width: 100px;
        height: 100px;
    }

    .mr-testimonial-text {
        font-size: 16px;
        line-height: 26px;
    }

    .mr-testimonial-prev,
    .mr-testimonial-next {
        display: none;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .mr-home-hero-grid,
    .mr-about-grid,
    .mr-founder-grid {
        grid-template-columns: 1fr;
    }

    .mr-community-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 2rem;
    }

    .mr-community-heading h2,
    .mr-community-body p {
        text-align: center;
    }

    .mr-community-section {
        min-height: auto;
        padding: 4rem 0;
        background-attachment: scroll;
    }

    .mr-intro-band { min-height: auto; }
    .mr-intro-video { aspect-ratio: 16 / 9; }

    .mr-why-columns {
        grid-template-columns: 1fr;
    }

    .mr-why-footer {
        font-size: 1.125rem;
        padding: 0 0.5rem;
    }

    .mr-courses-slider-inner {
        padding: 0 3rem;
    }

    .mr-courses-prev {
        left: 0.5rem;
    }

    .mr-courses-next {
        right: 0.5rem;
    }

    .mr-courses-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8rem;
    }

    .mr-courses-slide {
        flex-basis: 100%;
    }

    .mr-counter-card { width: 100%; max-width: 360px; }
    .mr-pillars-section .ics-line { display: none; }
    .mr-pillars-section .ics-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    .mr-pillars-section .ics-item.ics-center {
        transform: scale(var(--ics-side-scale));
        opacity: var(--ics-side-opacity);
    }
    .mr-pillars-section .ics-item:first-child {
        transform: scale(var(--ics-center-scale));
        opacity: var(--ics-center-opacity);
    }
    .mr-pillars-section .ics-stage {
        --ics-icon-size: 86px;
        padding: 3rem 1rem;
    }
}

@media (max-width: 768px) {
    .mr-home-hero { padding-top: 1.5rem; }
    .mr-intro-copy { font-size: 1.625rem; }
    .mr-intro-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
    .mr-adv-btn { width: 100%; }
}
