/* GERAL */

* {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

ul li {
    padding-left: 1.4em;  
    text-indent: -1.35em;
}

/* SECTION HEADER */

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: white;
}

header .container-header {
    max-width: 1280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    width: 14rem;
    height: auto;
    object-fit: contain;
}

/* SECTION LOGIN */

section.login {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #023859;
    padding: 3rem 0;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    border: 1px solid white;
    border-radius: 1.5rem;
    background-color: white;
    padding: 2rem 0;
}

.left-login {
    max-width: 100%;
    width: 50%;
    margin-right: 3rem;
    margin-left: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 1.5rem;
    }
}

.right-login {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 50%;
    margin-right: 2rem;
}

.logo-login {
    margin-bottom: 2rem;
    max-width: 100%;
    width: 100%;
}

.logo-login img {
    object-fit: contain;
    width: 30rem;
    height: auto;
}

.right-login p {
    color: #023859;
    margin-bottom: 2rem;
    max-width: 100%;
    width: 100%;
}

.input-login {
    max-width: 100%;
    width: 100%;
}

.input-login label {
    font-size: 1rem;
    color: #023859;
    margin-bottom: 0.5rem;
}

.input-login input {
    width: 85%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #023859;
    border-radius: 1rem;
    font-size: 1rem;
    color: #023859;
}

.input-login input::placeholder {
    color: #a0a0a0;
}

.input-login a {
    display: block;
    text-align: center;
    color: #023859;
    text-decoration: none;
    margin: 1rem 0;
    font-size: 0.9rem;
    position: relative;
    max-width: 100%;
    width: 89%;
}

.input-login a::before,
.input-login a::after {
    content: "";
    display: inline-block;
    width: 40%;
    height: 1px;
    background-color: #023859;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.input-login a::before {
    left: 0;
}

.input-login a::after {
    right: 0;
}

