body {
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

#scroll-button {
    position: absolute;
    margin-top: 50px;
    z-index: 999;
}

/*class from split-type*/
.char {
    margin: 0 !important;
    width: auto !important;
    transform: translateY(-25px);
    transition: transform .2s;
}

/*this is a some P placeholder at the bottom. no clue where it comes from*/
#dummy {
    margin-bottom: 0;
}

/*****************************************************************/
/* LANDING PAGE FORMATTING */

.landing_title, #landing-hero-txt {
    font-size: 4rem !important;
    padding-bottom: 2rem;
    width: 45rem;
    padding-top: 2rem;
}

.landing_txt {
    font-size: 1rem;
}

.landing_container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 6rem;
    padding-bottom: 4rem;
    padding-top: 4rem;
    text-align: left; /* Left-align the text */
    background-color: transparent;
}

.landing_container * {
    margin-left: 10rem;
    width: 30rem;
    max-width: 90%;
    text-align: left;
}

/* landing page logo color */
#landing-page-logo {
    position: fixed;
    z-index: 4;
    top: 5px;
    left: 0.5rem;
    height: 50px;
}

/* navbar */
#landing-navbar {
    position: fixed;
    height: 60px;
    top: 0;
    width: 100%;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: rgba(243, 242, 240, 1) !important;
}

#landing-btn-top {
    position: absolute;
    top: 10px;
    right: 20px;
    color: rgb(18, 71, 71);
    border-color: transparent;
}

#landing-btn-client-nav {
    position: absolute;
    top: 10px;
    right: 150px;
    color: rgb(18, 71, 71);
    border-color: transparent;
}

#landing-btn-top:hover, #landing-btn-client-nav:hover {
    background-color: rgb(18, 71, 71);
    color: white;
}

/*hexagon images */
.hexagon_img {
    position: absolute;
    width: 500px !important;
    z-index: 3; /* Ensure the hexagon image is above the video */
    pointer-events: none; /* Makes the image non-interactive */
    right: 200px;
    top: -75px;
    opacity: 0;
}

.landing-img-mobile {
    visibility: hidden;
    height: 0;
}

/*FORMAT BUTTONS*/
#landing-btn-programs,
#landing-btn-newsletter-programs,
#landing-btn-newsletter-footer,
#landing-btn-contact-research,
#landing-btn-contact-advisory,
#landing-btn-contact-footer,
#modal-btn-close-program,
#modal-btn-close-contact {
    width: 150px;
    color: rgb(18, 71, 71);
    border-color: rgb(18, 71, 71);
    text-align: center;
    margin-top: 1rem;
}

#landing-btn-programs,
#landing-btn-newsletter-programs {
    color: white;
    border-color: white;
}

#landing-btn-contact-research:hover,
#landing-btn-contact-research:focus,
#landing-btn-contact-advisory:hover,
#landing-btn-contact-advisory:focus,
#modal-btn-close-program:hover,
#modal-btn-close-program:focus,
#modal-btn-close-contact:hover,
#modal-btn-close-contact:focus {
    background-color: rgb(18, 71, 71);
    color: white;
}

#landing-btn-programs:hover,
#landing-btn-newsletter-programs:hover {
    background-color: white;
    color: rgb(18, 71, 71)
}


/*****************************************************/
/* BLOCK 1: HERO video */
#landing-container1 {
    position: relative;
    height: 100vh;
    width: 100%;
    left: 0;
    z-index: 5;
}

/* logo white */
.landing_logo_white {
    position: relative;
    z-index: 5;
    top: 5px;
    left: 0.5rem;
    height: 50px;
}

/* this is the new placeholder with the color */
#landing-overlay, #landing-overlay2 {
    z-index: 3;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

#landing-overlay2 {
    visibility: hidden;
}

/* intro video */
#intro-vid {
    z-index: 2;
    position: absolute;
    top: 0;
    width: 100%;
    padding-left: 50%;
    height: 100%;
    left: 0;
    object-fit: cover;
}

