:root{
    --base-font-size: 16px;
    --base-font-family: "Open Sans", sans-serif;
    --heading-font-family: "Raleway", sans-serif;
    --primary-blue: #4396b4;
    --primary-orange: #fa9959;
    --primary-black: #2d2e2d;
    --base-padding: 7rem 4rem;
    --base-line-height: 1.7;
    --heading-line-height: 1.3;
}

html {
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span{
    font-variant-numeric: lining-nums;
    -moz-font-feature-settings: "lnum" 1;
    -moz-font-feature-settings: "lnum=1";
    -ms-font-feature-settings: "lnum" 1;
    -o-font-feature-settings: "lnum" 1;
    -webkit-font-feature-settings: "lnum" 1;
    font-feature-settings: "lnum" 1;
}

.brainmd-bha{
    margin: 0;
    padding: 0;
    font-size: var(--base-font-size);
    font-weight: 400;
    font-family: var(--base-font-family);
    box-sizing: border-box;
    color: var(--primary-black);
}

.brainmd-bha *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.brainmd-bha-title{
    font-size: 3.25em;
    font-family: var(--heading-font-family);
    font-weight: 600;
    line-height: var(--heading-line-height);
}

.brainmd-bha-subtitle{
    font-size: 1.5em;
    font-family: var(--heading-font-family);
    font-weight: 700;
    line-height: var(--heading-line-height);
}

.brainmd-bha-description{
    font-size: 1.25em;
    font-family: var(--base-font-family);
    font-weight: 400;
    line-height: var(--base-line-height);
}

.brainmd-bha-link{
    font-size: 1.5em;
    line-height: 1;
    font-family: var(--heading-line-height);
    font-weight: 700;
    letter-spacing: 3px;
    text-decoration: none;
    color: white;
    background-color: var(--primary-orange);
    outline: none;
    border: none;
    border-radius: 100px;
    padding: 0.75em 1em;
    width: max-content;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.brainmd-bha-link:hover{
    text-decoration: none !important;
    color: white;
    background-color: #a86438;
}

.brainmd-bha-link:active,
.brainmd-bha-link:focus,
.brainmd-bha-link:visited{
    text-decoration: none !important;
    color: white !important;
    background-color: var(--primary-orange) !important;
}

.brainmd-bha-container{
    width: 100%;
    max-width: 1400px;
    height: auto;
    padding: var(--base-padding);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.brainmd-bha-homepage-hero{
    width: 100%;
    height: auto;
    background: #e6f3fb;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 7rem;
}

.brainmd-bha-homepage-hero > div{
    align-self: stretch;
}

.brainmd-bha-homepage-hero-illustration{
    flex: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    border-radius: 5rem 0 0 5rem;
}

.brainmd-bha-homepage-hero-illustration video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50px 0 0 50px;
}

.brainmd-bha-homepage-hero-content{
    flex: 1;
    padding: 8rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.brainmd-bha-homepage-hero-content .brainmd-bha-title{
    color: var(--primary-blue);
    max-width: 400px;
    font-size: 3.875em;
}

.brainmd-bha-homepage-hero-content .brainmd-bha-description{
    color: var(--primary-black);
}

.brainmd-bha-cta{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}

.brainmd-bha-cta .brainmd-bha-title{
    color: var(--primary-blue);
}

.brainmd-bha-cta .brainmd-bha-container{
    justify-content: space-between;
}

.brainmd-bha-da{
    background-color: white;
}

.brainmd-bha-base-description{
    font-size: 1em;
    color: var(--primary-black);
    text-align: center;
    max-width: 1000px;
    line-height: 1.7;
}

.brainmd-bha-da .brainmd-bha-subtitle{
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    max-width: 400px;
    line-height: 1.5;
    margin: 0 auto;
}

.brainmd-bha-da .brainmd-bha-container--column{
    gap: 5rem;
}

.brainmd-bha-da .brainmd-bha-container--column > div{
    flex: 1;
}

.brainmd-bha-homepage-da-content{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3.8rem;
}

.brainmd-bha-homepage-da-portrait{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brainmd-bha-da-portrait .brainmd-bha-container--column{
    gap: 5rem;
}

.brainmd-bha-da-portrait .brainmd-bha-subtitle{
    max-width: 100%;
}

.brainmd-bha-da .hide_on_mobile .brainmd-bha-base-description{
    margin: 0 auto;
    margin-bottom: -3rem;
}

.brainmd-bha-action-plan{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}

.brainmd-bha-action-plan .brainmd-bha-container{
    flex-direction: column;
    gap: 4rem;
}

.brainmd-bha-action-plan-benefits{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 4rem;
    align-items: flex-start;
    margin: 5rem 0;
    flex-wrap: wrap;
}

.brainmd-bha-action-plan-benefit{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
}

.brainmd-bha-action-plan-benefit-icon{
    max-width: fit-content;
    margin: 0 auto;
}

.brainmd-bha-action-plan-benefit-content .brainmd-bha-description:first-child{
    font-weight: 700;
}

.brainmd-bha-action-plan-benefit-content .brainmd-bha-description:nth-child(2){
    max-width: 200px;
    margin: 0 auto;
}

.brainmd-bha-action-plan-benefit-content{
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.brainmd-bha-action-plan .brainmd-bha-title{
    text-align: center;
}

.brainmd-bha-science{
    background-color: white;
}

.brainmd-bha-science .brainmd-bha-container{
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.brainmd-bha-science .brainmd-bha-container > div{
    flex: 1;
}

.brainmd-bha-science-scans{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.brainmd-bha-science-scans-cards{
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    gap: 3rem;
}

.brainmd-bha-science-scans-cards h3{
    font-size: 1.5em; 
    text-transform: uppercase; 
    text-align: center; 
    font-family: var(--heading-font-family);
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.7;
}

.brainmd-bha-science-scans-cards img{
    width: 100%;
    height: auto;
}

.brainmd-bha-science-scans-healthy-card{
    padding: 4rem 4rem; 
    background: #edf4f7; 
    border-radius: 30px; 
    display: flex; 
    flex-direction: column; 
    gap: 3rem;
}

.brainmd-bha-science-content{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
}

.brainmd-bha-science-content .brainmd-bha-subtitle{
    text-transform: uppercase;
    color: var(--primary-blue);
    letter-spacing: 3px;
}

.grouped-text{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.brainmd-bha-science-item{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    text-align: left;
}

.brainmd-bha-science-list{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
}

.brainmd-bha-science-list img{
    width: 36px;
    height: 36px !important;
}

.brainmd-bha-science .brainmd-bha-container{
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.brainmd-bha-science .brainmd-bha-container > div{
    flex: 1;
}

.brainmd-bha-testimonials{
    background-color: #d4e9e2;
}

.brainmd-bha-testimonials .brainmd-bha-container{
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.brainmd-bha-testimonials .brainmd-bha-container > div{
    flex: 1;
}

.brainmd-bha-testimonial-portrait{
    display: flex;
    justify-content: center;
    align-items: center;
}

.brainmd-bha-testimonial-content{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
}

.carousel-container {
    background-color: white;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.carousel-slide {
    text-align: center;
    padding: 20px;
    display: none; 
    width: 100%; 
    font-size: 1.2em;
}

.carousel-slide.active {
    display: block;
}

.attribution {
    font-style: italic;
    margin-top: 10px;
    color: #555;
}

.arrow {
    background: #b7d5cb;
    border: none;
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    outline: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100px;
    line-height: 1.5;
}

.left-arrow {
    left: -23px;
}

.right-arrow {
    right: -23px;
}

.brainmd-bha-brain-info{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    position: relative;
}

.brainmd-bha-brain-info .brainmd-bha-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 8rem 2rem;
    gap: 7rem;
}

.brainmd-bha-brain-info-content{
    width: 52%;
}

.brainmd-bha-brain-info-brain{
    flex: 1;
}

.brainmd-bha-brain-info-content{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.brain-shadow{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to top, #d6eceb 0%, #d6eceb 50%, transparent 100%);
    z-index: 1;
}

.brainmd-bha-brain-info .brain-shadow{
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 400px;
    background: linear-gradient(to top, #d6eceb 0%, #d6eceb 50%, transparent 100%);
    z-index: 1;
    width: 50%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%);
}

.brainmd-bha-brain-info-brain img{
    width: 125%;
}

.show_on_mobile{
    display: none;
}

.hide_on_mobile{
    display: block;
}

.brainmd-bha-testimonials .brainmd-bha-title{
    text-align: center;
}

.brainmd-bha-title{
    text-align: center;
}

.brainmd-bha-medical-disclaimer{
    background: #e1e1e1;
}

.brainmd-companies{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.brainmd-companies img{
    max-width: 300px;
}

.brainmd-group-of-companies .brainmd-bha-container{
    flex-direction: column;
    gap: 3rem;
}

/* Results Page */
.brainmd-bha-results{
    color: var(--primary-black);
}

.brainmd-bha-results .brainmd-bha-link{
    background: var(--primary-blue);
    text-transform: uppercase;
}

.spread-the-word{
    background-color: #1c3e4a;
    color: white;
}

.spread-the-word .brainmd-bha-container{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.social-media{
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

.social-media a{
    text-decoration: none;
    color: white;
}

.whats-next{
    background: #ebf5f2;
}

.whats-next .brainmd-bha-container,
.action-plan .brainmd-bha-container{
    justify-content: space-between;
    align-items: flex-start;
}

.whats-next .brainmd-bha-homepage-hero-content{
    gap: 4rem;
}

.whats-next .brainmd-bha-homepage-hero-content .brainmd-bha-title {
    color: var(--primary-blue);
    max-width: 400px;
    font-size: 3.25em;
}

.whats-next .brainmd-bha-homepage-hero-content ul{
    list-style: none;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
}

.whats-next .brainmd-bha-homepage-hero-content ul li{
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    font-size: 1.25em;
    font-family: var(--base-font-family);
    font-weight: 700;
    line-height: var(--base-line-height);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.whats-next .brainmd-bha-homepage-hero-content ul li img{
    margin-top: 8px;
}

.whats-next .brainmd-bha-homepage-hero-content .brainmd-bha-description{
    max-width: 400px;
}

.action-plan{
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
}

.action-plan .action-plan-item-content{
    display: none;
}

.action-plan .brainmd-bha-title{
    max-width: 500px;
    text-align: left;
}

.action-plan-accordion{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 600px;
}

.action-plan-item{
    border-radius: 10px;
    padding: 2rem 3rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
}

.action-plan-item-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-plan-item-title i{
    font-size: 2em;
}

.action-plan h3.brainmd-bha-description{
    font-family: var(--heading-font-family);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.brain-fit-score .brainmd-bha-container{
    gap: 7rem;
}

.brain-fit-score .brainmd-bha-container > div{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
}

.brain-fit-score .action-plan-item-content{
    display: none;
}

.brain-fit-score .brainmd-bha-title{
    color: var(--primary-blue);
}

.brain-fit-score .action-plan-accordion{
    gap: 0;
}

.brain-fit-score .action-plan-accordion .action-plan-item{
    border-radius: 0;
    background: none !important;
    border-top: 1px solid var(--primary-black);
    border-bottom: 1px solid var(--primary-black);
}

.brain-fit-score .action-plan-accordion .action-plan-item .brainmd-bha-description{
    text-align: center;
    width: -webkit-fill-available;
    text-transform: uppercase;
    color: var(--primary-black);
    font-family: var(--heading-font-family);
    letter-spacing: 3px;
    font-weight: 700;
}

.shop-supplements{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.shop-supplements .brainmd-bha-title{
    max-width: 600px;
    margin: 0 auto;
}

.shop-supplements .supplements{
    display: flex;
    justify-content: space-evenly;
}

.shop-supplements .supplement{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.shop-supplements .supplement .brainmd-bha-description{
    font-weight: 700;
}

.about-your-type{
    text-align: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-your-type .brainmd-bha-description{
    max-width: 700px;
}

.about-brain-type .brainmd-bha-container{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-video-placeholder{
    position: relative;
}

.about-brain-type .about-video{
    position: relative;
}

.about-brain-type .play-video{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.about-brain-type .play-video:hover{
    zoom: 1.1;
}

.video-elipse-container{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 50rem;
    height: 50rem;
    background: linear-gradient(to bottom right, #e6f7ff, #ffffff);
    border-top-right-radius: 100% 100%;
}

.video-elipse-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 55%;
    left: 40%;
    transform: translate(-50%, -50%);
    gap: 2rem;
}

.video-elipse-content img{
    max-width: 105px;
    height: auto;
}

.video-elipse-content span{
    font-size: 2em;
    letter-spacing: 4px;
    font-weight: 600;
    font-family: var(--heading-font-family);
    color: #1c3e4a;
    text-transform: uppercase;
}

.about-your-type .brainmd-bha-subtitle{
    text-transform: uppercase;
    color: var(--primary-blue);
    letter-spacing: 3px;
}

.brain-type-hero{
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
}

.brain-type-hero .brainmd-bha-container{
    justify-content: space-between;
    gap: 5rem;
    align-items: center;
}

.brain-type-hero .section-content-right{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brain-type-hero .section-content-right .bfs-graph{
    width: 100%;
    height: auto;
}

.brain-type-hero .brainmd-bha-container > div{
    flex: 1;
}

.brain-type-hero .section-content-left{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brain-type-hero .section-content-left .brainmd-bha-title{
    max-width: 400px;
    color: var(--primary-blue);
    margin: 0 auto;
}

.brain-type-hero .section-content-left .brainmd-bha-description{
    max-width: 450px;
    margin: 0 auto;
}

.brain-type-head{
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    padding: 1rem;
    text-align: center;
    justify-content: center;
    border-radius: 30px;
}

.brain-type-head .brainmd-bha-description{
    text-transform: uppercase;
    color: var(--primary-blue);
    font-family: var(--heading-font-family);
    letter-spacing: 3px;
    font-weight: 700;
}

.why-your-brain-works{
    background: #c4edf9;
    position: relative;
}

.why-your-brain-works .brainmd-bha-container{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-bottom: 20rem;
}

.why-your-brain-works .brainmd-bha-container .brainmd-bha-title{
    max-width: 600px;
}

.why-your-brain-works .brainmd-bha-container .brainmd-bha-description{
    max-width: 900px;
}

.why-your-brain-works .brainmd-bha-container .brainmd-bha-description:last-child{
    max-width: 500px;
    z-index: 1000;
}

.why-your-brain-works .brain-shadow{
    height: 500px;
}

.why-your-brain-works .brain-shadow .brainmd-bha-description{
    top: 75%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.brain-points{
    position: relative;
}

.brain-point-item{
    text-align: left;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brain-point-title{
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #f4faf8;
    color: var(--primary-black);
    font-family: var(--heading-font-family);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.25em;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    width: max-content;

    position: relative;
}

.brain-point-item .brainmd-bha-description{
    padding-left: 2rem;
}

.brain-point-arrow{
    position: absolute;
}

.worry-arrow{
    left: 100%;
    top: 50%;
    transform: translateY(0%);
    max-width: unset;
}

.motivation-arrow{
    left: 100%;
    bottom: 50%;
    transform: translateY(0%);
}

.mood-arrow{
    right: 100%;
    top: 50%;
    transform: translateY(0%);
}

.stress-arrow{
    right: 100%;
    bottom: 50%;
    transform: translateY(0%);
}

.brain-point-item{
    position: absolute;
}

.brain-point-item-worry{
    top: 8%;
    left: -45%;
}

.brain-point-item-motivation{
    top: 50%;
    left: -45%;
}

.brain-point-item-mood{
    top: 8%;
    right: -50%;
}

.brain-point-item-stress{
    top: 50%;
    right: -35%;
}

.about-brain-type-thumbnail{
    width: 100%;
    height: auto;
}

.open-arrow-icon{
    display: none;
}

.score{
    background: white;
    border-radius: 30px;
}

section.score .content {
    background-color: #eef6f3;
    padding: 40px 60px;
}

section.score .content-footer {
    padding: 40px 60px 40px 0;
    margin-top: 40px;
}

section.score h4.subtitle {
    margin-top: 15px;
    letter-spacing: 3px;
}

section.score p {
    text-align: center;
}

.brain-score p.content {
    float: left;
    display: inline-block;
    margin-left: 65px;
    line-height: 16px;
}

.brain-score-wrap {
    width: 65%;
    float: left;
}

.brain-score {
    box-sizing: border-box;
    height: auto;
    padding: 3rem;
    padding-top: 3rem;
}

.brain-score .title, .brain-type .title {
    text-align: center;
    font-size: 24px;
    padding: 2px 0 8px 0;
}

.brain-score .score, .brain-type .score {
    background: #f2f2f2;
    padding: 20px;
    height: 100px;
}

.brain-score .score span, .brain-type .score span {
    font-size: 40px;
    display: inline-block;
    float: left;
    margin: 28px 20px 20px 0;
    font-weight: bold;
    color: #5b7e96;
    position: absolute;
}

.graph .left-label {
    position: absolute;
    display: inline-block;
    left: 0%;
    bottom: 20px;
    width: 55px;
}

.graph .left-label p.bot, .graph .left-label p.top {
    font-size: 13px;
    text-align: center;
    line-height: 12px;
}

.graph .left-label ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.graph .graph-container {
    width: 85%;
}

.chart-lines {
    position: absolute;
    z-index: -1;
    bottom: -23px;
}

.chart-bar .bars-wrap {
    display: inline-block;
    width: calc(100%/7);
    padding: 0 4px;
}

.chart-bar {
    position: relative;
}

.chart-lines p.lines {
    background-color: #c4c4c4;
    height: 1px;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 22px;
}

.chart-lines p.lines:last-child {
    background-color: #929292;
    height: 2px;
}

.chart-bar .bars-wrap .bars {
    width: 100%;
}

.bars-wrap .bars>div {
    background-color: #5b7e96;
    color: #fff;
    text-align: center;
    font-weight: bolder;
}

.chart-bar .bars-wrap.last {
    width: 12px;
}

.bars-wrap.last .bars>div {
    background-color: transparent;
}

.chart .chart-label .bars-wrap .clabel {
    font-size: 9px !important;
    line-height: 12px !important;
    font-weight: bolder;
    text-align: center;
    background: #6c8ca2;
    padding: 0;
    height: 35px;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart .chart-label .bars-wrap .clabel span {
    position: relative;
}

.chart .chart-label .bars-wrap .clabel.single {
    padding: 0;
}

.chart .chart-label {
    position: relative;
}

.chart .chart-label .bars-wrap {
    display: inline-block;
    width: calc(100%/7);
    color: #ffffff;
    padding: 0 4px;
}

.chart-bar .bars div{
    background-color: #5b7e96;
    margin-right: 4px;
    margin-left: 4px;
    height: 100%;
    color: #fff;
    text-align: center;
    font-weight: 600;
    border-radius: 0;
    padding-top: 5px;
}

.bars-wrap .bars>div>div {
    position: relative;
    top: 4px;
    font-size: 20px;
    background: transparent;
}

.chart-box{
    position: relative;
    left: 8%;
}

.chart-box .bars.p_1, .bars-wrap .bars.p_1>div{ height: 24px; }
.chart-box .bars.p_2, .bars-wrap .bars.p_2>div{ height: 47px; }
.chart-box .bars.p_3, .bars-wrap .bars.p_3>div{ height: 70px; }
.chart-box .bars.p_4, .bars-wrap .bars.p_4>div{ height: 93px; }
.chart-box .bars.p_5, .bars-wrap .bars.p_5>div{ height: 116px; }
.chart-box .bars.p_6, .bars-wrap .bars.p_6>div{ height: 139px; }
.chart-box .bars.p_7, .bars-wrap .bars.p_7>div{ height: 162px; }
.chart-box .bars.p_8, .bars-wrap .bars.p_8>div{ height: 185px; }
.chart-box .bars.p_9, .bars-wrap .bars.p_9>div{ height: 208px; }
.chart-box .bars.p_10, .bars-wrap .bars.p_10>div{ height: 231px; }

.bars-wrap .bars>div.one { background-color: #3f96b4; }
.bars-wrap .bars>div.two { background-color: #a6769a; }
.bars-wrap .bars>div.three { background-color: #ff8672; }
.bars-wrap .bars>div.four { background-color: #62cbc9; }
.bars-wrap .bars>div.five { background-color: #7bb6a1; }
.bars-wrap .bars>div.six { background-color: #e4925e; }
.bars-wrap .bars>div.seven { background-color: #e88697; }

.chart .chart-label .bars-wrap .clabel.one { background-color: #50a2bd; }
.chart .chart-label .bars-wrap .clabel.two { background-color: #b185a6; }
.chart .chart-label .bars-wrap .clabel.three { background-color: #ff9481; }
.chart .chart-label .bars-wrap .clabel.four { background-color: #72d2d0; }
.chart .chart-label .bars-wrap .clabel.five { background-color: #8abfac; }
.chart .chart-label .bars-wrap .clabel.six { background-color: #e89f6f; }
.chart .chart-label .bars-wrap .clabel.seven { background-color: #eb94a3; }

.clearfix {
    clear: both;
}

h2.has-bg {
    text-align: center;
    font-size: 18px;
    letter-spacing: 3px;
    margin-top: 50px;
    margin-bottom: 20px;
}

h2.has-bg span {
    padding: 5px 20px;
    color: #fff;
}

h2.has-bg.one span { background-color: #3e97b4; }
h2.has-bg.two span { background-color: #a6769a; }
h2.has-bg.three span { background-color: #ff8672; }
h2.has-bg.four span { background-color: #62cbc9; }
h2.has-bg.five span { background-color: #7bb6a1; }
h2.has-bg.six span { background-color: #e4925e; }
h2.has-bg.seven span { background-color: #e88697; }

.graph{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.chart{
    border-top: none;
}

.score .brain-type-head{
    padding: 2rem 1rem;
}

.carousel.supplements-carousel {
    overflow: hidden;
    width: 100%; /* or fixed width like 600px */
    position: relative;
}

.supplements-carousel .carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.supplements-carousel .carousel-slide {
    min-width: calc(100% / 3); /* show 3 slides at once */
    flex-shrink: 0;
    box-sizing: border-box;
    flex: 1;
}

.supplements-carousel .right-arrow{
    right: 0;
}

.supplements-carousel .left-arrow{
    left: 0;
}

.sub-description{
    font-weight: 400 !important;
    text-transform: initial !important;
    width: 100% !important;
    font-size: 1.1em !important;
}

.action-plan-item-content{
    padding: 2rem 0;
}

.action-plan-supplement {
    display: flex;
    align-items: center;
    background: #cfe8f2;
    border-radius: 20px;
    padding: 2rem 2rem 2rem 0;
}

.action-plan-supplement-image{
    max-width: 150px;
}

.action-plan-supplement-image img{
    width: 100%;
    height: auto;
}

.action-plan-accordion{
    max-width: 600px;
}

.action-plan-supplements-list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.action-plan-supplement-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-plan-supplement-title{
    font-size: 1.6em;
    line-height: 1.5;
    font-weight: 600;
    color: var(--primary-blue);
}

.action-plan-supplement-link{
    font-family: var(--heading-font-family);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 1.25em;
    color: var(--primary-blue);
    text-decoration: underline;
}

.action-plan-item-content-container{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.action-plan-item-content-container.container-center{
    text-align: center;
}

.action-plan-item-content-list{
    font-weight: 400 !important;
    text-transform: initial !important;
    width: 100% !important;
    font-size: 1.1em !important;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-plan-item-content-list li{
    text-indent: -1.6em;
    padding-left: 1.6em;
    line-height: 1.5;
}

.brainmd-bha-results .brain-type-hero .section-content-left .brainmd-bha-title{
    max-width: 300px;
}

.about-your-type-revision{
    gap: 2rem;
}

.about-your-type-revision .brainmd-bha-description{
    max-width: 450px; 
    margin: 0 auto;
}

.about-brain-type-supplements{
    background: #edf4f7;
}

.brain-score-graph-chart-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 300px;
    max-width: 800px;
    padding-left: 60px;
    margin-top: 3rem;
    margin-left: -3rem;
    transform: scale(0.9);
    transform-origin: center;
}

.brain-score-graph-y-axis {
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 60px;
    font-size: 0.8rem;
}

.brain-score-graph-horizontal-line {
    position: absolute;
    left: 60px;
    right: 0;
    height: 1px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    font-size: 1.5em;
    text-align: center;
    line-height: 1;
}

.brain-score-graph-horizontal-line:nth-child(n+1) {
    top: calc((100% / 10) * (var(--i) - 1));
}

.brain-score-graph-horizontal-line:nth-child(12){
    background: black;
}

.brain-score-graph-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 2;
}

.brain-score-graph-bar {
    width: 12%;
    margin: 0 5px;
    transition: all 0.3s ease;
    height: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.brain-score-graph-bar .brain-score-graph-bar-label {
    position: absolute;
    bottom: -50px;
    padding: 0.5rem;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    color: white;
    font-size: 0.6em;
    text-align: center;
    font-weight: 700;
}

.brain-score-graph-bar:nth-child(1) { background-color: #3f96b4; }
.brain-score-graph-bar:nth-child(2) { background-color: #a6769a; }
.brain-score-graph-bar:nth-child(3) { background-color: #ff8672; }
.brain-score-graph-bar:nth-child(4) { background-color: #62cbc9; }
.brain-score-graph-bar:nth-child(5) { background-color: #7bb6a1; }
.brain-score-graph-bar:nth-child(6) { background-color: #e4925e; }
.brain-score-graph-bar:nth-child(7) { background-color: #e88697; }

.brain-score-graph-bar:nth-child(1) .brain-score-graph-bar-label { background-color: #50a2bd; }
.brain-score-graph-bar:nth-child(2) .brain-score-graph-bar-label { background-color: #b185a6; }
.brain-score-graph-bar:nth-child(3) .brain-score-graph-bar-label { background-color: #ff9481; }
.brain-score-graph-bar:nth-child(4) .brain-score-graph-bar-label { background-color: #72d2d0; }
.brain-score-graph-bar:nth-child(5) .brain-score-graph-bar-label { background-color: #8abfac; }
.brain-score-graph-bar:nth-child(6) .brain-score-graph-bar-label { background-color: #e89f6f; }
.brain-score-graph-bar:nth-child(7) .brain-score-graph-bar-label { background-color: #eb94a3; }

.brain-score-graph-bar span {
    padding: 1rem;
    color: white;
}

.score{
    padding-bottom: 8rem;
}

@media screen and (max-width: 1440px){
    .brainmd-bha-brain-info-brain img {
        width: 100%;
    }    
}

@media screen and (max-width: 1366px){
    .carousel-container {
        background-color: white;
        border-radius: 30px;
        padding: 20px;
        display: flex;
        align-items: center;
        position: relative;
        width: 75%;
        margin: 0 auto;
    }

    .brain-points{
        zoom: 0.7;
    }
}

@media screen and (max-width: 1024px){
    .brainmd-bha{
        font-size: 14px;
    }

    .brainmd-bha-cta .brainmd-bha-container {
        justify-content: center;
        gap: 1rem;
    }

    .show_on_mobile{
        display: block;
    }

    .hide_on_mobile{
        display: none;
    }

    .brainmd-bha-da .brainmd-bha-container--column{
        padding-top: 5rem;
    }

    .brainmd-bha-homepage-da-portrait img,
    .brainmd-bha-testimonial-portrait img{
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: top;
        border-radius: 30px;
    }

    .brainmd-bha-link{
        width: 100%;
    }

    .brainmd-bha-brain-info-brain .show_on_mobile{
        text-align: center;
        margin-bottom: 1rem;
    }

    .action-plan .brainmd-bha-container{
        gap: 5rem;
    }

    .brain-type-hero .section-content-right{
        width: 100%;
    }
}

@media screen and (max-width: 900px){
    .brainmd-bha {
        font-size: 12px;
    }

    .brainmd-bha-link{
        letter-spacing: 1px;
        text-align: center;
        padding: 15px 5px;
        font-weight: 700;
    }

    .brainmd-bha-container{
        flex-direction: column;
        gap: 1rem;
    }

    .brainmd-bha-brain-info .brainmd-bha-container{
        padding: var(--base-padding);
    }

    .brainmd-bha-brain-info .brainmd-bha-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .brainmd-bha-brain-info-content{
        width: 100%;
    }

    .brainmd-bha-brain-info-brain{
        order: 1;
    }

    .brainmd-bha-brain-info-content{
        order: 2;
    }

    .brain-shadow {
        height: 70%;
        background: linear-gradient(to top, #d6eceb 0%, #d6eceb 70%, transparent 100%);
        z-index: 1;
    }    

    .brainmd-bha-brain-info-content .brain-shadow{
        display: none;
    }

    .brainmd-bha-testimonials .brainmd-bha-container{
        gap: 0;
    }

    .carousel-container {
        width: 100%;
        margin-top: -1rem;
    }

    .arrow{
        padding: 7px 15px;
    }

    .brainmd-bha-testimonials .brainmd-bha-title.show_on_mobile {
        text-align: center;
        margin-bottom: 2rem;
    }

    .brainmd-bha-science .brainmd-bha-container{
        flex-direction: column-reverse;
    }

    .brainmd-bha-science .brainmd-bha-container > div {
        flex: none;
        width: 100%;
    }

    .brainmd-bha-science .brainmd-bha-container{
        gap: 0;
    }

    .brainmd-bha-science-scans .brainmd-bha-title{
        text-align: center;
    }

    .brainmd-bha-science-scans .brainmd-bha-subtitle {
        text-transform: uppercase;
        color: var(--primary-blue);
        letter-spacing: 3px;
        text-align: center;
    }

    .brainmd-bha-action-plan-benefit{
        flex: 1 1;
    }

    .brainmd-bha-da .brainmd-bha-container--column {
        padding-top: 3rem;
    }

    .brainmd-bha-homepage-hero {
        width: 100%;
        height: auto;
        background: #e6f3fb;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: flex-start;
        gap: 0rem;
    }

    .brainmd-bha-homepage-hero-content {
        flex: 1;
        padding: 2rem 2rem 3rem 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    .brainmd-bha-homepage-hero-illustration {
        flex: none;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left;
        border-radius: 0 0 5rem 5rem;
        width: 100%;
        height: 300px;
    }

    .brainmd-bha-title {
        font-size: 3em;
    }

    .brain-points{
        zoom: 0.6;
    }

    .why-your-brain-works .brain-shadow {
        height: 310px;
    }

    .brainmd-bha-results{
        font-size: 14px;
    }

    .brainmd-bha-results .brainmd-bha-title{
        text-align: center;
        margin: 0 auto;
        font-size: 2.5em;
    }

    .brainmd-bha-results .brainmd-bha-container{
        padding: 3rem 2rem;
    }

    .action-plan-accordion{
        min-width: 100%;
    }

    .supplements{
        flex-direction: column;
        gap: 2rem;
    }

    .bfs-graph{
        width: 100%;
        height: auto;
    }

    .brain-points {
        zoom: 1;
    }

    .brain-points .brain-point-main-brain{
        width: 100%;
    }

    .brain-point-arrow{
        display: none;
    }

    .brain-point-content{
        display: none;
        background: #f4faf8;
        padding: 10px;
        border-radius: 10px;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .open-arrow-icon{
        display: block;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: absolute;
        right: -10px;
        top: -10px;
        color: white;
        padding: 9px;
        line-height: 1;
        cursor: pointer;
    }

    .brain-point-item-worry {
        top: 25%;
        left: -5%;
    }

    .brain-point-item-motivation {
        top: 50%;
        left: -5%;
    }

    .brain-point-item-mood {
        top: 5%;
        right: -5%;
    }

    .brain-point-item-stress {
        top: 30%;
        right: -5%;
    }

    .brain-point-item{
        zoom: 0.7;
    }

    .why-your-brain-works .brain-shadow {
        height: 280px;
    }

    .brain-point-item .brainmd-bha-description {
        padding-left: 0;
    }

    .brain-type-hero .section-content-left{
        gap: 1rem;
    }

    .about-brain-type .play-video{
        max-width: 50px;
    }

    .about-brain-type .brainmd-bha-container,
    .brain-fit-score .brainmd-bha-container,
    .brain-type-hero .brainmd-bha-container,
    .action-plan .brainmd-bha-container{
        gap: 2rem;
    }

    .brainmd-bha-results .brainmd-bha-link{
        font-size: 1.2em;
        max-width: max-content;
        padding: 15px 30px;
    }

    .whats-next.brainmd-bha-homepage-hero{
        flex-direction: column;
    }

    .brainmd-bha-homepage-hero-illustration{
        border-radius: 30px 30px 0 0;
        background-position: top;
        height: 500px;
    }

    .action-plan{
        background-image: none !important;
    }

    .why-your-brain-works .brainmd-bha-container{
        padding-bottom: 20rem;
    }

    .brain-point-item.brain-point-item-worry,
    .brain-point-item.brain-point-item-mood{
        z-index: 1000;
    }

    #mainHero .brainmd-bha-homepage-hero-illustration{
        height: 300px;
    }

    #mainHero .brainmd-bha-homepage-hero-illustration video{
        border-radius: 0 0 50px 50px;
    }

    .brainmd-bha-brain-info .brain-shadow{
        display: none !important;
    }

    .brainmd-bha-science-scans-cards h3 br{
        display: none;
    }

    .video-elipse-container{
        transform: scale(0.3);
        transform-origin: bottom left;
    }

    .supplements-carousel .carousel-slide{
        min-width: calc(100% / 1);
    }

    .brain-type-head img{
        max-width: 60px;
    }

    .brain-score-graph-bar .brain-score-graph-bar-label {
        position: absolute;
        bottom: -30px;
        padding: 0.5rem;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        color: white;
        font-size: 0.4em;
        text-align: center;
        font-weight: 700;
        line-height: 1;
    }

    .brain-score-graph-horizontal-line{
        font-size: 1;
    }

    .score{
        padding-bottom: -5rem;
    }
}