.input-login button {
    max-width: 100%;
    width: 90%;
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: #023859;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.input-login a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.input-login a::before,
.input-login a::after {
    width: 30%;
}

.input-login button:hover {
    background-color: #012a45;
}

.input-login form {
    display: flex;
    flex-direction: column;
}

/* SECTION MIDDLE */

section.middle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding-top: 3rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.middle-container {
    max-width: 1280px;
}

.middle-container p {
    color: #0476D9;
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: -1;
}

/* SECTION USE */

section.use {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #53C5F2 0%, #023859 100%);
}

.use-container {
    max-width: 1280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

section.use .wave {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    transform: rotate(180deg);
}

section.use .wave-bottom {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

.use-container h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 2rem;
}

.use-container ul {
    color: white;
    font-size: 1.7rem;
    font-weight: bolder;
    list-style-type: disc;
    list-style-position: inside;
}

.use-container .steps ul {
    color: #0476D9;
    font-size: 1.7rem;
    font-weight: bold;
    border: 1px solid white;
    background-color: white;
    padding: 2rem 3.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

/* SECTION SECOND MIDDLE */

section.second-middle {
    display: flex;
    flex-direction: column;
    background-color: white;
    align-items: center;
    justify-content: center;
}

.second-middle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 2rem;
    text-align: center;
    color: #012a45;
    font-size: 2rem;
    max-width: 100%;
    width: 85%;
}

/* SECTION BENEFITS */

section.benefits {
    background: linear-gradient(180deg, #023859, #53C5F2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
}

.benefits-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
}

.left-benefits {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 50%;
}

.white-icon img {
    object-fit: contain;
    width: 10rem;
    height: auto;
    margin-right: 1rem;
}

.left-header {
    display: flex;
    align-items: center;
}

.left-header h1 {
    color: white;
    font-size: 3rem;
}

.left-header h2 {
    color: #012a45;
    border: 1px solid white;
    background-color: white;
    padding: 10px;
    border-radius: 1rem;
    font-size: 2rem;
    text-align: center;
}

.left-benefits p {
    color: white;
    font-weight: bold;
    margin: 1rem 0;
    font-size: 1.4rem;
}

.left-benefits ul {
    color: white;
    font-weight: bold;
    margin: 1rem 0;
    font-size: 1.4rem;
    list-style-type: disc;
    list-style-position: inside;
}

.left-benefits .disclaimer {
    color: white;
    font-weight: bold;
    margin: 1rem 0;
    font-size: 1.4rem;
    border: 1px solid #012a45;
    background-color: #012a45;
    border-radius: 1rem;
    padding: 10px;
}

.right-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 50%;
    position: relative;
    top: 1.5rem;
}

.right-benefits .cards {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 3rem;
}

.cards .div-cards {
    display: flex;
    flex-direction: column;
    margin-right: 2rem;
}

.card-professional {
    position: relative;
    top: 1.5rem;
}

.card-specialties {
    position: relative;
    bottom: -1rem;
}

.div-cards img {
    object-fit: contain;
    height: auto;
    width: 15rem;
}

.div-cards-bottom img {
    object-fit: contain;
    height: auto;
    width: 15rem;
}

.div-cards-bottom {
    position: relative;
    top: 1.45rem;
    left: 1.5rem;
}

/* SECTION SPECIALTIES */

section.specialties {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 3rem 0;
}

.specialties-container {
    display: flex;
    flex-direction: column;
    max-width: 1280px;
}

.specialties-container h1 {
    color: #0476D9;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.specialties-container p {
    color: #023859;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.specialties-cards {
    max-width: 100%;
    width: 80%;
    position: relative;
    left: 9rem;
}

.specialties-cards p {
    display: flex;
    flex-direction: column;
    border: 1px solid #0476D9;
    padding: 10px;
    border-radius: 1rem;
    background-color: #0476D9;
    color: white;
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
}

.specialties-cards .cards {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* SECTION FAQ */

section.faq {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.faq .container-faq {
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 5rem;
}

section.faq .container-faq a {
    color: #FF4A22;
}

section.faq .header-faq {
    display: flex;
    align-items: center;
    gap: 20rem;
    text-align: center;
    margin-bottom: 3.5rem;
}

.header-faq .header-logo {
    width: 20rem;
}

.header-faq .header-text h3 {
    border: 1px solid #0476D9;
    background-color: #0476D9;
    padding: 0.3rem;
    color: white;
    border-radius: 1.5rem;
    margin-bottom: 1rem;
}

.header-faq .header-text h2 {
    color: #123762;
    font-weight: bold;
    font-size: 2rem;
}

.header-faq .header-text h2 span {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    border: 1px solid #FF4A22;
    background-color: #FF4A22;
    border-radius: 50%;
    padding: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.faq-div {
    max-width: 100%;
    width: 100%;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.faq-question {
    background-color: #0476D9;
    color: white;
    border: none;
    padding: 0.7rem;
    max-width: 100%;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #123762;
}

.faq-answer {
    display: none;
    padding: 1rem;
    background-color: #f9f9f9;
    border-left: 4px solid #0476D9;
    border-right: 4px solid #0476D9;
    border-radius: 5px;
    font-size: 1.2rem;
    color: #123762;
    margin-bottom: 1rem;
    max-width: 100%;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    display: block;
}


/* SECTION LEGAL ADVERT */

section.legal-advert {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
}

section.legal-advert .container-legal-advert {
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: justify;
}

section.legal-advert .container-legal-advert a {
    color: #0476D9;
}

.container-legal-advert h1 {
    color: #123762;
    font-weight: bold;
    font-size: 3rem;
    padding-bottom: 1.5rem;
}

.container-legal-advert p {
    color: #123762;
    font-weight: 500;
    font-size: 1.2rem;
    padding-bottom: 1.5rem;
}

.container-legal-advert .legal-advert-logo {
    width: 18rem;
    height: auto;
    object-fit: contain;
    padding-bottom: 1.5rem;
}

/* FOOTER */

footer {
    background-color: #123762;
    color: white;
    padding-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

footer .container-footer {
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5rem;
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 2rem;
}

footer .footer-info {
    flex: 1;
    text-align: left;
    line-height: 1.5;
}

footer .footer-info p {
    margin: 0.5rem 0;
}

footer .apps-img {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

footer .apps-img img {
    width: 10rem;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

footer .apps-img img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #f5f5f5;
    text-align: center;
    border-top: 1px solid #FF4A22;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-bottom a {
    text-decoration: none;
    color: #FF4A22;
}

.contacts a {
    color: #FF4A22;
}

.contacts .whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts .whatsapp img {
    object-fit: contain;
    height: 30px;
    width: 30px;
    margin-right: 0.5rem;
}

/* WHATSAPP BUTTON */

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* TOOLTIP LOGIN */

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    color: #123762;
    background-color: #e0e0e0;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
}

.tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #123762;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1100px) {
    * {
        overflow-x: hidden;
    }

    .login-container {
        flex-direction: column;
        max-width: 100%;
        width: 90%;
    }

    .left-login {
        max-width: 100%;
        width: 85%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 3rem;
    }

    .right-login {
        max-width: 100%;
        width: 85%;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
    }

    .logo-login {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .right-login p {
        text-align: center;
    }

    .input-login {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .input-login form {
        max-width: 100%;
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .input-login input {
        max-width: 100%;
        width: 85%;
    }

    .input-login a {
        max-width: 100%;
        width: 100%;
    }

    .middle-container {
        max-width: 100%;
        width: 90%;
    }

    .use-container {
        max-width: 100%;
        width: 85%;
    }

    .second-middle-container {
        padding-bottom: 1.5rem;
    }

    .benefits-container {
        flex-direction: column;
    }

    .benefits-container {
        overflow-y: hidden;
    }

    .left-benefits {
        max-width: 100%;
        width: 85%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .right-benefits {
        max-width: 100%;
        width: 90%;
        top: 2rem;
    }

    .right-benefits .cards {
        left: 0;
        gap: 2rem;
        max-width: 100%;
        width: 90%;
        height: 55rem;
    }

    .div-cards {
        height: 50rem;
        position: relative;
        top: 1.4rem;
    }

    .div-cards-bottom {
        overflow-y: hidden;
        height: 50rem;
    }

    .cards .div-cards {
        margin-right: 0;
        overflow-y: hidden;
    }

    .specialties-container {
        max-width: 100%;
        width: 90%;
    }

    .specialties-cards {
        max-width: 100%;
        width: 100%;
        position: relative;
        left: 0;
    }

    .container-faq {
        max-width: 100%;
        width: 90%;
    }

    section.faq .header-faq {
        gap: 8rem;
    }

    .header-faq .header-logo {
        width: 15rem;
    }

    .container-legal-advert {
        max-width: 100%;
        width: 90%;
    }

    .container-legal-advert p {
        text-align: justify;
    }

    .container-footer {
        flex-direction: column;
    }

    .container-legal-advert {
        text-align: justify;
    }
}

@media (max-width: 480px) {
    * {
        overflow-x: hidden;
    }

    /* HEADER */

    header .logo img {
        width: 8rem;
    }

    .logo-title {
        text-align: center;
    }

    .logo-text {
        text-align: justify !important;
    }

    .left-header h1 {
        font-size: 2rem;
    }
    
    .left-header h2 {
        font-size: 1.3rem;
    }

    /* SECTION MIDDLE */

    .middle-container p {
        font-size: 1.7rem;
        text-align: justify !important;
    }

    /* SECTION USE */

    .use-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .use-container h1 {
        font-size: 2.3rem;
        text-align: center;
    }

    .use-container .steps ul {
        padding: 1rem;
        border-radius: 1rem;
        margin-bottom: 2rem;
        text-align: start;
        font-size: 1.1rem;
    }
    
    .use-container ul {
        font-size: 1.1rem;
        padding-left: 1.5rem;
        text-align: left;
    }
    
    .use-container ul li {
        display: list-item;
    }

    /* SECTION SPECIALTIES */

    section.specialties {
        padding-bottom: 1rem;
    }

    .specialties-container h1 {
        text-align: center;
        font-size: 2.5rem;
    }

    .specialties-cards p {
        font-size: 1.1rem;
    }

    .left-benefits ul {
        font-size: 1.1rem;
    }

    .left-benefits li {
        text-align: left;
    }

    .cards .div-cards {
        margin: 0;
        padding: 0;
    }

    .right-benefits .cards {
        flex-direction: column;
        left: 0;
        gap: 0;
    }

    .div-cards-bottom {
        overflow-y: hidden;
        position: relative;
        top: -3.5rem;
    }

    .div-cards-bottom .card-specialties {
        position: relative;
        left: 0.5rem;
    }

    section.faq .header-faq {
        gap: 2rem;
        flex-direction: column;
    }

    .header-faq .header-logo {
        width: 15rem;
    }

    .input-login a::before,
    .input-login a::after {
        display: none;
    }

    .left-benefits p {
        text-align: justify;
    }

    .left-header {
        gap: 0.5rem;
        flex-direction: column;
    }

    .left-header img {
        display: none;
    }

    .left-header h1 {
        font-size: 1.7rem;
    }

    .left-header h2 {
        font-size: 1rem;
    }

    .left-benefits ul {
        list-style-position: inside;
        padding-left: 0;
        text-align: center;
    }

    .specialties-cards {
        flex-wrap: wrap;
    }

    .specialties-cards .cards {
        flex-wrap: wrap;
    }

    /* SECTION SECOND MIDDLE */

    .second-middle-container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .second-middle-container p {
        font-size: 1.5rem;
        color: #0476D9;
        position: relative;
        top: -2rem;
        z-index: 10;
    }

    .left-login video {
        width: 20rem;
        height: 20rem;
    }

    .tooltip {
        position: relative;
        top: 0.3rem;
    }

    .right-benefits .cards {
        height: 98rem;
        overflow: hidden;
    }

    .div-cards-bottom {
        top: 0;
        left: 0;
        height: 50rem;
    }

    .div-cards {
        height: 50rem;
    }

    .right-benefits .cards {
        overflow-y: hidden;
    }

    .right-benefits {
        height: 100rem;
        margin-bottom: 2rem;
        align-items: baseline;
    }

    .card-specialties {
        max-width: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        left: 0 !important;
    }

    section.specialties {
        padding-bottom: 0;
    }

    .background-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .faq-div ul li {
        padding-left: 0;
        text-indent: 0;
    }

    .faq-answer p {
        max-width: 100%;
        width: 100%;
        justify-self: center;
        text-align: justify;
    }
}