/* controls of the carousel */
#landing-counter {
    position: relative;
    bottom: 0;
    left: 0;
    height: 0;
    width: 0;
}

.arrow {
    position: absolute;
    z-index: 4;
    height: 40px;
    right: 1rem;
    top: 50%;
}

#landing-arrow-left {
    left: 1rem;
    z-index: 4;
    transform: rotate(180deg);
}

.arrow:hover {
    width: 42px;
    height: 42px;
}

#landing-arrow-left {
    transform: translateY(-1px) rotate(180deg) translateX(-1px);
}

#landing-arrow-right {
    transform: translateY(-1px) translateX(1px);
}

/* arrows at the bottom */
#landing-arrows-bottom {
    z-index: 4;
    position: absolute;
    right: 50.5%;
    bottom: 10px;
}

.arrow_bottom {
    height: 20px;
    width: 20px;
    margin-left: -1px;
    margin-right: -1px;
}

.arrow_bottom:hover {
    transform: translateY(1px);
}

/* text for hero slide */
#landing-txt-blck {
    z-index: 3;
    position: absolute;
    top: 50%;
    padding: 0;
    margin: 0;
    left: 7%;
    width: 40%;
    color: white;
    text-align: left;
    transform: translateY(-50%);
    margin-top: 30px; /* half of the header high, AFTER transform */
}

#landing-txt-blck * {
    background-color: rgba(1, 1, 1, 0);
}

#landing-txt2 {
    text-align: left;
}

.hero_title {
    font-size: 1.25rem;
    line-height: 1.5;
    font-family: Nexa;
}

.hero_txt_category {
    font-size: 4.5rem;
    line-height: 0.9;
    font-family: Nexa;
}

.hero_txt_description {
    font-size: 1.25rem;
    line-height: 1.1;
    font-family: "Montserrat Light";
    margin-bottom: 3rem;
    width: 65%;
}

/* Parent container styling */

.landing-txt {
    display: flex; /* Enable flexbox */
    align-items: center; /* Center items vertically */
    justify-content: flex-start; /* Align items to the left */
}

/* Rotate the hero_title */
.hero_title {
    transform: rotate(270deg); /* Center text vertically */
    transform: scale(-1) translate(-50%, 50%);
    transform-origin: left center; /* Rotate around its center */
    text-transform: uppercase; /* Make text all uppercase */
    white-space: nowrap; /* Prevent text from wrapping */
    margin: 0;
    display: flex;
    align-items: center; /* Center vertically */
    width: 20px;
    left: 0;
    top: 50%;
    right: 50%;
    position: absolute;
    writing-mode: vertical-lr;
}

#landing-txt-blck-content {
    vertical-align: top;
}


.hero_txt_category,
.hero_txt_description {
    margin: 0; /* Remove default paragraph margin */
    padding: 0; /* Add spacing inside each text block */
    padding-left: 30px;
}

.hero_txt_category {
    padding-bottom: 20px /* same gap as on the left side */
}


/* button for more info */
#landing-btn-more {
    background-color: rgba(1, 1, 1, 0.3);
    border-color: rgba(255, 255, 255, 1);
    border-width: 1px;
    color: white;
    margin-bottom: 0;
    width: 150px;
    font-weight: bold;
}

#landing-btn-more:hover,
#landing-btn-more:focus {
    /*transform: translateY(-1px) translateX(1px);*/
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
    background-color: rgba(1, 1, 1, 0.5);
}

/*****************************************************/
/* TEAM */

#landing-team H2 {
    padding-left: 0;
    color: rgb(18, 71, 71);
}

#landing-img-team {
    z-index: 6;
    /*right: 200px;*/
    /*top: -75px;*/
    /*width: 500px !important;*/
    /*opacity: 0;*/
}

#landing-img-timeline {
    padding-top: 1rem;
}

