:root {
    --fs-lg: clamp(2rem, 2.5vw + 1rem, 3rem);
    --fs-md: clamp(1rem, 2vw + 1rem, 2rem);
    --fs-400: 1rem;
    --fs-600: 1.2rem;
}


/* Navbar Styles */

.header-light {
    transition: background-color 0.7s ease;
    background-color: var(--main-text);
}

.header-light .nav-item>a {
    color: #ffff;
}

.header-primary {
    transition: background-color 0.7s ease;
    background: var(--primary);
    height: 4rem;
}

.header-title-features {
    display: flex;
    flex-direction: column;
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: 4rem;
}

.desktop-company-features-img {
    display: flex;
}

@media (max-width: 991.98px) {
    .companies-container-all {
        display: flex;
        flex-direction: column !important;
        align-items: center !important;
        margin-top: 5rem;
    }
    .companies-icon {
        display: none;
    }
    .companies-main-title {
        text-align: center;
    }
    .companies-sub-title {
        align-self: center;
        text-align: center;
    }
    .companies-button {
        width: auto !important;
        align-self: center !important;
    }
    .companies-container-right img {
        width: 100%;
    }
    .companies-text-container {
        justify-content: center;
    }
    .align-center-company {
        align-self: center !important;
    }

    .desktop-company-features-img {
        display: none;
    }

}


/* features Section */

.features-container {
    flex-direction: column;
    /* align-items: center; */
}

.features-container-empresas {
    flex-direction: column;
    align-items: center;
    margin-bottom: 6rem !important;
}

.features-all {
    display: flex;
    flex-direction: row;
    margin: 0rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    justify-content: space-between;
    margin-bottom: 3rem !important;
    gap: 4rem;
}

.features-all-empresas {
    display: flex;
    flex-direction: row;
    margin: 0rem;
    margin-top: 1rem;
    /* justify-content: space-between; */
    gap: 6rem;
    width: 100%;
}

.features-all-companies {
    display: flex;
    flex-direction: row;
    margin-top: 5rem;
    justify-content: space-between;
}

.bg {
    background-color: var(--secondary-bg);
}

.features-left-container {
    margin-top: -5rem;
    /* margin-left: 16.66666667%; */
}

.features-right-container-empresas {
    margin-top: -12rem;
    margin-left: 12rem;
}

.features-title {
    text-align: center;
    font-weight: 600;
    font-size: 2.5rem;
    color: #FFFF;
}

.features-description {
    margin-top: 1rem;
    font-size: 1.3rem;
    text-align: center;
    color: #ffff;
}

.features-card {
    width: 480px;
    height: 140px;
    background: #FFFFFF;
    box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.24);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    padding-left: 20px;
    margin-bottom: 20px;
}

.features-card-no-bg {
    width: 480px;
    height: 130px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    /* padding-left: 20px; */
    margin-bottom: 14px;
}

.center-align {
    align-self: center;
}

.features-card-icon {
    min-width: 6rem;
    height: 6rem;
    padding-top: 7px;
    box-shadow: 0px 4px 36px rgb(0 0 0 / 24%);
    text-align-last: center;
    background: white;
    border-radius: 10px;
    margin-bottom: 5rem;
    transform: scale(0.8);
}

.features-icon-title-container {
    display: flex;
    flex-direction: row;
}

.features-check-title-container {
    display: flex;
    flex-direction: row;
}

.features-card-title {
    padding-left: 20px;
    font-weight: 600;
    line-height: normal;
    font-size: 1.3rem;
    color: #333333;
    display: flex;
    flex-direction: column;
    gap: 0.2rem 
}

.features-card-description {
    color: #8A8A8A;
    font-size: 1rem;
    padding-left: 20px;
    padding-top: 10px;
    padding-right: 20px;
    width: 95%;
}

.features-card-texts {
    display: flex;
    flex-direction: column;
}

.saiba-mais-phrase {
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4rem;
}


/* companies section */

