/* FIRST SECTION */
.about-hero {
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: auto;
    height: 100vh;
    position: relative;
    background-color: black;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: center;
    padding: 0 2rem;
    filter: drop-shadow(0 0 4px black);
    gap: 0.5rem;
    z-index: 5;
    h1 {
        span {
            color: var(--orange);
        }
    }
}

.hero-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2rem 1rem 6rem;
    gap: 0.5rem;
    z-index: 5;
}

.pill-btn {
    display: flex;
    flex-direction: row;
    border-radius: 100px;
    overflow: hidden;
    background-color: var(--orange);
    position: relative; 
}

.pill-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 4%;              
    width: 52%;
    height: 100%;
    background-color: white;
    border-radius: 100px;
    transition: left 0.35s ease;
    z-index: 0;
}

.pill-btn[data-active="left"]::before { left: 0%; }
.pill-btn[data-active="right"]::before { left: 52%; }

.pill-btn[data-active="left"] .btn2 { color: white; }
.pill-btn[data-active="left"] .btn1 { color: var(--orange); }

.pill-btn[data-active="right"] .btn2 { color: var(--orange); }
.pill-btn[data-active="right"] .btn1 { color: white; }

.pill-btn .btn1 {
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    padding: 1rem 2rem;
}

.pill-btn .btn2 {
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 100px;
}

.pill-btn a {
    text-align: center;
    position: relative;
    color: white;
    z-index: 1;
    transition: color 0.35s ease;
}

.hero-img {
    position: absolute;
    width: 100%;
    outline: 2px dotted white;
    mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 35%,
    rgba(0,0,0,0)); 
    z-index: 1;
    video {
        object-fit: cover;
        height: 100vh;
        width: 100%;
    }
    img{
        object-fit: cover;
        height: 100vh;
        width: 100vw;
    }
}

/* SECOND SECTION */
.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.our-story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1000px;
    gap: 2rem;
    padding: 4rem 1rem;
    h3 {
        text-align: center;
        color: black;
    }
    p {
        margin: 0;
    }
}

.content-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    img {
        object-fit: cover;
        height: auto;
        width: clamp(90px, 90vw, 400px);
    }
    ul {
        font-size: 20px;
        margin: 0;
    }
}
#myBtn {
    font-size: 20px;
    font-weight: bold;
    color: var(--orange);
    border: none;
    background-color: transparent;
}
#myBtn:hover {
    text-decoration: underline;
}
#more {display: none;}

.content-text {
    span {
        font-weight: bold;
    }
}

/* THIRD SECTION */
.what-we-believe {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    background-color: var(--blue);
    gap: 2rem;
}

.box-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1570px;
    gap: 2rem;
}

.box-container {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    outline: 1px solid var(--gray);
    border-radius: 20px;
    width: clamp(90px, 70vw, 350px);

    img {
        width: 70px;
        height: 70px;
    }
    p {
        color: white;
    }
}

/* FOURTH SECTION */
.mvc-section {
    display: flex;
    flex-direction: column;
}

.mvc-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    img {
        object-fit: cover;
        width: 50%;
    }
}

.mvc-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    flex: 1; 
    h3 {
        color: black;
    }
    ul {
        padding: 0;
    }
    li {
        font-size: 20px;
        list-style: none;
        margin-bottom: 1rem;
    }
    span {
        font-weight: 600;
        color: var(--orange);
    }
}

/* FIFTH SECTION */
.sec5-wrapper {
    padding: 4rem 1rem;
}

.our-partners {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    h3 {
        color: black
    }
}

.partners-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
}

.partners-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    outline: 1px solid var(--orange);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    max-width: 280px;
    width: 100%;
    gap: 1rem;
    flex: 1;
    p {
        text-align: center;
        font-weight: bold;
        color: var(--orange);
    }
}

/* SIXTH SECTION */
.sec6-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--blue);
    gap: 2rem;
    span {
        color: var(--orange);
    }
}

.sec6-wrapper .btn3 {
    font-size: 25px;
    font-weight: bold;
    color: var(--orange);
    background-color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    max-width: 400px;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.sec6-wrapper .btn3:hover {
    color: white;
    background-color: var(--orange);
}

@media (max-width: 940px) {
    .home-bottom {
        padding: 1rem 1rem 6rem;
    }
    .pill-btn .btn1, .pill-btn .btn2 {
        font-size: 20px;
    }
    .sec6-wrapper .btn3{
        padding: 0.5rem 1rem;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .our-story {
        gap: 1rem;
        padding: 2rem 1rem;
    }
    .content-wrap {
        flex-direction: column;
        justify-content: center;
        img {
            align-self: center;
        }
    }
    .content-wrap {
        br{ display: none;}
        p {
            margin: 1rem 0;
        }
        ul {
            font-size: 18px;
            margin: 0;
        }
    }
    .what-we-believe {
        padding: 2rem 1rem;
        gap: 1rem;
    }
    .box-wrapper {
        gap: 1rem;
    }
    .box-container {
        padding: 1rem;
        border-radius: 20px;
        img {
            width: 50px;
            height: 50px;
        }
    }
    .mvc-text {
        padding: 1.5rem;
        span {
            font-size: 18px;
        }
        li {
            font-size: 18px;
        }
    }
    .sec5-wrapper {
        padding: 2rem 1rem;
    }
    .our-partners {
        gap: 0;
        br {
            display: none;
        }
    }
    .partners-row {
        gap: 1rem;
    }
    .partners-container {
        border-radius: 10px;
        padding: 0.5rem 1rem;
    }
    .sec6-wrapper {
        padding: 2rem 1rem;
        gap: 1rem;
    }
}

@media (max-width: 546px) {
    .pill-btn .btn1, .pill-btn .btn2 {
        text-align: center;
        font-size: 16px;
        padding: 1rem;
    }
    .content-wrap {
        ul {
            font-size: 16px;
        }
    }
    .mvc-text {
        padding: 1rem;
        span {
            font-size: 16px;
        }
        li {
            font-size: 16px;
        }
    }
    .partners-row {
        flex-direction: column;
        align-items: center;
    }
    .partners-container {
        justify-content: center;
        text-align: center;
    }
    .sec6-wrapper .btn3 {
        font-size: 18px;
        width: max-content;
    }
}