.homepage-primary-button{
    background-color: var(--color-homepage-primary-button);
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    color: var(--color-filled-button-text);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.homepage-primary-button:hover{
    background-color: var(--color-item-hover); /* TODO: color from the navbar, make sure this is correct on staging */
}
.homepage-secondary-button{
    background-color: transparent;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    color: var(--color-homepage-primary-button);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 20px;
}
.homepage-secondary-button:hover{
    background-color: var(--color-item-hover);  /* TODO: color from the navbar, make sure this is correct on staging */
    color: var(--color-filled-button-text);
}
.header-text{
    color: var(--color-homepage-hero-text);
    font-weight: 900;
    font-size: 32px;
}
/* Hero Section Styles - Section 1 */
.hero-section{ 
    font-family: Nunito;
    background-image: 
        linear-gradient(178.27deg,rgba(237, 245, 250, 0.1) 0%,rgba(237, 245, 250, 0.2) 20%,rgba(226, 236, 252, 0.3) 30%,   rgba(226, 236, 252, 0.50) 40%,   rgba(226, 236, 252, 0.95) 70%,#E2ECFC 75%),
        url('/v3/assets/img/backgrounds/homepage-1.png');
    background-size: cover;
    background-position: center 16.5%;
    background-repeat: no-repeat;
}
.hero-content {
    display: flex;
    align-items: flex-end;
    margin-left: 60px;
    margin-right: 60px;
    position: relative;
    z-index: 1000;
    justify-content: space-between;
    padding-top: 100px;
}
.hero-text h2{
    font-weight: 800;
    font-size: 49px;
}
.hero-text div {
    margin-top: 10px;
}
.hero-list p{
    font-weight: 700;
}
.hero-image img{
    max-height: 408px;
    margin-bottom: 45px;
}
.footer-logos{
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.footer-logos img{
    max-width: 157px;
    padding: 20px;
}
.footer-text{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 20px;
    text-align: center;
}
.hero-wave-bottom{
    transform: translateZ(0);
    background: linear-gradient(to bottom, rgba(226, 236, 252, 1) 0%, rgba(226, 236, 252, 1) 95%, var(--color-surface1) 100%);
    position: relative;
    top: -0.5px;
}
.hero-wave-fill{
    color: var(--color-surface1);
}
/* div that contains 3 middle sections - background image spans 3 sections */
.multi-section-div {
  position: relative;
  font-family: Nunito;
}

.multi-section-div::before {
  content: '';
  position: absolute;
  top: 773px;
  left: 0;
  width: 100%;
  height: calc(100% - 700px);
  background-image: 
    linear-gradient(to bottom, var(--color-surface1) 0%,rgba(226, 236, 252, 0.4) 45%,rgba(226, 236, 252, 0.7) 60%, var(--color-surface1) 70%), 
    url('/v3/assets/img/backgrounds/homepage-2.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Adventures-section stays solid */
.adventures-section {
    position: relative;
    background-color: var(--color-surface1);
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.party-group {
    position: absolute;
    left: clamp(10px, 8vw, 155px);
    top: clamp(-100px, 10vw, -70px);
    max-height: clamp(120px, 12vw, 210px);
    width: auto;
    z-index: 100;
}

.adventures-text-wrapper {
    max-width: 615px;
    padding-top: 4%;
    text-align: center;
    flex-grow: 1;
}

/* Styling for the VTT image with hotspot dots, their lines and the text boxes they are connected to */
.hotspot__container {
    position: relative;
}
.hotspot__row{
    width: 110%;
}
.vtt-image {
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 0 91px;
    width: 100%;
}
.hotspot__dots-wrapper{
    position: relative;
}
.hotspot__svg-container {
    position: absolute;
    inset: 0; 
    z-index: 1;
    pointer-events: none;
}
#hotspot__svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
}
.hotspot-textboxes {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    height: 0;
}
.hotspot-textbox {
    position: absolute;
    background: var(--color-surface1);
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 14px;
}
.homepage-hotspot__dot{
    height: 8px;
    width: 8px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    position: absolute;
    z-index: 2;
    background: var(--color-primary4);
    color: var(--color-filled-button-text);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#dot-one{
    top: 29%;
    left: 2%;
}
#dot-two{
    top: 2%;
    left: 76%;
}
#dot-three{
    top: 4%;
    left: 89%;
}

#dot-four{
    top: 46%;
    left: 2%;
}
#dot-five{
    top: 88%;
    left: 70%;
}
.hotspot-card{
    box-shadow: 0px 4px 6px 0px #1F29371A;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    position: relative;
    text-align: center;
    font-size: 13px;
    background-color:var(--color-surface1);
    border-radius: 8px;
    justify-content: center;
}
#hotspot__card-one{
    left: -45px;
    width: 213px;
}
#hotspot__card-two{
    left: 40px;
    width: 227px;
}
#hotspot__card-three{
    left: -45px;
    width: 227px;
    z-index: 1;
}
#hotspot__card-four{
    left: 40px;
    width: 219px;
    z-index: 1;
}