/* TIMELINE SETUP*/
.timeline {
    display: flex;
    align-items: flex-start; /* center */
    justify-content: space-between;
    position: relative;
    width: 800px;
    padding-left: 16rem;
    padding-top: 50px;
    height: 200px;
    border-top: 2px solid #013220;
}

.milestone {
    margin-top: 20px;
    margin-left: 0;
    position: relative;
    text-align: center;
    width: auto;
}

.milestone div {
    margin-bottom: 10px;
    opacity: 1; /* Initial state for animation */
    padding-left: 10px;
    padding-right: 10px;
}

.milestone .circle {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid white;
    border-color: rgb(18, 71, 71);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2; /* Initial state for animation */
}

.milestone-year {
    position: absolute;
    top: -60px;
    left: 50%;
    font-size: 20px;
    color: rgb(18, 71, 71);
    transform: translateX(-50%);
    opacity: 0.2;
}

.milestone-title {
    font-size: 12px;
    color: rgb(53, 53, 53);
    opacity: 0.2;
}

/*****************************************************/
/*INVESTMENT SOLUTIONS*/
#landing-program {
    padding-bottom: 8rem;
    background-color: rgb(18, 71, 71);
    min-height: 35rem;
}

#landing-program * {
    color: white;
}

#landing-img-chameleon {
    top: -75px;
}

#landing-program H2 {
    padding-left: 0;
}

#landing-btn-newsletter-programs {
    margin-left: 1rem;
}

/*****************************************************/
/*INVESTMENT RESEARCH*/
#landing-research {
    padding-bottom: 8rem;
    background-color: rgba(243, 198, 153, 0.2);
    min-height: 35rem;
}

#landing-research.P * {
    color: rgb(53, 53, 53);
}

#landing-img-chess {
    right: 540px;
    bottom: -75px;
    top: auto;
}

#landing-research H2 {
    color: rgb(18, 71, 71);
}

#landing-btn-research {
    width: 150px;
    color: rgb(18, 71, 71);
    border-color: rgb(18, 71, 71);
    text-align: center;
    margin-top: 1rem;
}

#landing-btn-research:hover {
    background-color: rgb(18, 71, 71);
    color: white;
}

/*****************************************************/
/* CONSULTING */
#landing-consulting {
    padding-bottom: 8rem;
    background-color: rgba(147, 99, 38, 0.2);
    min-height: 35rem;
}

#landing-consulting.P {
    color: rgb(53, 53, 53);
}

#landing-consulting H2 {
    color: rgb(18, 71, 71);
}

/*****************************************************/
/* AWARDS */
#landing-awards {
    position: relative;
    width: 100%; /* Adjust to control how much of the screen width the content occupies */
    height: 40rem;
    min-height: 500px;
    margin: 0;
    padding: 5rem;
    /*background-color: rgb(238, 233, 229);*/
    background-color: transparent;
    text-align: center; /* Center the text */
}

#landing-awards * {
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

#landing-awards-title {
    width: 100%;
    margin-bottom: 1.5rem;
}

#landing-awards H2 {
    padding-bottom: 3rem;
    padding-left: 0;
    color: rgb(18, 71, 71);
}

#landing-img-bloomberg {
    width: 350px;
    height: auto; /* Maintain aspect ratio */
    padding-right: 20px;
    /*transform: translateX(-50%);*/
}

#landing-img-titans {
    width: 350px;
    height: auto; /* Maintain aspect ratio */
    padding-left: 20px;
    /*transform: translateX(-50%);*/
}


/* FOOTER */
#landing-footer1 {
    height: 5rem;
    background-color: rgba(147, 99, 38, 0.2);
    padding: 0;
    margin: 0;
    max-width: 100%;
}

#footer-btn {
    position: absolute;
    left: 50%;
    align-content: center;
    transform: translateX(-50%) translateY(-50%);
}

