/* service pages banner */
.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(54, 72, 105, 0.537), rgba(54, 180, 115, 0.29)), var(--page-banner);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(1.8px);
    z-index: 1;
}

.page-banner {
    position: relative;
    height: 35vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0rem 0rem 5rem;
    overflow: hidden;
}

.page-banner>* {
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 2.5rem;
    line-height: 1.5;
    letter-spacing: 1.5px;
    color: #fff;
    font-weight: 500;
}

.page-content {
   
    margin: auto;
    text-align: center;
}

.page-content a button {
    outline: 1px solid #fff;
    border: none;
    padding: 0.5rem 1rem;
    color: #fff;
    background-color: var(--bw-blue-dark);
    margin: 1.25rem 0;
    border-radius: 0.5rem;
    width: fit-content;

    &:hover {
        cursor: pointer;
        transform: scale(1.05);
        background-color: var(--bw-blue);
    }
}

#vision {
    width: 100%;
    border: none;
    margin-top: -5rem;
    padding: 4rem 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--bw-blue-dark);
    text-align: center;
}

#vision p {
    margin: auto;
    width: 70%;
}

/* milestone gallery section */
.milestone-gallery {
    display: flex;
    gap: 2rem;
    overflow-x: scroll;
    scrollbar-width: none;
    margin-block: 2rem 8rem;
    margin-inline: auto;
    padding-inline: auto;
    width: 80%;
    padding: 1rem 1.5rem;
    align-items: center;
}

.milestone-card a {
    border: 1px solid var(--bw-blue-light);
    display: flex;
    flex-direction: column;
    width: 15rem;
    border-radius: 1.5rem;
    overflow: hidden;
}

.milestone-image {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: auto;
}

.milestone-image img {
    width: 100%;
    object-fit: cover;
}

.milestone-content {
    border-block-start: 1px solid var(--bw-blue-light);
    border-radius: 1rem 1rem 1.5rem 1.5rem;
    padding-block: 3rem;
    background-color: var(--light-gray);
}

.milestone-content p {
    text-align: center;
    color: var(--bw-blue-dark);
    font-size: 1.05rem;
    font-weight: 500;
}

/* benefits section */
#milestone-gallery {
    font-size: 2.1rem;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-block: 2rem 8rem;
    justify-content: center;
}

.benefit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bw-blue-dark);
    border: 1px solid var(--bw-blue-light);
    background-color: var(--light-gray);
    padding: 2rem 1rem;
    border-radius: 0.8rem;
    width: 25%;
}

.benefit figure {
    width: 25%;
}

.benefit figure img,
.training-requirements figure img {
    width: 100%;
    object-fit: cover;
}

.benefit p {
    width: 100%;
    text-align: center;
}

.training-requirements {
    padding: 1rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.training-requirements div {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    border: 1.5px solid var(--bw-blue-light);
    border-radius: 0.5rem;
    color: var(--bw-blue-dark);
    width: 50%;
    margin: auto;
}

.training-requirements div figure {
    width: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-title {
    color: var(--bw-blue);
    font-size: 2.3rem;
    font-weight: 450;
    padding: 0.5rem 1rem;
    width: fit-content;
    margin: 0 auto;
}

#apply-now {
    margin-block: 2rem 8rem;
}


@media screen and (max-width: 1024px) {
    .page-banner {
        height: 25vh;
    }

    .page-subtitle {
        font-size: 1.5rem;
    }

    #vision p {
        width: 90%;
    }

    .milestone-gallery {
        gap: 2rem;
        margin-block: 1rem 8rem;
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .milestone-card {
        width: 90%;
    }

    .benefits {
        flex-direction: column;
    }

    .benefit {
        width: 100%;
    }

    .training-requirements {
        padding: 0;
    }

    .training-requirements div {
        width: 100%;
    }

    .training-requirements div figure {
        width: 10%;
    }
}