#companies {
    height: 100vh;
    background: linear-gradient(100deg, rgba(50,50,250,1) 7%, rgba(50,50,250,0) 60%), url('../images/pics/bg-empresas-min.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#operators {
    height: 100vh;
    /* background: #F2F2F2; */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(90deg, rgba(0, 0, 0, 0.71) 0%, rgba(0, 0, 0, 0) 66.98%), url('../images/pics/bg-operadores-min.png');
    /* background: linear-gradient(100deg, rgba(50,50,250,1) 7%, rgba(50,50,250,0) 60%), url('../images/pics/bg-operadores-min.png'); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.companies-container-all {
    display: flex;
    flex-direction: row;
}

.companies-container {
    width: 100%;
    height: 100%;
    padding-left: 6%;
    padding-bottom: 5%;
    margin-top: 4rem;
}

.companies-container-right {
    width: 50%;
    height: 100%;
    align-self: center;
}

.companies-icon>img {
    width: 145px;
    height: 170px;
}

.companies-icon {
    padding-top: 8%;
}

.companies-text-container {
    display: flex;
    flex-direction: column;
    width: 70%;
}

.companies-main-title {
    color: var(--primary);
    line-height: normal;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    font-size: var(--fs-lg);
}

.companies-sub-title {
    font-weight: 400;
    width: 80%;
    font-size: var(--fs-400);
    color: #333333;
}

.companies-button {
    width: 100%;
}


/* contact-call section */

.contact-call-container {
    display: flex;
    flex-direction: column;
    font-size: 38px;
    font-weight: 600;
    color: #ffff;
}


.contact-call-container-operators {
    display: flex;
    flex-direction: column;
    font-size: 38px;
    font-weight: 600;
    color: #ffff;
}

.btn-companies {
    color: var(--primary);
    font-size: 15px;
    background: #fff;
    font-weight: 600;
    border-radius: 30px;
    border-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.28));
    padding: 12px 20px 12px 15px;
}

.btn-companies:hover {
    color: var(--primary);
    background-color: var(--primary);
    transition: all 0.2s ease-in-out;
}

.btn-companies a {
    text-decoration: none;
    color: var(--primary);
}

.btn-companies:hover a {
    color: #fff;
}

.features-container-texts {
    display: flex;
    flex-direction: column;
}

/* companies */

.company-title {
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.company-description {
    color: #fff;
    text-align: center;
}

.cards-container {
    display: flex;
    flex-direction: row;
    gap: 6rem;
    margin-top: 5rem;
    justify-content: center;
}

.primary-bg-section {
    background-color: var(--primary);
    height: 5rem;
}

.dark-bg-section {
    background-color: var(--main-text);
    height: 10rem;
}

.company-card-fretamento {
    width: 554px;
    height: 280px;
    background: #FFFFFF;
    box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.24);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 10vh;
    border-left-width: 2rem;
}

.company-card-fretamento img {
    transform: scale(0.8);
}

.company-card-fretamento-title {
    font-weight: 600;
    line-height: normal;
    font-size: 1.45rem;
    color: #333333;
}

.company-card-fretamento-description {
    color: #8A8A8A;
    font-size: var(--fs-600);
}

.company-card-fretamento-texts {
    display: flex;
    flex-direction: column;
}

.primary-bg {
    background-color: var(--primary);
}

.dark-bg {
    background-color: var(--main-text);
}

.primary {
    color: var(--primary);
    font-weight: 500;
}

.company-card-fretamento-link a {
    color: var(--primary);
    font-size: 0.7rem;
    text-decoration: underline;
    font-weight: 500;
    margin-top: 0.875rem;
}

.contact-call-btn {
    background: var(--secondary-green);
    border-radius: 30px;
    border: none;
    min-height: 30px;
    height: 39px;
    width: 12rem;
    padding: 7px 16px 0px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--main-text);
    transition: all 0.2s ease-in-out;
}

.contact-call-btn:hover {
    background-color: #fff;
    color: var(--primary);
}