#landing-footer1 * {
    margin: auto;
    border-color: rgb(147, 99, 38);
    color: rgb(147, 99, 38);

}

#landing-btn-newsletter-footer,
#landing-btn-contact-footer {
    color: rgba(147, 99, 38, 1);
    border-color: rgba(147, 99, 38, 1);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

#landing-btn-newsletter-footer:hover,
#landing-btn-newsletter-footer:focus,
#landing-btn-contact-footer:hover,
#landing-btn-contact-footer:focus {
    background-color: rgba(147, 99, 38, 0.8);
    color: white;
    box-shadow: 0 0 0 .25rem rgba(147, 99, 38, .5);
}

#landing-footer2 {
    height: 2rem;
    max-width: 100%;
    margin: 0;
    background-color: rgba(147, 99, 38, 0.4);
}

#landing-btn-links {
    margin-top: 0;
    text-align: center;
}

#landing-btn-links * {
    height: 30px;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    margin-top: 0.5rem;
}

#landing-footer3 {
    margin-top: auto;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    height: 3.5rem;
    max-width: 100%;

    background-color: rgba(147, 99, 38, 0.4);
}

#landing-footer3 * {
    margin-top: auto;
    margin-bottom: auto;
    background-color: transparent;
    text-align: center;
}

.link-landing {
    font-size: 0.87rem;
    color: rgb(0, 0, 0);
    margin-right: 0.5rem;
}

.link-landing:hover,
.link-landing:focus {
    color: rgba(0, 0, 0, 0.8);
}


/* MOBILE FORMATTING */
/* adjust the page content downwards on mobile */

@media (max-width: 110rem) {
    .hexagon_img {
        right: 100px;
    }

    .landing_container {
        padding-left: 2rem;
    }

    .hero_txt_description {
        width: 100%;
    }

    #landing-research, #landing-program, #landing-consulting {
        min-height: 10rem;
    }

}

@media (max-width: 85rem) {
    .hexagon_img {
        right: 20px;
        width: 400px !important;
    }

    #landing-img-chess {
        right: 275px;
        bottom: -55px;
        top: auto;
    }

}

@media (max-width: 80rem) {
    .landing_title, .landing_txt {
        margin-left: 20px;
    }

    .landing_container {
        padding-left: 0;
    }

    .hexagon_img {
        width: 350px !important;
    }

    #landing-img-chess {
        right: 20px;
        bottom: auto;
        top: -75px;
    }

    #landing-img-titans, #landing-img-bloomberg {
        width: 250px;
    }

    .timeline {
        padding-left: 20px;
        margin-top: 25px;
        margin-bottom: 50px;
    }
}

@media (max-width: 65rem) {
    .hexagon_img {
        width: 250px !important;
    }
}

