@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --white: #fff;
    --nav-active: #FF2C3C;
    --nav-text: #6A6A6A;
    --text-gray: #6A6A6A;
    --text-red: #FF2C3C;
    --contact-gray: #333;
    --hover-dropdown-text: #ffffff5e;
    --h1-color: #8A8A8A;
    --h1-span: #3F99FB;
    --hr-gray: #ebebeb;
    --hr-red: #FF2C3C;
    --button-red: #FF2C3C;
    --button-green: #64B496;
    --button-blue: #3F99FB;
    --button-yellow: rgba(255, 255, 255, 0.4);
    --text-blue: #3F99FB;
    --text-green: #64B496;
    --text-yellow: #ffd248;
    --back-green: #64B496;
    --back-red: #FF2C3C;
    --back-blue: #3F99FB;
    --back-yellow: #ffd248;
    --card-program: #f4f4f4;
    --cardText-gray: #333;
    --head-tranparency: #FF465D;
    --footer-legal: #868686;
    --red-footer: #FF2C3C;
    --footer-gray: #edecec;
}

* {
    margin: 0;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Rubik", sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


main {
    flex: 1;
    max-width: 2000px;
}

main, header, footer {
    width: 100%;
}

.bg-body-tertiary {
    background: var(--white) !important;
}

.nav-link {
    color: var(--text-gray);
    font-size: min(max(1vw, 0.6em), 1.5em);
    padding-bottom: 0;
}

.nav-link:focus,
.nav-link:hover {
    color: var(--nav-active);
    font-weight: 600;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--nav-active);
    font-weight: 600;
}

.navbar-nav {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.dropdown-menu {
    border-radius: 0;
    font-size: 0.6em;
    padding: 0;
    margin: 0em;
    width: fit-content;
}

.dropdown-item {
    color: var(--nav-text);
    font-size: 1rem;
    line-height: 1.3;
}

.dropdown-item:hover,
.dropdown-item:hover {
    color: var(--white);
    background-color: var(--nav-text);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
    display: block;
}

.nav-item.dropdown:hover .nav-link {
    color: var(--bs-nav-link-hover-color, #0d6efd);
}

.nav-item.dropdown:hover .nav-link {
    color: var(--text-red);
    font-weight: 600;
}


h1 {
    font-size: min(max(6vw, 2.5em), 8em);
    color: var(--h1-color);
}

h1 span {
    color: var(--h1-span);
}

ul {
    list-style: none;
}

.hr-gray {
    border: 1px solid var(--hr-gray);
    width: 10%;
    opacity: 1;
    margin: 2rem 0 2em;
}

.hr-white {
    border: 1px solid var(--white);
    width: 10%;
    opacity: 1;
    margin: 1rem 0 2.5em;
}

.hr-red {
    border: 1px solid var(--hr-red);
    width: 10%;
    opacity: 1;
    margin: 1rem 0;
}

.best-world {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 1em;
}

.best-world hr {
    width: 10%;
    border: 1px solid var(--text-gray);
    opacity: 1;
}

.btns {
    border: none;
    border-radius: 10em;
    padding: 0.2em 1em;
    margin: 0 1em;
    font-size: min(max(2vw, 1.18em), 1.5em);
    text-decoration: none;
}

.btn-yellow {
    background: var(--button-yellow);
    color: var(--text-gray);
    box-shadow: 7px 9px 8px -4px rgba(153, 122, 0, 1);
    font-size: min(max(2vw, 1.1em), 2.3em);
}

.btn-transparency {
    border: none;
    border-radius: 0.3em;
    padding: 0.3em 1em;
    margin: 0 1em;
    font-size: min(max(2vw, 1.5em), 2.3em);
    text-decoration: none;
}

.btn-red {
    background: var(--button-red);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--text-green);
    font-weight: 300;
}

.btn-green {
    background: var(--button-green);
    color: var(--white);
}

.btn-report {
    background: var(--button-green);
    color: var(--white);
    font-size: min(max(2vw, 1.8em), 3.2em);
}

.btn-blue {
    background: var(--button-blue);
    color: var(--white);
}

.shape-container {
    width: 62%;
}

.shape-img {
    shape-outside: url('../assets/images/icons/lentes.svg');
    shape-image-threshold: 0.5;
    shape-margin: 20px;
    float: left;
    max-width: 40%;
}

.video-container {
    background-image: url('../assets/images/background/Lente.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.video-container p {
    font-size: min(max(2vw, 1.2em), 2.8em);
}

.video-container button {
    color: var(--white);
    text-decoration: none;
    font-weight: 300;
    background: transparent;
    border: none;
}

.visual-health {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../assets/images/background/Nosotros.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}

.text-green {
    color: var(--text-green) !important;
}

.counter h3 span {
    color: var(--h1-span);
}

.counter ul,
.transform ul,
.refractive-errors ul,
.talk-sight ul,
.transparency ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 0 1em;
    gap: 2em 0;
}

.transparency li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    padding: 3em 0;
}