/* Steps section with transparent background to show bg image from pseudo element */
.steps-section{
    background: transparent;
    padding: 100px 10px 10px 10px;
    display: flex;
    flex-direction: column;
}
.steps-box-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    
}
.steps-box-div{
    background: rgba(255, 255, 255, 0.7);
    width: 310px;
    height: 340px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    position: relative;
}
.steps-box-div h3 {
    font-size: 22px;
}
.steps-icon{
    width: 70px;
    margin-bottom: 20px;
}
.steps-daggerheart-1-image{
    position: absolute;
    top: -100px;
    left: -55px;
    height: 190px;
    transform: scaleX(-1);
}
.steps-daggerheart-2-image{
    position: absolute;
    top: 265px;
    left: 170px;
    height: 190px;
}
.steps-button{
    margin-top: 50px;
    align-self: center;
}
/* Testimonials section with transparent background to show bg image from pseudo element in top half of section */
.testimonials-section{
    min-height: 480px;
    background: transparent;
    display: flex;
    justify-content: center;
    position: relative;
    font-size: 16px;
    padding-top: 25px;
}
.testimonials-wrapper {
    max-width: 1200px;
    width: min(1200px, 90%);
    border-radius: 24px;
    padding-inline: clamp(16px, 5vw, 32px);
    padding: clamp(16px, 4vw, 32px);
    background-color: rgba(229, 227, 227, 0.9);
    box-shadow: 0 4px 8px #1F293721;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
}
.testimonials-section .owl-carousel .item {
    width: min(402px, 85vw);
    border-radius: 12px;
    padding: clamp(16px, 3vw, 24px);
    background-color: #F5F5F5;
    box-shadow: 0 4px 6px #1F29371A;
    position: relative;
}
.testimonials-section .owl-stage-outer {
    height: 415px;
}
.testimonials-section .owl-item{
    display: flex;
    justify-content: center;
}
.testimonials-section .owl-carousel .owl-stage,
.testimonials-section .owl-carousel .owl-item {
  padding: 0 !important;
  margin: 0 !important;
}
.testimonials-section .owl-carousel .owl-nav .owl-next, .testimonials-section .owl-carousel .owl-nav .owl-prev{
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
}
.testimonials-section .custom-prev img {
    transform: rotate(180deg);
}
.carousel-img-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.carousel-img-wrapper img {
    height: 100%;
    object-fit: cover;
}
.testimonial-avatar {
    width: clamp(56px, 10vw, 88px) !important;
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
}

.avatar-left { left: 16px; }
.avatar-right { right: 16px; }
.testimonial-text {
    margin-top: clamp(8px, 4vw, 20px) !important;
}

