.about-header {
    background: linear-gradient(rgba(33, 33, 33, 0.9), rgba(33, 33, 33, 0.7)),
    url(../images/about-bg.jpg) center no-repeat;
}

.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15rem 0;
    overflow: hidden;
}

.about-section-header {
    text-align: right;
    padding-bottom: 10rem;
    transform: translate(65%, 50%);
}

.about-section-header .section-border::after {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.about-page-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 60%;
}

.feature {
    width: 20rem;
    height: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: #181818;
    margin: 3rem;
    border-radius: 3rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature:nth-child(2),
.feature:nth-child(6) {
    transform: translateY(6rem);
}

.feature:nth-child(3),
.feature:nth-child(7) {
    transform: translateY(12rem);
}

.feature:nth-child(4),
.feature:nth-child(8) {
    transform: translateY(18rem);
}

.feature::before {
    content: "";
    width: 15rem;
    height: 15rem;
    background-color: #1f1f1f;
    border-radius: 50%;
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    opacity: .7;
}

.feature span {
    z-index: 1;
    font-size: 6rem;
    color: #32b0ce;
}

.feature h3 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    width: 70%;
    text-align: center;
}

.team {
    width: 200%;
    height: 200rem;
    background: linear-gradient(
        to bottom,
        rgba(33, 33, 33, 0.7),
        rgba(19, 27, 29, 0.9),
        rgba(33, 33,33, 0.9)
    ),
    url(../images/team-bg.jpg) center no-repeat;
    background-size: cover;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.9);
}

.team h1 {
    font-family: 'Kaushan Script', cursive;
    font-size: 10rem;
    color: #32b0ce;
    text-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
    margin: -15rem 0 15rem 0;
}

.members {
    display: flex;
}

.member {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 6rem;
}

.member img {
    width: 35rem;
    height: 35rem;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    cursor: pointer;
    transition: filter 1s;
}

.member img:hover {
    filter: grayscale(0);
}

.member-name {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .1rem;
    margin-top: 2rem;
}

.member-position {
    font-size: 1rem;
    text-transform: uppercase;
    color: #32b0ce;
    letter-spacing: .1rem;
}


.footer-about {
    margin-top: -50rem;
}

.footer-content {
    position: relative;
}

.address i {
    margin-bottom: 6rem;
}

.social-media {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.social-media i {
    font-size: 3.5rem;
    color: #fff;
    margin-right: 3rem;
    cursor: pointer;
}

.footer-about .footer-header {
    text-align: right;
    transform: translateX(80%);
}

.footer-about .footer-header .section-border::after {
    right: 0;
    left: auto;
    transform: translateX(0);
}

.form-feedback {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
    top: -80%;
    left: 50%;
    width: 70%;
    height: 20%;
    padding: 1rem;
    position: fixed;
    color: #fff;
    font-size: 3rem;
    border-radius: 30% 0 30% 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateX(-50%);
    transition: all 2s ease;
    opacity: 0;
}

.mask {
    display: none;
    visibility: hidden;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3;
    background: linear-gradient(109deg, rgba(10, 12, 16, .99) 15%, rgba(10, 12, 16, .7) 50%, rgba(10, 12, 16, .99) 85%);
    transition: opacity 1s ease;
    opacity: 0;
}

.form-feedback.feedback-visible {
    opacity: 1;
}

.mask.mask-visible {
    display: inline;
    visibility: visible;
    opacity: 1;
}





@media(max-width: 1600px) {
    .about-section .about-section-header {
        transform: translateX(50%);
    }

    .about-page-features {
        width: 80%;
    }
    .footer-about .footer-header {
        transform: translateX(60%);
    }
}

@media(max-width: 1440px) {
    .about-section-header {
        transform: translate(60%, 50%);
    }
}

@media(max-width: 1280px) {
    .about-section-header {
        transform: translate(50%, 50%);
    }

    .about-page-features {
        width: 70%;;
    }

    .footer-about .footer-header {
        transform: translateX(45%);
    }
}

@media(max-width: 1024px) {
    .about-page-features {
        width: 70%;
    }

    .member img {
        width: 30rem;
        height: 30rem;
    }

    .footer-about .footer-header {
        transform: translateX(40%);
    }
}

@media(max-width: 820px) {
    .about-section-header {
        text-align: center;
        transform: none;
        padding-bottom: 5rem;
    }

    .section-heading-lg {
        font-size: 2.5rem; 
        text-align: center; 
        margin: 0 auto; 
    }

    .about-section-header .section-border::after {
        right: 50%;
        transform: translateX(50%);
    }

    .about-page-features {
        padding-bottom: 25rem;
    }

    .feature:nth-child(2),
    .feature:nth-child(6) {
        transform: translateY(0);
    }

    .feature:nth-child(3),
    .feature:nth-child(7) {
        transform: translateY(0);
    }

    .feature:nth-child(4),
    .feature:nth-child(8) {
        transform: translateY(0);
    }

    .team {
        clip-path: none;
        width: 100%;
        height: 70vh;
        box-shadow: none;
    }

    .member img {
        width: 25rem;
        height: 25rem;
    }

    .member-position {
        font-size: 1.2rem;
    }

    .footer-about {
        margin-top: 0;
    }

    .footer-about .footer-header {
        align-items: center;
        transform: translateX(0);
    }

    .footer-about .footer-header .section-border::after {
        right: 50%;
        transform: translateX(50%);
    }


}

@media(max-width: 768px) {
    .member img {
        width: 18rem;
        height: 18rem;
    }
}

@media(max-width: 430px) {

    .about-section-header {
        text-align: center;
        padding-bottom: 2rem;
    }

    .about-section .section-heading-lg {
        margin-right: 10rem;
    }

    .section-heading-lg {
        font-size: 2.5rem;
        margin: 0 auto;
    }

    .team {
        height: 100vh;
    }

    .team h1 {
        margin: 0 0 10rem 0;
    }

    .members {
        flex-direction: column;
    }

    .member {
        margin: 2rem 4rem;
    }

    .member span {
        margin: 2rem 0;
    }

    .footer-about .footer-header {
        text-align: center;
        transform: translateX(0);
    }

    .social-media {
        display: flex;
        flex-direction: row;
    }

    .footer-about .footer-header .section-border::after {
        right: 50%;
        transform: translateX(50%);
    }
}