/* FIRST SECTION */
.finance-hero {
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: auto;
    height: 100vh;
    position: relative;
    background-color: black;
}

.finance-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);
        }
    }
}

.finance-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2rem 1rem 6rem;
    gap: 0.5rem;
    z-index: 5;
}

.btn2 {
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    color: var(--orange);
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: all 0.2s ease-in-out;
}

.btn2:hover {
    color: white;
    background-color: var(--orange);
}

.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 */
.sec2-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 1rem;
}

.sec2-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    h3 {
        color: black;
    }
}

.sec2-box-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 1rem;
}

.box-container {
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left;
    padding: 2rem;
    max-width: 300px;
    outline: 1px solid var(--gray);
    border-radius: 20px;
    img {
        width: 70px;
        height: 70px;
    }
    span {
        font-weight: bold;
        color: var(--orange);
    }
}

/* THIRD SECTION */
.sec3-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--blue);
}

.consult-sec {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 4rem 1rem 0;
    h3 {
        font-weight: 600;
        margin-bottom: 4rem;
    }
    p {
        margin: 0;
        color: white;
    }
    li {
        font-size: 20px;
        font-weight: 400;
        margin: 0;
        color: white;
    }
    ul {
        margin: 0;
    }
    span {
        font-weight: 600;
    }
}

/* FOURTH SECTION */
.sec4-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--gray);
}

.roi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
    gap: 1rem;
    h3 {
        color: black;
    }
}

.roi-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.roi-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background-color: white;
    width: clamp(90px, 80vw, 300px);
    img {
        width: 150px;
        height: 150px;
    }
    p {
        margin: 0
    }
}

.sec5-wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 4rem 1rem;
    background-color: var(--blue);
    gap: 2rem;
    h3 {
        color: white;
    }
}

@media (max-width: 940px) {
    .finance-btn .btn2 {
        font-size: 20px;
        text-align: center;
    }
    .consult-sec {
        li {
            font-size: 18px;
        }
    }
    .roi-box {
        gap: 1rem;
        padding: 1rem;
        img {
            width: 100px;
            height: 100px;
        }
    }
    .sec5-wrapper {
        .btn2 {
        font-size: 20px;
        text-align: center;
        }
    }
}

@media (max-width: 768px) {
    .finance-text {
        padding: 0 1rem;
        br {
            display: none;
        }
    }
    .roi {
        padding: 2rem 1rem;
        gap: 0;
    }
    .roi-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 546px) {
    .finance-btn .btn2 {
        text-align: center;
        font-size: 16px;
        padding: 1rem;
    }
    .sec2-wrapper {
        padding: 2rem 1rem;
    }
    .box-container {
        padding: 0.5rem;
        max-width: 300px;
        border-radius: 10px;
    }
    .box-container {
        img {
            width: 50px;
            height: 50px;
        }
    }
    .consult-sec {
        padding: 2rem 1rem 0;
        h3 {
            margin-bottom: 2rem;
        }
        li {
            font-size: 16px;
            br {display: none;}
        }
    }
    .roi-box {
        img {
            width: 80px;
            height: 80px;
        }
    }
    .sec5-wrapper {
        padding: 2rem 1rem;
        gap: 1rem;
        .btn2 {
            text-align: center;
            font-size: 16px;
            padding: 1rem;
        }
    }
}