@media only screen and (max-width: 475px) {
    .features-card {
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        width: auto !important;
        height: auto !important;
        padding: 20px;
        margin-right: 5px;
        margin-left: 5px;
    }
    .features-icon-title-container {
        margin-left: 4rem;
        margin-right: 4rem;
    }
    .features-check-title-container {
        margin-left: 0rem;
        margin-right: 0rem;
    }
    .features-card-title {
        font-size: 1.2rem;
    }
    .features-card-description {
        padding-right: 0px;
        width: 100%;
        font-size: 0.9rem;
    }
    .cards-container {
        margin-top: 2rem !important;
    }
    .features-container-empresas {
        margin-bottom: 8rem !important;
    }
}



@media only screen and (min-width: 651px) and (max-width: 768px) {
    .features-title {
        font-size: 1.825rem;
    }
    .features-description {
        font-size: 1rem;
    }
    .company-card-fretamento {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.24) !important;
    }
    .companies-icon>img {
        width: 100px !important;
        height: 118px !important;
    }
}

@media only screen and (max-width: 992px) {
    .contact-call-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 26px;
    }
    .contact-call-container-operators {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 26px;
    }
    .features-all {
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
    .features-all-empresas {
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
    .header-title-features {
        text-align: center;
        font-size: 1.3rem;
    }
    .features-container-texts {
        align-self: center !important;
    }
    .cards-container {
        display: flex;
        flex-direction: column;
        gap: 0rem;
        justify-content: center;
        justify-items: center;
        align-items: center;
        align-content: center;
        margin-bottom: 0rem;
    }
    .features-right-container {
        align-self: center;
    }
}
/* @media only screen and (max-width: 1024px) {

    .features-card {
        width: 400px;
        height: 131px;
    }

    .features-card-description {
        font-size: 0.9rem;
    }

}

@media only screen and (max-width: 1005px) {

    .features-card {
        width: 366px;
        height: 162px;
    }

} */

.mobile-company-features-img {
    display: none;
}

@media only screen and (max-width: 1200px) {
    .features-all-companies {
        display: flex;
        flex-direction: column;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
    .features-all-empresas {
        display: flex;
        flex-direction: row;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }
    .features-right-container-empresas {
        align-self: center;
        padding-left: 2rem;
        margin-top: 0px;
        margin-left: 0rem;
    }
    
}



@media only screen and (max-width: 1200px) and (min-width: 991px) {
    .companies-main-title {
        font-size: 2rem;
    }
    .features-right-container {
        align-self: center;
        padding-left: 2rem;
    }
    .features-right-container-solutions {
        align-self: center;
        padding-left: 2rem;
    }
    .features-right-container-empresas {
        align-self: center;
        padding-left: 2rem;
        margin-top: -12rem;
        width:30% !important;
    }
    .cards-container {
        display: flex;
        flex-direction: row;
        gap: 6rem;
    }
    .company-card-fretamento {
        min-height: 298px;
    }
}

@media only screen and (max-width: 1200px) {
    .features-all-empresas {
        flex-direction: column !important;
    }

    .mobile-company-features-img {
        margin-top: 0rem !important;
    }

    .features-right-container-empresas {
        margin-top: -4rem;
        padding-left: 0rem;
        width:60%;
        margin-bottom: 1rem;
    }

    .features-right-container {
        align-self: start;
    }

    .features-card-no-bg {
        height: 116px;
    }

    .features-all {
        gap: 4rem;
    }
}

@media only screen and (min-width: 651px) {
    .align-features-company {
        align-items: center;
    }
}

@media only screen and (max-width: 650px) {
    .company-card-fretamento {
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 0;
        word-wrap: break-word;
        width: auto !important;
        height: auto !important;
        margin-right: 5px;
        margin-left: 5px;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 8vh;
    }

    .features-all-empresas {
        display: flex;
        flex-direction: column;
    }

    .features-title {
        font-size: 2rem;
        text-align: left;
    }

    .features-description {
        text-align: left;
    }

    .features-right-container-empresas {
        padding-left: 0rem;
    }

    .mobile-company-features-img {
        display: flex !important;
    }
}