@import url(../../global.css);

.main-hero {
    height: 100vh;
    padding: 128px 50px;
    background: linear-gradient(89.53deg, rgba(0, 0, 0, 0.6) 38.02%, rgba(0, 0, 0, 0.3) 60.4%, rgba(0, 0, 0, 0) 71.79%), url("../../../assets/images/offer-documents/fpo/fpo-page-banner-min.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3);
}

.hero-header>h1 {
    width: 70%;
    font-family: Urbanist, sans-serif;
    font-size: 4.235rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
}

.hero-header>p {
    width: 60%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.618;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
}

@media screen and (max-width:768px) {
    .main-hero {
        background: linear-gradient(180deg, rgba(137, 137, 137, 0.2) 0%, #000000 100%), url("../../../assets/images/offer-documents/fpo/fpo-page-banner-min.png");
        padding: 40px;
        align-items: center;
    }

    .hero-header>h1 {
        width: 100%;
    }

    .hero-header>p {
        width: 100%;
    }
}

@media screen and (max-width:430px) {
    .main-hero {
        padding: 20px;
    }

    .hero-header>h1 {
        font-size: 2.617rem;
    }

    .hero-header>p {
        font-size: 1rem;
        width: 100%;
    }
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header>h2 {
    font-family: Urbanist, sans-serif;
    font-size: 2.617rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.section-header>p {
    width: 50%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

@media screen and (max-width:430px) {
    .section-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header>h2 {
        font-size: 2.617rem;
        text-align: left;
    }

    .section-header>p {
        width: 100%;
        font-size: 1rem;
        text-align: left;
    }
}

.fpo-container {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 50px;
}

.fpo-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
    width: auto;
}

.fpo-col {
    display: flex;
    align-self: flex-start;
    flex: 1 1 calc(30% - 16px);
    width: auto;
}

/* .ipo-col:last-child{
    flex: none;
} */

.fpo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fpo-image {
    position: relative;
    width: 100%;

}

.fpo-image>img {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 26px 26px 0 26px;
}

.fpo-image>span {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 26px;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
}

.fpo-cta-button {
    position: absolute;
    background-color: #ffffff;
    border-radius: 48px 0 0 0;
    bottom: 0;
    right: 0;
}

.fpo-cta-button::before {
    content: '';
    height: 50px;
    width: 50px;
    position: absolute;
    background: transparent;
    top: -50px;
    right: 0;
    border-radius: 50%;
    box-shadow: 20px 20px 0 #fff;
}

.fpo-cta-button::after {
    content: '';
    height: 50px;
    width: 50px;
    position: absolute;
    bottom: 0;
    left: -50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 20px 20px 0 #fff;
}


.fpo-cta-button>a {
    background-color: #212121;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    border: 16px solid #fff;
    border-radius: 100%;
}

.fpo-content>a {
    font-family: Urbanist, sans-serif;
    font-size: 1.618rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    color: #000;
}
