/* Explain: Styling for website components like navigation, cards, and sections. - */
.mindset-menu {
    display: flex;
    width: min(1120px, 100%);
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 248, 238, 0.86);
    box-shadow: 0 24px 60px rgba(15, 76, 92, 0.16);
    backdrop-filter: blur(18px);
    padding: 0.45rem;
}

.header-scrolled {
    top: 0 !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: rgba(255, 248, 238, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.menu-top-row {
    display: contents;
}

.menu-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
    padding-left: 0.25rem;
}

.menu-toggle {
    display: none;
    min-height: 46px;
    min-width: 46px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--coral-color);
    color: white;
    box-shadow: 0 14px 30px rgba(255, 107, 90, 0.22);
}

.brand-mark {
    display: grid;
    height: 28px;
    width: 28px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coral-color), var(--warm-yellow));
}

.menu-links {
    display: flex;
    margin-left: auto;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.menu-links::-webkit-scrollbar {
    display: none;
}

.menu-links a {
    min-height: 44px;
    border-radius: 999px;
    color: var(--deep-teal);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 0.75rem 0.9rem;
    text-decoration: none;
    transition: all 250ms ease;
}

.menu-links a:hover {
    background: rgba(15, 76, 92, 0.09);
    color: var(--coral-color);
}

.menu-links a.nav-contact-btn {
    background: var(--coral-color);
    color: white;
    margin-left: 0.5rem;
    box-shadow: 0 4px 14px rgba(255, 107, 90, 0.25);
}

.menu-links a.nav-contact-btn:hover {
    background: var(--primary-hover);
    color: white;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    height: 0.55rem;
    width: 0.55rem;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.color-blob {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(4px);
    opacity: 0.7;
}

.blob-coral {
    right: -8rem;
    top: 7rem;
    height: 22rem;
    width: 22rem;
    background: rgba(255, 107, 90, 0.25);
}

.blob-purple {
    bottom: 10rem;
    left: -10rem;
    height: 28rem;
    width: 28rem;
    background: rgba(167, 139, 250, 0.24);
}

.metric-pill {
    border: 1px solid rgba(15, 76, 92, 0.14);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 40px rgba(15, 76, 92, 0.08);
    padding: 1rem 0.75rem;
}

.metric-pill strong {
    display: block;
    color: var(--coral-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1;
}

.metric-pill span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.portrait-panel,
.trainer-portrait {
    position: absolute;
    border-radius: 38% 62% 46% 54% / 52% 35% 65% 48%;
}

.panel-yellow {
    inset: 1.5rem 2.5rem auto auto;
    height: 82%;
    width: 72%;
    background: var(--warm-yellow);
    transform: rotate(7deg);
}

.panel-teal {
    inset: auto auto 1rem 1rem;
    height: 74%;
    width: 70%;
    background: var(--deep-teal);
    transform: rotate(-10deg);
}

.trainer-portrait {
    inset: 3.5rem 2rem 2rem 3rem;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(15, 76, 92, 0.28);
}

.growth-path-card,
.floating-note {
    position: absolute;
    border-radius: 1.5rem;
    box-shadow: 0 24px 54px rgba(15, 76, 92, 0.18);
    font-weight: 900;
}

.growth-path-card {
    bottom: 2rem;
    left: 0;
    display: flex;
    max-width: 17rem;
    align-items: center;
    gap: 0.9rem;
    background: white;
    color: var(--deep-teal);
    padding: 1rem 1.15rem;
}

.organic-frame {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border: 1rem solid white;
    border-radius: 34% 66% 60% 40% / 43% 38% 62% 57%;
    box-shadow: 0 30px 70px rgba(15, 76, 92, 0.14);
}

.floating-note {
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 17rem;
    padding: 1rem 1.2rem;
}

.insight-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: white;
    color: var(--deep-teal);
    font-weight: 800;
    padding: 1rem;
}

.insight-tile i {
    color: var(--coral-color);
}

.program-card,
.story-card,
.testimonial-card,
.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-organic);
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.14);
}

.program-card {
    min-height: 25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    padding: 2rem;
    transition: transform 300ms ease, background 300ms ease;
}

.program-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    transform: translateY(-8px);
}

.program-orbit {
    display: grid;
    height: 5rem;
    width: 5rem;
    place-items: center;
    border-radius: 38% 62% 51% 49% / 50% 39% 61% 50%;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 2rem;
}

.method-rung {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: start;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 50px rgba(15, 76, 92, 0.08);
    padding: 1.5rem;
}

.rung-number {
    display: grid;
    height: 3rem;
    width: 3rem;
    place-items: center;
    border-radius: 999px;
    background: var(--deep-teal);
    color: white;
    font-weight: 900;
}

.step-node {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: white;
    padding: 2rem;
    box-shadow: 0 20px 46px rgba(15, 76, 92, 0.1);
}

.step-node span {
    display: grid;
    height: 3.5rem;
    width: 3.5rem;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coral-color), var(--warm-yellow));
    color: white;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
}

.testimonial-card {
    background: white;
    border-color: var(--border-color);
    padding: 2rem;
}

.faq-collapse {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem !important;
}

.contact-card {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 248, 238, 0.94);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.footer-radiance {
    position: relative;
    background: radial-gradient(circle at 12% 20%, rgba(246, 196, 83, 0.34), transparent 20rem), linear-gradient(135deg, var(--deep-teal), #082F39 72%);
}

.footer-radiance::after {
    position: absolute;
    right: -6rem;
    top: -10rem;
    height: 22rem;
    width: 22rem;
    border-radius: 999px;
    background: rgba(255, 107, 90, 0.26);
    content: "";
}

@media (max-width: 640px) {
    .mindset-menu {
        border-radius: 1.6rem;
        align-items: stretch;
        flex-direction: column;
    }

    .menu-top-row {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 0.75rem;
    }

    .menu-brand {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .menu-toggle {
        display: grid;
        flex: 0 0 auto;
    }

    .menu-links {
        display: none;
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        gap: 0.35rem;
        overflow: visible;
        padding: 0.25rem;
        white-space: normal;
    }

    .mindset-menu.menu-open .menu-links {
        display: flex;
    }

    .menu-links a {
        display: block;
        text-align: center;
    }

    .menu-links a.nav-contact-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .trainer-portrait {
        inset: 4rem 0.75rem 2rem 1.25rem;
    }

    .method-rung {
        grid-template-columns: 1fr;
    }
}