.testimonial-name {
    margin-top: 4px;
    color: #074A6E;
}
/* Customize Section - Section 6 */
.customize-section{
    font-family: Nunito;
    background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(226, 236, 252, 0.6) 75%, rgba(226, 236, 252, 1) 100%),
        linear-gradient(100deg, rgba(245, 245, 245, 0.5) 0%, #E2ECFC 100%),
        url(/v3/assets/img/backgrounds/homepage-3.png);
    background-size: cover;
    background-position: center 16.5%;
    background-repeat: no-repeat;
    padding-top: 25px;
}
.customize-section h3 {
    font-weight: 900;
    font-size: 32px;
    padding-bottom: 18px;
    padding-left: 250px;
}
.customize-content-wrapper{
    display: flex;
    flex-direction: column;
}
.customize-text-img-wrapper{
    display: flex;
    padding-top: 20px;
    justify-content: center;
    gap: 20px;
    align-items: center;
    flex-direction: row-reverse;
}
.customize-text-wrapper{
    display: flex;
    max-width: 50%;
    flex-direction: column;
}
.customize-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 24px;
}
.customize-battle-box-image {
    transform: rotate(-9deg);
    max-height: 160px;
    padding-left: 12%;
}
.customize-card {
    width: clamp(240px, 24vw, 369px);
    height: clamp(197px, 24vw, 197px);
    border-radius: 8px;
    padding: 16px;
    gap: 10px;
    background-color: #eae8e8;
    box-shadow: 0px 4px 6px 0px #1F29371A;
}
.customize-card-header{
    display: flex;
    align-items: center;
    gap: 8px;
}
.customize-card h4 {
    font-size: 20px;
    font-weight: 700;
}
.customize-icon{
    max-height: 50px;
}
.customize-card p {
    font-size: 16px;
    color: #544D58;
}
.customize-illustration-image {
    max-width: 486px;
    max-height: 486px;
    border-radius: 12px;
    align-self: flex-end;
    margin: 10px;
}
.customize-button{
    align-self: center;
}
/* Community Section - Section 7 */
.community-section {
    font-family: Nunito;
    position: relative;
    /* overflow: hidden; */
    background: linear-gradient(to bottom,rgba(226, 236, 252, 1) 0%, rgba(226, 236, 252, 0.5) 30%, rgba(226, 236, 252, 0.8) 85%);
    padding: 0 10px;
    display: flex;
    justify-content: center;
}
#community-title{
    padding-bottom: 20px;
}
#community-title-mobile{
    display: none;
}
.community-content-div{
    display: flex;
    position: relative;
    justify-content: center;
    gap: 24px;
}
.community-content-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    position: relative; /* needed for overlay pseudo-element */
    background-image: url('/v3/assets/img/backgrounds/homepage-4.svg');
    background-size: 60% auto;      /* scales image to cover entire section */
    background-position: center bottom; /* centers the image */
    background-repeat: no-repeat;
    max-width: 610px;
}
.community-content-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.community-action-items-wrapper{
    z-index: 1;
}
.community-background{
    position: relative;
    z-index: -1;
    max-height: 250px;
    top: clamp(200px, 25vw, 370px);
    transform: scaleX(-1);
    left: clamp(200px, 52vw, 1000px);
}
.community-illustration-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}
.community-illustration-image {
    max-width: 647px;
    max-height: 486px;
    border-radius: 12px;
}
.community-text-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 16px;
    color: #544D58;
    padding-bottom: 10px;
    z-index: 1;
}
.community-visit{
    width: 253px;
    height: 48px;
    min-width: 202px;
    border-radius: 8px;
    padding: 8px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(80, 87, 110, 0.15);
    box-shadow: 0px 2px 4px 0px rgba(31, 41, 55, 0.06);
    margin: 0 10px 20px 0;
    color: var(--color-primary3);
    font-weight: 600;
}
.community-visit:hover{
    filter: brightness(1.25);
}
.community-visit img{
    padding: 0 8px 0 8px;
}
.community-section{
    padding-top: 70px;
}
/* Articles Section - Section 8 */
.articles-section{
    background: linear-gradient(rgba(226, 236, 252, 0.8)0%, #FFFFFF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-family: Nunito;
    padding-top: 100px;
}
.articles-section h2{
    font-weight: 900;
    font-size: 32px;
    padding: 0 10px;
    text-align: center;
}
.articles-wrapper{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
    color: #544D58;
}
.article-card{
    max-width: 405px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px;
    min-width: 250px;
    border: 1px solid transparent;
}
.article-card:hover{
    background-color: #F5F5F5;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0px 4px 6px 0px rgba(31, 41, 55, 0.1);
    border: 1px solid rgba(80, 87, 110, 0.15);
}
.article-card h3{
    font-size: 24px;
    margin-bottom: 0;
}
.article-card p{
    margin-bottom: 8px;
}
.external-article{
    text-transform: capitalize;
}
/* Blog Section - Section 9 */
.blog-section{
    background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 5%,rgba(255, 255, 255, 1) 100%), 
        url('/v3/assets/img/backgrounds/homepage-5.png');
    background-size: cover;
    background-position: center 16.5%;
    background-repeat: no-repeat;
    padding-top: 200px;
    font-family: Nunito;
    display: flex;
    flex-direction: column;
}
#latest-news-title{
    display: flex;
    justify-content: center;
}
.blog-articles-wrapper{
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 80px;
    flex-wrap: wrap;
}
.blog-article-card{
    width: 370px;
    height: 388px;
    padding: 24px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    background: rgba(240, 240, 240, 0.8);
    border-radius: 12px;
    box-shadow: 0px 4px 6px 0px rgba(31, 41, 55, 0.1);
    border: 1px solid rgba(80, 87, 110, 0.15);
}
.blog-article-card:hover{
    cursor: pointer;
    background-color: #F5F5F5;
}
.blog-article-card img{
    aspect-ratio: 16 / 9;
}
.blog-article-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #29212E;
}
.blog-article-card p {
    font-size: 16px;
    font-weight: 600;
    color: #544D58;
}
.blog-article-0-content, .blog-article-1-content, .blog-article-2-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.blog-footer{
    padding-top: 50px;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.blog-button{
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 50px;
}
.special-thanks-text{
    padding: 18px 10px 0 10px;
    text-align: center;
}
.special-thanks-text span{
    color: #7F7A82;
    font-weight: 400;
    font-size: 16px;
}
@media (min-width: 1920px) {
    .customize-cards-wrapper {
        justify-content: center;
    }
    
    .customize-battle-box-image{
        padding-left: 20%;
    }
    .customize-illustration-image {
        position: relative;
        right: 100px;
    }
}
@media (min-width: 1700px) {
    .hero-content, .hero-footer {
        margin-right: 200px;
        margin-left: 200px;
    }
}
@media (max-width: 1600px) {
    .customize-section h3 {
        padding-left: 160px;
    }
}

@media (max-width: 1330px){
    .customize-section h3 {
        padding-left: 40px;
    }
}
@media (max-width: 1288px) {
    .customize-card h4 {
        font-size: 18px;
    }
    .community-illustration-image {
        max-width: 547px;
    }
}
@media (max-width: 1220px) {
    .hero-image img {
        max-height: 325px;
    }
}
@media (max-width: 1198px) {
    .customize-text-wrapper{
        max-width: 60%;
    }
    .customize-illustration-image {
        max-height: 382px;
        max-width: 382px;
        top: -39px;
        position: relative;
    }
    .customize-text-img-wrapper {
        gap: 10px;
    }
    .customize-card{
        height: 230px;
    }
    .community-background {
        left: clamp(200px, 40vw, 550px);
    }
    .blog-article-card {
        width: 325px;
        height: 350px;
    }
}
@media (max-width: 1133px) {
    .community-illustration-image {
        max-width: 447px;
    }
    .community-visit {
        width: 205px;
    }
    .community-content-wrapper{
        padding: 0;
        max-width: 447px;
    }
}
@media (max-width: 1160px) {
    #hotspot__card-one, #hotspot__card-three {
        left: 0px;
        width: 213px;
    }
    #hotspot__card-two, #hotspot__card-four{
        left: -5px;
    }
    .hotspot__row{
        width: 106%;
    }
}
@media (max-width: 1110px) {
    .article-card h3 {
        font-size: 20px;
    }
}
@media (max-width: 1075px) {
    .hero-image img {
        max-height: 250px;
    }
}
@media screen and (min-width: 998px) and (max-width: 1347px){
    .steps-button{
        margin-top: 100px;
    }

}
@media screen and (min-width: 998px) and (max-width: 1084px){
    .steps-daggerheart-1-image{
        left: -25px;
    }

}
@media screen and (min-width: 1332px) and (max-width: 1432px){
    .steps-daggerheart-1-image{
        left: -25px;
    }

}
@media (max-width: 1033px) {
    .blog-article-card {
        width: 285px;
        height: 317px;
    }
    .blog-article-card h3{
        font-size: 20px;
    }
}
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }
    .hero-section{
        background: linear-gradient(178.27deg,rgba(237, 245, 250, 0.4) 0%,rgba(237, 245, 250, 0.6) 20%, rgba(226, 236, 252, 0.95) 70%,#E2ECFC 75%),
        url('/v3/assets/img/backgrounds/homepage-1.png');
        background-size: cover;
        background-position: center 16.5%;
        background-repeat: no-repeat;
    }
    .hero-content div{
        flex: none;
    }
    .hero-footer{
        padding-bottom: 50px;
    }
    .vtt-image{
        padding: 0 20px;
    }
    .homepage-hotspot__dot{
        align-items: center;
        border-radius: 50%;
        display: inline-flex;
        font-size: .75rem;
        font-weight: 600;
        justify-content: center;
        min-height: 1.25rem;
        min-width: 1.25rem;
        padding: 0 !important;
        text-align: center;
    }
    .owl-carousel .owl-nav .owl-prev {
        left: 7px;
    }
    .owl-carousel .owl-nav .owl-next {
        right: 7px;
    }
    .community-background {
        left: 328px;
        top: 172px;
        max-height: 200px;
    }
    .customize-battle-box-image{
        display: none;
    }
    #customize-title {
        align-self: center;
    }
}
@media (max-width: 933px) {
    .blog-article-card {
        width: 266px;
        height: 306px;
    }
    .blog-article-card h3{
        font-size: 18px;
    }
    .community-content-div{
        flex-direction: column;
    }
    #community-title-mobile{
        display: block;
        text-align: center;
    }
    #community-title{
        display: none;
    }
    .customize-section h3 {
        padding-left: 0;
    }
}
@media (max-width: 916px){
    .customize-content-wrapper h3{
        padding-bottom: 36px;
    }
    .customize-content-wrapper{
        align-items: center;
        padding-top: 80px;
    }
    .customize-text-img-wrapper{
        flex-direction: column;
    }
    .customize-illustration-image{
        align-self: center;
    }
    .customize-text-wrapper {
        max-width: 100%;
    }
    .customize-card {
        width: 400px;
        height: 168px;
    }
}
@media (max-width: 860px){
    .hero-image img {
        max-height: 200px;
    }
}
@media (max-width: 768px){
    .hero-content {
        flex-direction: column;
        align-items: center;
    }
    .hero-image img {
        max-height: 200px;
        margin-bottom: 0;
    }
    .footer-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-logos > :first-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
    .hero-footer {
        margin-left: 10px;
        margin-right: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
   .adventures-text-wrapper{
        padding-top: 8%;
   }
}
@media (max-width: 680px){
    .steps-button{
        margin-top: 100px;
    }
}
@media (max-width: 601px) {
    .testimonials-section .owl-carousel .item {
        width: min(402px, 57vw);
    }
    .hero-content{
        margin-left: 20px;
        margin-right: 20px;
    }
    #adventures-title{
        padding: 0 20px;
    }
    .steps-daggerheart-1-image {
        top: -86px;
        left: -28px;
    }
}
@media (max-width: 560px) {
    .testimonial-avatar {
        top: 40%;
    }
}
@media (max-width: 480px){
    .testimonial-avatar {
        top: 52%;
    }
    .testimonials-section .owl-carousel .item {
        width: auto;
    }
    .owl-carousel .owl-nav .owl-prev {
        left: 30%;
        top: 95%;
    }
    .owl-carousel .owl-nav .owl-next {
        right: 30%;
        top: 95%;
    }
}
@media (max-width: 445px){
    .hero-image img {
        max-height: 200px;
    }
    .community-illustration-image, .community-content-wrapper {
        max-width: 368px;
    }
    .community-action-items-wrapper{
        text-align: center;
    }
}
@media (max-width: 422px){
    .customize-illustration-image{
        max-width: 350px;
        max-height: 350px;
    }
    .customize-card {
        width: 350px;
    }
    .article-card {
        max-width: 342px;
    }
}
@media (max-width: 390px){
    .testimonial-avatar {
        top: 42%;
    }
    .community-illustration-image, .community-content-wrapper {
        max-width: 310px;
    }
}
@media (max-width: 370px){
    .hero-image img {
        max-height: 180px;
    }
    .customize-illustration-image{
        max-width: 300px;
        max-height: 300px;
    }
    .customize-card {
        width: 300px;
        height: 185px;
    }
    .article-card {
        max-width: 320px;
    }
}