:root {
    /* Primary Colors */
    --color-primary: #161E2D;
    --color-secondary: #EF6458;

    /* Background */
    --color-background: #F4F4F4;

    /* Text Colors */
    --color-text: #7A7A7A;
    --color-text-highlight: #000000;

    /* Card Stack */
    --cards: 4;
    --cardHeight: 190px;
    --cardTopPadding: 0px;
    --cardMargin: 0px;
}

.margin-top {
    margin-top: 100px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-bottom {
    margin-bottom: 100px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}


.padding-top {
    padding-top: 100px;
}

.padding-top-50 {
    padding-top: 50px;
}

.padding-bootom-50 {
    padding-bottom: 100px;
}

.padding-bootom {
    padding-bottom: 50px;
}


body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #FFF9F1;
}

.hero-section {
    width: 100%;
    height: 800px;
    background-image: url('../storage/images/hero_desktop.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
}

.hero-heading {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 50px;
    color: #161E2D;
    line-height: 80px;
}

.hero-paragraph {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    margin-top: 10px;
    letter-spacing: 0;
    color: #7A7A7A;
}

.hero-paragraph strong {
    color: #161E2D;
}

.container-box {
    width: 100%;
    max-width: 60vw;
    text-align: left;
    margin-bottom: 2rem;
}

.mobile-image {
    display: none;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.highlighted-phrase {
    position: relative;
    display: inline-block;
}

.underline-img {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: auto;
}


/* =================== Section 2 =================== */

.section-container {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
}

.section-container-card {
    display: flex;
    height: 400px;
}

.heading-text {
    font-size: 220px;
    font-weight: 700;
    font-family: 'inter';
}

.rectangle {
    display: inline-block;
    vertical-align: middle;
    width: 52px;
    height: 52px;
    margin-left: 8px;
    margin-top: -40px;
}

.sub-heading {
    font-family: 'Roboto Slab';
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -4%;
    color: var(--color-primary);
}

.sub-heading hr {
    border: none;
    height: 1px;
    width: 1017px;
    background-color: var(--color-secondary);
    margin-top: 40px;
    opacity: 1;
}

/* =================== Section 3 =================== */

.step-box .step-number {
    width: 54px;
    height: 54px;
    background-color: var(--color-secondary);
    color: white;
    font-weight: bold;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-box .step-line {
    width: 1px;
    height: 150px;
    background: linear-gradient(to bottom, var(--color-secondary), #EF645800);
    /* Customize gradient */
}

.content-block .step-heading {
    font-family: 'Roboto Slab';
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
}

.content-block .step-paragraph {
    font-family: 'Montserrat';
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
}

.horizontal-scroll-mobile{
    display: none;
}

.horizontal-scroll-section{
    display: block;
}



/* =================== Section 4 =================== */

.sticky-heading {
    position: sticky;
    top: 100px;
    z-index: 1;
}

.sticky-heading .mobile{
    display: none;
}

.heading-text-two {
    font-family: 'Inter';
    font-size: 118px;
    font-weight: 700;
    line-height: 100%;
}


#cards {
    list-style: none;
}

#card1 {
    --index: 1;
}

#card2 {
    --index: 2;
    margin-top: -30px;
}

#card3 {
    --index: 3;
    margin-top: -30px;
}

#card4 {
    --index: 4;
    margin-top: -30px;
}

.card {
    position: sticky;
    top: 0;
    background-color: transparent;
    border: none;
}

#card1 .card-body {
    background-color: var(--color-secondary);
}

#card2 .card-body {
    background-color: var(--color-secondary);
}

#card3 .card-body {
    background-color: var(--color-secondary);
}

#card4 .card-body {
    background-color: #ffffff;
}

.card-body {
    box-sizing: border-box;
    padding: 20px 20px;
    border-radius: 16px;
    box-shadow: 0 -3px 4px 0 rgba(0, 0, 0, 0.151);
    height: var(--cardHeight);
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    color: white;
}

.card-body h3 {
    font-family: 'Roboto Slab';
    font-size: 30px;
    font-weight: 400;
    line-height: 100%;
}

.card-body p {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 20px;
}

.stack-card-area {
    height: 300px !important;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 30px;
}


/* =================== Section 5 =================== */

.playbook-heading h3 {
    font-family: 'Inter';
    font-size: 148px;
    font-weight: 700;
    line-height: 100%;
}

.playbook-heading p {
    font-family: 'Roboto Slab';
    font-size: 40px;
    font-weight: 400;
    line-height: 100%;
    margin-top: 40px;
}

.timeline-container {
    max-width: 1200px;
    padding: 50px 20px;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    /* changed from fixed */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    /* this now stays within the container */
    background: radial-gradient(circle, #d9d9d9 0%, #d9d9d900 100%);
    z-index: 1;
}

.timeline-line {
    position: absolute;
    /* changed from fixed */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    background: radial-gradient(circle, #EF6458 0%, #d9d9d900 100%);
    z-index: 2;
    transition: height 0.3s ease;
}

.timeline-items {
    position: relative;
    z-index: 3;
    margin-top: 80px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #D9D9D9;
    border: 3px solid #FFF9F1;
    z-index: 4;
}

.timeline-heading {
    width: calc(50% - 60px);
    padding: 20px;
    text-align: right;
}

.timeline-heading h2 {
    font-family: 'Roboto Slab';
    font-size: 70px;
    font-weight: 400;
    line-height: 100%;
    color: var(--color-primary);
}

.timeline-content {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-text);
    width: calc(50% - 60px);
}

.timeline-content strong {
    color: var(--color-text-highlight);
}

/* =================== Section 6 =================== */

.team-heading h3 {
    font-family: 'Inter';
    font-size: 148px;
    font-weight: 700;
    line-height: 100%;
}

.team-heading p {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
    line-height: 150%;
}

.team-member-heading {
    font-family: 'Roboto Slab';
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
    color: var(--color-primary);
}

.team-member-para {
    font-family: 'Montserrat';
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-primary);
}

/* ======================================== */

/* Add these styles to your CSS */
.horizontal-scroll-section {
    position: relative;
}

.horizontal-scroll-container {
    display: flex;
    width: max-content;
    will-change: transform;
}

.horizontal-slide {
    flex: 0 0 50vw;
    /* Show two slides at a time */
    scroll-snap-align: start;
}

.js-wrapper {
    overflow-x: hidden !important;
    width: 100%;
}

.mobile-rectangle-image {
    display: none;
}