body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    /* overflow-x: hidden; */
  }

.navbar-bg {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    top: 0;
    width: 100vw;
    height: 140px;
    background-image: url("../assets/images/texture.png");
    background-size: 100%, 100%;
    background-position: center, center;
    mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 70%,
    rgba(0,0,0,0));
    z-index: 5;
}

.people-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8.25rem 1rem 0;
}

    .people-text {
        display: inherit;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 4rem 0 2rem;
        p { font-weight: 300; }
    }

.vm-wrapper {
    display: inherit;
    justify-content: center;
    padding: 4rem 0;
    gap: 2rem;
}

    .vm-sec {
        width: clamp(250px, 80%, 500px);
        /* margin: 0 auto; */
        background-color: white;
        padding: 3rem 2rem;
        border-radius: 50px;
        img {
            height: 130px;
            width: 130px;
        }
        h3 {
            color: var(--blue);
            font-weight: 300;
        }
        p {
            color: black;
            font-weight: 300;
        }
    }

.story-wrapper {
    display: flex;
    justify-content: center;
}

.our-story {
    display: inherit;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    max-width: 1070px;
    outline: 1px solid white;
    border-radius: 30px;
    padding: 2rem;
    gap: 2rem;
    video {
        width: clamp(250px, 100%, 540px);
        height: auto;
        border-radius: 30px;
        margin: 0 auto;
    }
}

    .story-text {
        display: inherit;
        flex-direction: column;
        h4 {font-weight: 300;}
        p {font-weight: 300;}
        span {font-weight: bold;}
    }

.team-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
}

    .team-sec {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .team-info {
        display: inherit;
        align-items: center;
        flex-direction: row;
        max-width: 1160px;
        gap: 2rem;
        transition: all 0.4s ease;
        img {
            width: clamp(250px, 80%, 400px);
            margin: 0 auto;
            border-radius: 30px;
            transition: opacity 0.4s ease;
        }
    }
    .team-text h3, .team-text p {
        font-weight: 300;
        transition: opacity 0.4s ease;
    }
    .team-dots {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 2rem 0;
    }
    
    .team-dots .dot {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        outline: 1px solid white;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }
    
    .team-dots .dot:hover {
        transform: scale(1.1);
    }
    
    .team-dots .dot.active {
        background-color: white;
    }

@media (max-width: 999px) {
    .people-text {
        padding: 0 0 2rem;
    }
    .vm-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .vm-sec{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 1.5rem;
        img {
            height: 80px;
            width: 80px;
        }
    }
    .our-story {
        align-items: center;
        flex-direction: column;
        outline: none;
        h4 {
            text-align: center;
        }
    }
    .sec-title {padding: 0!important;}
    /* .team-wrapper{padding: 0 0 4rem;} */
    .team-sec {flex-direction: column-reverse;}
    .team-info {
        flex-direction: column-reverse;
    }
    .team-text{
        h3 {text-align: center;}
    }
}

@media (max-width: 546px) {
    .navbar-bg {height: 110px;}
}