@media (max-width: 48rem) {
    #landing-navbar {
        height: 50px;
        /*margin: 0;*/
        /*padding: 0;*/
    }

    #landing-btn-top {
        visibility: hidden;
    }

    #landing-btn-client-nav {
        right: 5px;
        top: 5px;
    }

    #landing-page-logo-white, #landing-page-logo {
        height: 35px;
        object-fit: scale-down;
    }

    .landing_container {
        padding: 1rem;
    }

    .landing_container * {
        margin-left: 1rem
    }

    #landing-overlay {
        visibility: hidden;
    }

    #landing-overlay2 {
        visibility: visible;
        height: 80%;
    }

    #intro-vid {
        top: 40%;
        height: 60%;
        padding-left: 0;
    }

    #landing-txt-blck {
        top: 25%;
    }

    .landing_title, #landing-hero-txt, #landing-txt1 {
        font-size: 2.3rem !important;
    }

    #landing-txt-blck {
        width: auto;
        right: 10px;
    }

    .landing_txt, #landing-txt2, #landing-title {
        font-size: 0.8rem;
    }

    #landing-txt2 {
        width: 90%;
    }

    #landing-arrow-left, #landing-arrow-right {
        /*top: 90%;*/
        visibility: hidden;
    }

    #landing-arrows-bottom {
        right: 20px;
    }

    #landing-team-txt {
        right: 50px;
    }

    .hexagon_img {
        width: 150px !important;
        bottom: auto;
        right: 2px;
        /*visibility: visible;*/
        visibility: hidden;
    }

    .landing-img-mobile {
        visibility: visible;
        margin: 0;
        margin-top: 4rem;
        width: 100%;
        padding: 0;
        z-index: 2;
        position: relative;
        height: auto;
    }

    #landing-img-mobile-chameleon {
        margin-top: 0;
    }

    #landing-team-title {
        margin-top: 2rem;
    }

    #landing-program,
    #landing-research,
    #landing-consulting {
        margin-top: -5.5rem;
    }

    #landing-programs-title,
    #landing-research-title,
    #landing-consulting-title {
        margin-top: 3rem;
        color: white !important;
    }

    #landing-consulting-txt,
    #landing-research-txt {
        color: white;
    }

    #landing-research {
        background-color: rgba(147, 99, 38, 0.9);
    }

    #landing-consulting {
        background-color: rgba(53, 53, 53, 1);
    }

    #landing-btn-contact-advisory,
    #landing-btn-contact-research {
        color: white;
        border-color: white;
    }

    #landing-btn-contact-advisory:hover,
    #landing-btn-contact-advisory:focus,
    #landing-btn-contact-research:hover,
    #landing-btn-contact-research:focus{
        color: rgb(147, 99, 38);
        background-color: white;
        box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
    }

    #landing-awards {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    #landing-img-chameleon, #landing-img-brain, #landing-img-chess {
        top: -35px;
    }

    #landing-img-team {
        /*right: -20px;*/
        top: 10px;
    }

    .landing_title {
        margin-top: 50px;
    }

    .landing_title, .landing_txt {
        margin-left: 0;
    }

    .timeline {
        padding-left: 0;
        width: 100%;
    }

    .milestone-year {
        font-size: 14px;
    }

    .milestone-title {
        font-size: 10px;
    }


    #landing-btn-programs,
    #landing-btn-newsletter-programs,
    #landing-btn-newsletter-footer,
    #landing-btn-contact-research,
    #landing-btn-contact-advisory,
    #landing-btn-contact-footer,
    #modal-btn-close-program,
    #modal-btn-close-contact,
    #modal-btn-close- {
        width: 100px;
    }

    #landing-btn-programs,
    #landing-btn-newsletter-programs,
    #landing-btn-newsletter-research,
    #landing-btn-newsletter-advisory {
        margin: 0;
        margin-top: 40px !important;
    }

    #landing-btn-programs {
        margin-right: 10px;
    }

    #landing-program {
        padding-bottom: 3rem;
    }

    #landing-research {
        padding-bottom: 4rem;
    }

    #landing-btn-contact-research,
    #landing-btn-contact-advisory {
        margin-left: 0;
    }

    #landing-consulting {
        padding-bottom: 4rem;
    }

    #landing-awards {
        padding: 1rem;
        height: 15rem;
        min-height: 16rem;
    }

    #landing-img-bloomberg, #landing-img-titans {
        width: 45%;
    }

    #landing-awards-title {
        /*text-align: left;*/
        max-width: 100%;
        padding-top: 1rem;
        padding-bottom: 1rem !important;
    }

    .landing_container * {
        max-width: 100%;
    }

    #landing_awards * {
        padding: 0;
        max-width: 100%;
    }

    #footer-btn {
        margin: 0;
        width: 100%;
        display: flex; /* Enables Flexbox */
        justify-content: center; /* Centers buttons horizontally */
        align-items: center; /* Centers buttons vertically */
    }

    #landing-footer3 * {
        font-size: 10px;
    }

    .btn_hello, .btn {
        font-size: 0.8rem;
    }
}
