.hero-block {
    max-width: var(--full-width);
    margin: 0 auto;
    width: 100%;
    height: 697px;
    position: relative;
    background: var(--bg-desktop) center center / cover no-repeat;
}

nav .container{
    max-width: 1212px;
}

.hero-container {
    max-width: 1212px;
    margin: 0 auto;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.hero-text {
    flex: 1 1 50%;
    max-width: 680px;
    width: 100%;
}

.hero-text>p{
    color: #313134;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1.68px;
    margin: 28px 0 38px;
    max-width: 534px;
    width: 100%;
}

.hero-eyebrow {
    font-size: 85px;
    color: #021F90;
    line-height: 88%;
    margin-bottom: 20px;
}

.hero-eyebrow .dot {
    color: #FF2E83;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #511861;
    text-decoration: none;
    font-size: 21px;
    font-weight: 500;
    line-height: 17px;
}
.hero-button svg{
    flex-shrink: 0;
}

.hero-image {
    flex: 1 1 40%;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.hero-bottom-curve {
    --svg-width: 1920px;
    --base-height: 185px;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: calc(var(--base-height) + (var(--svg-width) - 100vw) / 9.5);
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}



.hero-bottom-curve svg {
    position: relative;
    display: block;
    width: 100%;
}

/* innovating_patients section*/
.innovating_patients {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1212px;
    margin: 100px auto;
    padding: 0 20px;
}

.innovating_patients .text-content {
    flex: 1;
    max-width: 56%;
}

.innovating_patients .text-content h2 {
    font-size: 60px;
    color: #021F90;
    line-height: 62px;
}

.innovating_patients .text-content h2 span {
    color: #FF2E83;
}

.innovating_patients .text-content p {
    font-size: 21px;
    line-height: 36px;
    color: #313134;
}

.innovating_patients .image-box {
    display: flex;
    position: relative;
    width: 35%;
    height: auto;
    padding: 31px 0;
    border-radius: 24px 0 24px 0;
    justify-content: center;
    align-items: center;
}

.innovating_patients .image-box img {
    width: 504px;
    height: auto;
    object-fit: cover;
    border-radius: 0 24px 0 24px;
    position: relative;
    z-index: 2;
}

/* Blue Background Positioned Behind Image */
.innovating_patients .image-box .blue-background {
    position: absolute;
    top: 0;
    left: 57%;
    max-width: 544px;
    width: 134%;
    height: 100%;
    background: linear-gradient(21deg, #021F90 -1.04%, #0C9ECF 100%);
    z-index: 1;
}

/* end innovating_patients section*/

/* biomarker_directed section*/
.biomarker_directed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.biomarker_directed .text-content {
    position: relative;
    flex: 1;
    width: 62%;
}

.biomarker_directed .text-content h2 {
    position: absolute;
    top: -58%;
    left: -27%;
    max-width: 742px;
    font-size: 60px;
    color: #021F90;
    line-height: 62px;
}

.biomarker_directed .text-content h2 span {
    color: #FF2E83;
}

.biomarker_directed .text-content p {
    font-size: 21px;
    line-height: 36px;
    margin-top: 20px;
    color: #313134;
}

.biomarker_directed .text-content p:last-child{
    font-weight: 700;
    position: relative;
    padding-left: 31px;
}

.biomarker_directed .text-content p:last-child strong{
    color: #021F90;
}

.biomarker_directed .text-content p:last-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 100%;
    background: #FF2E83;
}

.biomarker_directed .image-box {
    display: flex;
    position: relative;
    width: 33%;
    height: 593px;
    border-radius: 24px 0 24px 0;
    justify-content: center;
    align-items: center;
}

.biomarker_directed .image-box img {
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 80px 0;
    position: absolute;
    bottom: 87px;
    z-index: 2;
}

/* Blue Background Positioned Behind Image */
.biomarker_directed .image-box .pink-background {
    position: absolute;
    top: 0;
    right: 46%;
    width: 154%;
    height: 537px;
    background: linear-gradient(28deg, #FF2E83 5.47%, #FF9100 76.22%);
    z-index: 1;
}

/* end biomarker_directed section*/


/* start more about us.*/
.about-section {
    max-width: 1057px;
    margin: 80px auto;
    padding: 0 20px;
}

.about-section h2 {
    font-size: 60px;
    line-height: 58px;
    color: #021F90;
    margin-bottom: 69px;
    text-align: center;
}

.about-section h2 span {
    color: #FF2E83;
}


.about-section .card-grid {
    display: flex;
    padding: 0 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 60px;
    text-align: left;
}

.about-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: calc(50% - 30px); /* 2 items per row with 60px gap */
    box-sizing: border-box;
}

.icon {
    max-width: 83px;
    flex-shrink: 0;
    margin-top: 30px;
}

.card-content {
    flex: 1;
}

.card-title {
    font-family: inherit;
    color: #ff2e83;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 0;
}
.about-card.blue .card-title {
    color: #0C9ECF;
}
.about-card.purple .card-title {
    color: #511861;
}
.about-card.green .card-title {
    color: #00A870;
}

.card-text {
    font-size: 21px;
    line-height: 36px;
    color: #313134;
    margin-bottom: 22px;
}

.card-link {
    font-size: 21px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #511861;
}
.btn-icon circle {
    transition: fill 0.3s ease;
}
.swiper-slide:hover .btn-icon circle {
    fill: #fff;
    stroke: #ac1abb;
    stroke-width: 1px;
}

.swiper-slide:hover .nav-icon {
    padding-right: 0;
}

.swiper-slide:hover .btn-icon path {
    fill: #ac1abb;
}
.zentalis-spotlight .swiper-slide:hover{
    box-shadow: 0 4px 19px 0 rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.3s ease;
}


/* end more about us.*/

/* start zentalis-spotlight.*/
.zentalis-spotlight{
    max-width: var(--full-width);
    margin: 0 auto;
    background: #F0F0EB;
    padding: 78px 0 69px;
}
.zentalis-spotlight .zentalis-border{
    max-width: 1292px;
    margin: 0 auto;
}

.zentalis-spotlight h1 {
    font-size: 60px;
    color: #021F90;
    margin-bottom: 30px;
    text-align: center;
    line-height: 53px;
}

.zentalis-spotlight h1 .dot {
    color: #FF2E83;
}

.zentalis-spotlight .swiper {
    width: 100%;
    max-width: 1028px;
    margin: auto;
    height: 490px;
    padding: 20px 0 20px 20px;
}

.zentalis-spotlight .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 0 40px;
    padding: 30px 18px 18px;
    /* tile */
    box-shadow: 0 4px 19px 0 rgba(0, 0, 0, 0.07);
}

.zentalis-spotlight a.swiper-slide {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}


.zentalis-spotlight .swiper-slide:nth-child(3n + 1) {
    border-top: 10px solid #ff2e83;
}
.zentalis-spotlight .swiper-slide:nth-child(3n + 2) {
    border-top: 10px solid #0c9ecf;
}
.zentalis-spotlight .swiper-slide:nth-child(3n + 3) {
    border-top: 10px solid #00a870;
}

.zentalis-spotlight .swiper-slide:nth-child(3n + 1) h4 {
    color: #ff2e83;
}
.zentalis-spotlight .swiper-slide:nth-child(3n + 2) h4 {
    color: #0c9ecf;
}
.zentalis-spotlight .swiper-slide:nth-child(3n + 3) h4 {
    color: #00a870;
}






.zentalis-spotlight .swiper-slide h4 {
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.zentalis-spotlight .swiper-slide p {
    color: #511862;
    line-height: 36px;
    font-size: 21px;
}

.zentalis-spotlight .nav-icon{
    text-align: right;
    padding-right: 10px;
}
.zentalis-spotlight .nav-icon img{
    width: 23px;
}

.zentalis-spotlight .arrow-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.2em;
    color: #b20090;
    background: none;
    border: none;
    cursor: pointer;
}

/* Swiper navigation buttons */
.zentalis-spotlight .swiper-button-prev,
.zentalis-spotlight .swiper-button-next {
    width: 20px;
    color: #AC1AB8;
    height: 41px;
    top: 60%;
    right: 40px;
}

.zentalis-spotlight .swiper-button-prev{
    left: 40px;
}

/*for ipad 9th*/
.swiper-button-prev .swiper-navigation-icon{
    transform: rotate(180deg);
}
.swiper-pagination-bullet{
    margin: 0 4px;
}

.zentalis-spotlight .zentalis-border {
    max-width: 1292px;
    margin: 0 auto;
    padding: 0 50px;
}
.zentalis-border {
    position: relative;
}
/* end zentalis-spotlight.*/


@media (max-width: 1511px) {
    .innovating_patients .image-box img{
        width: clamp(160px, 33vw, 504px);
    }

}

/* response */
@media (max-width: 1199px) {
    .zentalis-spotlight .swiper-button-prev{
        left: 20px;
    }
    .zentalis-spotlight .swiper-button-next{
        right: 20px;
    }

    .hero-text{
        max-width: 590px;
    }

    .hero-eyebrow {
        font-size: 72px;
    }

    .hero-text > p {
        font-size: 20px;
    }

    .innovating_patients .text-content h2{
        font-size: 45px;
    }
    .innovating_patients .text-content p{
        font-size: 16px;
        line-height: 33px;
    }

    .biomarker_directed .text-content h2{
        font-size: 50px;
        margin-bottom: 0;
        top: -55%;
    }
    .biomarker_directed .text-content p {
        font-size: 19px;
    }

}

@media (min-width: 960px){
    .logo-img{
        margin-bottom: 9px;
    }
    header nav.navbar-expand-lg .navbar-nav .nav-link{
        padding-bottom: 29px;
    }
    .search-btn{
        margin-bottom: 24px;
    }

}

/* =========================
   TABLET: 768–959
========================= */
@media (max-width: 959px) {

    .hero-text {
        max-width: 410px;
    }

    .hero-eyebrow {
        font-size: 50px;
    }

    .hero-text > p {
        font-size: 18px;
        width: 100%;
    }
    .hero-block{
        background-position-x: 65% !important;
    }
    .biomarker_directed .text-content p {
        line-height: 30px;
    }

}

@media (max-width: 900px) {
    .biomarker_directed .text-content h2 {
        top: -35%;
        line-height: 48px;
    }
}


@media (max-width: 875px) {
    .innovating_patients .text-content h2{
        font-size: 39px;
        line-height: 35px;
    }
    .innovating_patients .text-content p{
        margin-bottom: 10px;
    }
    .biomarker_directed .text-content h2 {
        font-size: 40px;
        max-width: 580px;
    }
}

/* =========================
   MOBILE: 767
========================= */
@media (max-width: 767px) {
    .innovating_patients{
        flex-direction: column;
        max-width: 414px;
        width: 100%;
        margin-bottom: 51px;
    }

    .innovating_patients .image-box{
        width: 100%;
        padding: 0;
        height: 423px;
        align-items: end;
    }

    .innovating_patients .image-box img {
        width: clamp(270px, 75vw, 504px);
        height: 90%;
        margin-bottom: 20px;
    }

    .innovating_patients .text-content{
        max-width: 100%;
    }
    .hero-text {
        max-width: 444px;
    }

    .hero-block {
        background: var(--bg-mobile) center center / cover no-repeat;
    }
    .hero-container{
        display: block;
        max-width: 500px;
        width: 100%;
        padding: 50px 25px;
    }
    .hero-eyebrow{
        font-size: 60px;
    }
    .hero-text>p{
        font-size: 22px;
        margin: 0 0 30px;
        line-height: 110%;
        letter-spacing: 1.1px;
    }
    .hero-button{
        line-height: 110%;
    }

    .biomarker_directed{
        margin: 51px auto 60px;
        flex-direction: column;
        max-width: 407px;
        width: 100%;
    }
    .biomarker_directed .image-box{
        order: 1;
        width: 100%;
        height: 423px;
    }
    .biomarker_directed .image-box img{
        bottom: 20px;
        width: 85%;
    }
    .biomarker_directed .image-box .pink-background{
        width: 100%;
        height: 100%;
        left: -55%;
    }
    .biomarker_directed .text-content{
        width: 100%;
    }

    .biomarker_directed .text-content h2{
        position: static;
        line-height: 35px;
    }
    .biomarker_directed .text-content p {
        font-size: 21px;
    }
    .biomarker_directed .text-content p:last-child::before{
        width: 13px;
    }


    .zentalis-spotlight{
        padding: 59px 0;
    }
    .zentalis-spotlight h1{
        font-size: 40px;
        line-height: 35px;
        padding-right: 20px;
    }


    .about-section{
        margin-top: 60px;
    }

    .about-section h2{
        font-size: 40px;
        margin-bottom: 45px;
    }
    .about-section .icon{
        margin-top: 15px;
        max-width: 63px;
    }

    .about-section .card-title{
        font-size: 15px;
        letter-spacing: 1.65px;
    }
    .about-section .card-text{
        font-size: 19px;
        line-height: 32px;
    }
    .about-section .card-link{
        gap: 12px;
        font-size: 16px;
    }
    .about-section .card-grid{
        flex-direction: column;
    }
    .about-card {
        margin: 0 auto;
        max-width: 376px;
        width: 100%;
        gap: 30px;
        padding: 0 15px;
    }

    .zentalis-spotlight{
        position: relative;
        padding-bottom: 159px;
    }
    /*.zentalis-spotlight::after {*/
    /*    content: "";*/
    /*    position: absolute;*/
    /*    left: 0;*/
    /*    right: 0;*/
    /*    bottom: 0;*/
    /*    height: 30%;*/
    /*    background: #021F90;*/
    /*    z-index: 0;*/
    /*}*/

    .zentalis-spotlight .swiper{
        max-width: 413px;
    }
    .zentalis-spotlight .swiper-button-prev, .zentalis-spotlight .swiper-button-next{
        top: auto;
        bottom: -80px;
        color: #8C037B;
    }
    .swiper-pagination-bullets.swiper-pagination-horizontal{
        bottom: -73px;
        z-index: 1;
    }

    .swiper-pagination-bullet{
        background: transparent;
        border: 1px solid #8C037B;
        opacity: inherit;
    }
    .swiper-pagination-bullet-active{
        background: #8C037B;
    }
    .zentalis-spotlight .swiper-button-prev{
        left: 40px;
    }
    .zentalis-spotlight .swiper-button-next{
        right: 40px;
    }
    .zentalis-spotlight .zentalis-border{
        padding: 0 0 0 30px;
    }
    .zentalis-spotlight .swiper{
        padding: 20px 0;
    }
    .innovating_patients .text-content p{
        line-height: 170%;
    }
}
@media (max-width: 540px) {
    .innovating_patients .image-box img{
        padding-left: 40px;
        height: auto;
    }
}
@media (max-width: 492px) {
    .hero-text {
        max-width: 410px;
    }
    .hero-eyebrow {
        font-size: 50px;
    }
}

/* =========================
   MOBILE: 320–430
========================= */
@media (max-width: 430px) {
    .about-section h2 {
        font-size: 40px;
        line-height: 35.2px;
    }
    .about-section .icon{
        max-width: 63px;
    }
    .about-section .card-title{
        font-size: 15px;
        line-height: 18px;
        letter-spacing: 1.65px;
    }
    .about-section .card-text{
        font-size: 19px;
        line-height: 170%;
        margin-top: 10px;
    }

    .hero-bottom-curve{
        --base-height: 190px;
    }
    .hero-container{
        padding-top: 30px;
    }
    .hero-eyebrow {
        font-size: 50px;
    }
    .hero-text>p{
        margin: 18px 0 35px;
    }
}

@media (max-width: 418px) {

    .hero-eyebrow {
        font-size: 45px;
    }
    .hero-text>p{
        margin: 16px 0 30px;
    }
}

@media (max-width: 381px) {
    .hero-eyebrow {
        font-size: 40px;
    }
    .hero-text>p{
        margin: 14px 0 25px;
    }
    .zentalis-spotlight .swiper-slide p{
        line-height: 30px;
        font-size: 18px;
    }
}

@media (max-width: 344px) {
    .hero-eyebrow {
        font-size: 36px;
    }
    .hero-text>p{
        margin: 12px 0 20px;
    }
    .about-section .about-card{
        flex-direction: column;
    }
    .about-section .about-card .icon{
        margin: 0 auto;
    }
}
