@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

.founders-section__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.founder_top_head {
    margin-bottom: 1.25rem;
}

.founder_top_sub_heading {
    color: var(--Neutral-Black, #1A1A1A);
    font-family: Inter;
    font-size: 0.875rem;
    font-style: italic;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.00875rem;
}

.founder_top_heading {
    background: linear-gradient(272deg, #FFD21C 6.52%, #A3720F 69.05%, #FFB81C 91.95%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: Caveat;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.02rem;
}

.founder-card {
    position: relative;
    width: 23rem;
    height: 27rem;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
}

.founder-card__image {
    width: 100%;
    height: 83%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    border-radius: 2.5rem 2.5rem 0rem 0rem;
}

.founder-card__image--1 {
    background-image: url('../../../../assets/img/seo_pages/landing/founders/founder1.png');
}

.founder-card__image--2 {
    background-image: url('../../../../assets/img/seo_pages/landing/founders/founder2.png');
}

.founder-card__image--3 {
    background-image: url('../../../../assets/img/seo_pages/landing/founders/founder3.png');
}

.founder-card__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.founder-card:hover .founder-card__image::before {
    opacity: 1;
}

.founder-card__content {
    width: 100%;
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s all ease-in-out;
    z-index: 2;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, #FFF 100%);
    backdrop-filter: blur(5px);
}

.founder-card:hover .founder-card__content {
    bottom: 0;
}

.founder-card__name {
    color: var(--Neutral-Black, #1A1A1A);

    /* Heading H5- 24px/SemiBold */
    font-family: Inter;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.875rem;
    /* 125% */
    letter-spacing: -0.015rem;
}

.founder-card__bio {
    overflow: hidden;
    color: var(--Neutral-Dark-Grey, #4F4F4F);
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    /* 1.225rem */
    letter-spacing: -0.00875rem;
}


.founder_top_head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.founder_section_mobile_view {
    display: none;
}


@media screen and (width<768px) {
    .founder_section_web_view {
        display: none;
    }

    .founder_section_mobile_view {
        display: flex;
    }

    .founder-card__image::before {
        content: none !important;
        display: none !important;
    }

    .founder_top_head {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
    }


    .founder-card__image {
        border-radius: 2.5rem;
        position: relative;
        height: 25rem;
    }

    .founder_top_sub_heading {
        color: var(--Neutral-White, #FFF);
        text-align: center;
        font-family: Inter;
        font-size: 0.75rem;
        font-style: italic;
        font-weight: 400;
        line-height: normal;
        letter-spacing: -0.0075rem;
    }


    .founder_slider_container {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 1rem;
        margin-top: 2rem;
        scroll-behavior: smooth;

    }


    .founder_slider_container .founder-card {
        flex: 0 0 85% ; 
        height: auto;
        width: 85vw;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        position: relative;
        left: 1.8rem;
    }

    .section_heading_founders {
        color: var(--Neutral-Black, #1A1A1A);
        text-align: center;

        /* Heading H4- 28px/Bold */
        font-family: Inter;
        font-size: 1.75rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.0175rem;
        text-align: center;
    }

    .slider_indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 1rem;
    }

    .slider_dot {
        width: 10px;
        height: 10px;
        background-color: #d9d9d9;
        border-radius: 50%;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

    .slider_dot.active {
        background-color: #fbbc05;
        /* highlighted color */
    }


    .founder_about_section {
        padding: 1rem;
        background: #fff;
        border-radius: 0 0 2.5rem 2.5rem;
        flex-grow: 1;
        text-align: center;
    }

    .founder_slider_container {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .founder_slider_container::-webkit-scrollbar {
        display: none;
    }

    .founder-card__image {
        transition: transform 0.4s ease;
        transform-origin: center center;
    }

    .founder-card__image.tilt-left {
        transform: rotateZ(-4deg) scale(.95);
        opacity: 0.8;
    }

    .founder-card__image.tilt-right {
        transform: rotateZ(4deg) scale(.95);
        opacity: 0.8;
    }

    .founder-card__image.tilt-center {
        transform: rotateZ(0deg) scale(1);
        opacity: 1;
    }

    .section_spacing_founder {
        padding-right: 0;
        padding-left: 0;
    }

    .founder-card__name {
        color: var(--Neutral-Black, #1A1A1A);
        text-align: center;

        /* Heading H5- 24px/SemiBold */
        font-family: Inter;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.875rem;
        /* 125% */
        letter-spacing: -0.015rem;
    }



}