.counter li,
.transform li,
.refractive-errors li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.counter ul li div,
.transform ul li div {
    display: flex;
    justify-content: center;
    height: 150px;
}

.counter img,
.transform img {
    width: 80%;
}

.refractive-errors img {
    width: 50%;
}

.counter p {
    color: var(--text-gray);
    font-size: min(max(2vw, 1.3em), 1.8em);
    font-weight: 500;
    line-height: 1;
}

.kids-text {
    font-size: min(max(2vw, 1em), 1.2em) !important;
    line-height: 1.2 !important;
}

.kids-text span {
    color: var(--text-blue);
}

.section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.transform {
    background: var(--back-green);
}

.transform h6 {
    color: var(--white);
    font-size: min(max(3vw, 1.5em), 2.5em);
    font-weight: 300;
    line-height: 1;
    text-align: center;
}

.benefited {
    background: var(--back-yellow);
}

.benefited p {
    color: var(--text-gray);
    font-size: min(max(2vw, 1.3em), 2em);
    font-weight: 500;
    line-height: 1;
}

.ally h4 {
    color: var(--text-blue);
}

.head-gratitude {
    background-image: url('../assets/images/background/head_agradecimientos.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.head-gratitude h3 {
    padding: 4em 0;
}

.gratitude ul {
    list-style: none;
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.gratitude img {
    width: 250px;
}

.head-view {
    background-image: url('../assets/images/background/sonrisa_01.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 5em 1em;
}


.head-view h4 {
    font-size: min(max(2vw, 1.2em), 2em);
    line-height: 1;
    margin: 0;
    padding: 1.5em 0 0;
    color: var(--white);
}

.title-green span {
    color: var(--text-yellow);
}

.visual-impairment p {
    font-size: min(max(4vw, 1em), 1.8em);
    font-weight: 300;
}

.visual-impairment b {
    font-weight: 700;
}

.refractive-errors h4 {
    color: var(--text-green);
    font-size: min(max(2vw, 1.5em), 2em);
    font-weight: 500;
    line-height: 1;
    padding: 0.5em;
}

.p-gray p {
    color: var(--text-gray);
    font-size: min(max(2vw, 1.2em), 1.5em);
    font-weight: 300;
    line-height: normal;
}

.back-green {
    background: var(--back-green);
}

.back-red {
    background: var(--back-red);
}

.back-blue {
    background: var(--back-blue);
}

.title-white {
    color: var(--white);
    text-align: center;
    font-size: min(max(4vw, 2em), 3em);
    line-height: normal;
}

.title-green {
    color: var(--text-green);
    text-align: center;
    font-size: min(max(4vw, 2em), 3em);
}

.title-red {
    color: var(--text-red);
    text-align: center;
    font-size: min(max(4vw, 2em), 3em);
}

.title-blue {
    color: var(--text-blue);
    text-align: center;
    font-size: min(max(4vw, 2em), 3em);
}

.correct-prevention ul {
    list-style: none;
    padding: 0;
}

.p-white p {
    color: var(--white);
    font-size: min(max(2vw, 1.2em), 1.8em);
    font-weight: 300;
    line-height: normal;
    text-align: center;
}

.list-p {
    font-size: min(max(2vw, 1.2em), 1.4em) !important;
    padding-top: 1em;
}

b {
    font-weight: 600;
}

.text-yellow {
    color: var(--text-yellow) !important;
}

.title-gray {
    color: var(--text-gray) !important;
    text-align: center;
    font-size: min(max(4vw, 2em), 3em) !important;
    padding: 0.5em 0 0;
}

.talk-sight h4,
.collaborate h6 {
    font-size: min(max(2vw, 1.2em), 2em);
    line-height: 1;
    margin: 0;
    color: var(--text-green);
}

.talk-sight h5 {
    color: var(--text-green);
    font-size: min(max(2vw, 1.3em), 1.8em);
    margin: 0;
}

.talk-sight p {
    color: var(--text-gray);
    font-size: min(max(1vw, 0.7em), 0.9em);
    font-weight: 500;
}

.talk-sight img {
    width: 50%;
}

.sub-gray {
    color: var(--text-gray);
    font-size: min(max(2vw, 1.2em), 1.5em);
    font-weight: 300;
    line-height: 1;
}


.subtitle-white {
    font-size: min(max(2vw, 1.2em), 2em);
    line-height: 1;
    margin: 0;
    color: var(--white);
    text-align: center;
}

.school ul {
    list-style: none;
    padding: 0;
}

.school li {
    padding: 0.5em 1em;
}

.title-yellow {
    font-size: min(max(4vw, 2em), 3em);
    line-height: 1;
    margin: 0;
    color: var(--text-yellow);
}

.collaborate b {
    font-weight: 600;
}

.contact-container {
    background-image: url('../assets/images/background/lentes-contactanos.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 7em 0;
}

.adress {
    padding: 10% 1em;
}

.adress {
    color: var(--contact-gray);
    font-size: min(max(2vw, 1.2em), 1.2em);
    font-weight: 300;
    text-align: center;
}

.text-red {
    color: var(--button-red);
}

.adress h4 {
    font-size: min(max(2vw, 1.2em), 2em);
}

.header-know-us {
    background-image: url('../assets/images/background/conocenos_1.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 7em 0;
}

.white-subLight {
    color: var(--white);
    font-size: min(max(2vw, 1.2em), 1.8em);
    font-weight: 300;
    line-height: normal;
    text-align: center;
}

.head-program {
    background-image: url('../assets/images/background/FotoBann.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 5em 1em;
}

.cards-cont-program ul,
.cards-cont-benefited ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    padding: 0;
}

.cards-cont-program li,
.cards-cont-benefited li {
    width: 400px;
}

.cards-cont-program img,
.cards-cont-benefited img {
    width: 100%;
}

.card-program {
    background: var(--card-program);
    color: var(--cardText-gray);
    text-align: start;
    padding: 1em;
}

.card-program h3 {
    font-size: min(max(1vw, 1em), 1.125em);
    padding-bottom: 1em;
}

.card-program p {
    font-size: min(max(1vw, 0.9em), 1em);
    font-weight: 300;
}

.card-benefited {
    background: var(--card-program);
    color: var(--cardText-gray);
    text-align: start;
    padding: 1em;
}

.card-benefited h3 {
    font-size: min(max(1vw, 1em), 1.125em);
    padding-bottom: 1em;
}

.card-benefited p {
    font-size: min(max(1vw, 0.9em), 1em);
    color: #333;
    font-weight: 300;
}

.h1-legal {
    font-size: 1em;
    color: var(--contact-gray);
    font-weight: 700;
}

.hr-legal {
    width: 100%;

}

.content-legal {
    width: 70%;
    padding: 3em 1em;
}

.content-legal h2 {
    font-size: 1.2em;
    font-weight: 700;
    padding: 1em 0 0.3em;
}

.content-legal p {
    font-weight: 300;
}

.pdf-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--cardText-gray);
    gap: 2em;
}

.head-transparency {
    background: linear-gradient(180deg, rgba(255, 70, 93, 1) 70%, rgba(63, 151, 249, 1) 70%);
    display: flex;
    justify-content: center;
    padding: 3em 0;
}

.head-transparency img {
    width: 60%;
}

footer {
    color: var(--white);
    width: 100%;
}

.footer-red {
    display: flex;
    justify-content: center;
    background: var(--red-footer) !important;
    font-size: 23px;
    font-weight: 600;
    padding: 0.5em;
}

.footer-gray {
    display: flex;
    justify-content: center;
    background: var(--footer-gray);
    font-size: 23px;
    font-weight: 600;
    padding: 0.5em;
    color: var(--text-red);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--footer-legal);
    text-align: center;
    padding: 1em;
}

.footer-legal a {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.privacity {
    display: flex;
    align-items: center;
    gap: 1em;
}

.privacity span {
    font-size: 26px;
}

iframe {
    width: 100%;
    height: 60vh;
}

/* Gallery */

.head-nota2024 {
    background-image: url('../assets/images/background/pleca_nota24.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 5em 1em;
}

.gallery-container {
    display: flex;
    align-items: center;
}
.main-image {
    max-width: 90%;
    height: auto;
    max-height: 700px;
    border-radius: 24px;
    transition: opacity 0.3s ease-in-out;
}
.thumbnail {
    cursor: pointer;
    width: 165px;
    height: 135px;
    transition: transform 0.3s ease;
    border: 1px solid gray;
    object-fit: cover;
    object-position: center;
}

.thumbnail.top {
    object-position: top !important;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.see-more {
    border-radius: 10em;
    padding: 0.2em 1em;
    font-size: min(max(1vw, 0.8em), 1em);
    text-decoration: none;
    background: var(--button-green);
    color: var(--white);
}

@media screen and (max-width: 1200px) {
    .shape-container {
        width: 75%;
    }

    .refractive-errors img {
        width: 30%;
    }

    .dropdown-menu {
        margin: 0 -6em;
    }
}

@media screen and (max-width: 1199px) {
    iframe {
        width: 100%;
        height: 42vh;
    }

    .thumbnail {
        width: 125px;
        height: 105px;
    }
}

@media screen and (max-width: 991px) {
    .shape-container {
        width: 85%;
    }

    .navbar-nav {
        align-items: start;
    }

    .refractive-errors img {
        width: 30%;
    }

    .dropdown-menu {
        margin: 0em;
    }

    .modal-dialog {
        max-width: 100% !important;
    }

    .navbar-nav {
        align-items: start;
    }
}

@media screen and (max-width: 767px) {
    .privacity {
        gap: 0.3em;
    }

    .footer-red {
        font-size: 20px;
    }

    .nav-link {
        font-size: calc(0.7em + 1vw);
    }

    .navbar-collapse {
        padding: 0.5em;
    }

    .best-world a {
        margin: 0;
    }

    .shape-container {
        text-align: center;
    }

    .content-terminos {
        width: 90%;
        padding: 3em 0.5em;
    }

    .transparency img {
        width: 300px;
    }

    .transparency li {
        padding: 1em 0;
    }

    .head-transparency {
        padding: 1.3em 0;
    }

    .head-transparency img {
        width: 90%;
    }

    .year-img img {
        width: 280px;
    }

    .cards-cont-benefited li {
        width: 300px;
    }

    .cards-cont-benefited ul {
        display: flex;
        flex-direction: column;
    }

}

@media screen and (max-width: 575px) {
    h1 {
        font-size: min(max(6vw, 2em), 10em);
    }

    .thumbnail {
        width: 85px;
        height: 65px;
    }
}

@media screen and (max-width: 525px) {
    .refractive-errors img {
        width: 40%;
    }
}

@media screen and (max-width: 375px) {
    .transparency img {
        width: 260px;
    }

    .year-img img {
        width: 240px;
    }

    .cards-cont-benefited li {
        width: 260px;
    }

    .thumbnail {
        width: 75px;
        height: 55px;
    }
}

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

    .thumbnail {
        width: 65px;
        height: 45px;
    }
}

/*new section fund mvs telecom*/

.back-fund-mvs {
    background-image: url(/assets/images/background/back-mvs.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-color: #3C2163;
}

.pad-fundTelecom {
    padding: 7em 0;
}
.link-telecom {
    color: #F29D3C;
    text-decoration: none;
    font-weight: 600;
}

.telecom-logo {
    max-width: 350px;
}

.title-Telecom {
    color: var(--white);
    font-size: min(max(2.8vw, 1.8em), 3em);
    line-height: normal;
}

.subtitle-Telecom {
    font-size: min(max(1.9vw, 1.5em), 2.5em);
    line-height: 1.2;
    margin: 0;
    color: var(--white);
}

@media (max-width: 1200px) {
    .telecom-logo {
        max-width: 250px;
    }
}

@media (max-width: 375px) {
    .telecom-logo {
        max-width: 200px;
    }
    .title-Telecom {
        font-size: min(max(2.8vw, 1.5em), 3em);
    }
    .subtitle-Telecom {
        font-size: min(max(2.2vw, 1.2em), 2.5em);
    }
}

@media (max-width: 350px) {
    .title-Telecom {
        font-size: min(max(2.8vw, 1.3em), 3em);
    }
    .subtitle-Telecom {
        font-size: min(max(2.2vw, 1.1em), 2.5em);
    }
}