@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400&display=swap');

nav, body, footer, html {
    background-color: #eceeee;
}

h1, h2, h3, h4, h5, h6, ol, li, b {
    font-family: 'Alexandria', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
    color: #56565d;
}

h1 {
    font-size: 3.4375rem; /* 55px */
}

h2 {
    font-size: 3.125rem; /* 50px */
}

p, span, ul, a, i, button, input, label, select, textarea, table, th, td {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    color: #9d9da3;
    font-size: 1.2rem;
}


nav.navbar img.logo {
    height: 20px;
}

.navbar-light .navbar-nav .nav-link { 
    color: #56565d; /* Color del texto */
}

.access-buttons {
    padding-top: 50px;
    width: 60%;
    margin: auto;
    text-align: center;
    padding-bottom: 70px;
    padding-top: 20px;
}

.access-buttons .buttons {
    margin-top: 10px;
}

.access-buttons .buttons .btn {
    padding: 8px;
    padding-left: 35px;
    padding-right: 35px;
    margin: 15px;
    color: #9d9da3;
    background-color: #f9eee7;
    border-radius: 50px;
    background: linear-gradient(90deg, #b3cf4a, #e6a934);
    color: white;
}

.transparent {
    background-color: rgba(39, 39, 39, 0.64) !important;
}

.red {
    background-color: #dd3333 !important;
    transition: 0.2s;
}

.tr-red {
    background-color: rgba(233, 102, 86, 0.78) !important;
    transition: 0.2s;
}

.orange {
    background-color: #e96656 !important;
    transition: 0.2s;
}


.quote-card-wrapper {
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
}

.quote-card {
    background-color: white;
    border-radius: 5px;
    padding: 25px;
    padding-bottom: 105px;
}

.quote-card .body {
    color: #909090;
}

.icon-container-contacto {
    margin: auto;
    width: 10vw;      
    height: auto;      
    display: flex;     
    justify-content: center;
    align-items: center;
}

.icon-container-contacto img {
  max-width: 100%;  
  max-height: 100%; 
  height: auto;     
  width: auto;      
}

footer {
    position: relative !important;
    margin-top: 15vh;
    width: 100%;
    text-align: center;
}

.quote-card .footer span {
    float: left;
    padding-top: 40px;
    color: gray;
    font-style: italic;
    font-size: 1.2em;
}

.quote-card .footer i {
    float: left;
    padding: 10px; 
    padding-top: 45px;
    color: #e96656;
}

.quote-card .footer img {
    float: right;
    right: 0px;
    width: 80px;
    height: 80px;
}

.round-img {
    border-radius: 50%;
}

.contact-button {
    text-align: center;
}

.contact-button a {
    text-decoration: none;
    display: block;
}

.contact-button i {
    display: block;
    padding-bottom: 16px;
}

.contact-button span {
    color: #939393;
    display: block;
    transition: 0.2s;
}

.contact-button a:hover span {
    color: white;
}

.copyright {
    background-color: black;
    padding: 30px;
}

.copyright ul {
    padding: 0px;
    list-style: none;
    text-align: center;
}

.copyright li {
    display: inline;
}

.copyright a {
    color: #939393;
    margin-left: 3px;
    margin-right: 3px;
}

.copyright a:hover {
    color: white;
}

.copyright p {
    color: #939393;
    width: 100%;
    text-align: center;
}

.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section .btn {
    background-color: gray;
    color: white;
    padding: 10px;
    display: block;
    width: 200px;
    margin: 0 auto;
}

.white-text {
    color: white;
    font-family: 'Montserrat', Helvetica, sans-serif;
    text-align: center;
}

.black-text {
    color: #404040;
    font-family: 'Montserrat', Helvetica, sans-serif;
    text-align: center;
}

.underline {
    border-bottom: solid 2px #e96656;
}

table {
    width: 100%;
    border-top: 1px solid rgba(0,0,0,.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

table tr {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

td {
    padding-top: 5px;
    padding-bottom: 5px;
}

td.left {
    text-align: left;
}

td.right {
    text-align: right;
}

td.top {
    vertical-align: top;
}

.section {
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    flex-direction: column; /* Coloca el contenido en columna */
    width: 100%; /* Ocupa el 100% del ancho de la página */
    padding: 20px; /* Espacio interno */
    background-color: #ffffff; /* Fondo blanco para cada sección */
    border-bottom: 1px solid #ddd; /* Línea divisoria entre secciones */
}

.flex-item {
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: space-between; /* Espacio entre imagen y texto */
    width: 100%; /* Ocupa el 100% del ancho de la sección */
    margin: 20px 0; /* Espacio entre secciones */
}

.section-image {
    max-width: 40%; /* Controla el tamaño de la imagen */
    max-height: 750px; /* Controla el tamaño de la imagen */
    height: auto; /* Mantiene la relación de aspecto */
    border-radius: 10px; /* Bordes redondeados para las imágenes */
}

.section-text {
    padding: 0px 20px;
    color: #333; /* Color del texto */
    max-width: 50%; /* Controla el ancho del texto */
    text-align: center;
}

.section-text h1{
    padding-bottom: 25px;
}

/* Estado inicial: oculto */
.fade-in-left, .fade-in-right, .fade-in-up {
    opacity: 0;
    transform: translateX(0);
    animation: none; /* Evita que la animación se ejecute antes de tiempo */
}


 /* Animaciones personalizadas usando keyframes */
 @keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/** IMG LATERAL */
.img-logo {
    position: fixed; /* Mantiene el logo siempre visible */
    bottom: 20px; /* Lo coloca en la parte inferior */
    left: 20px; /* Lo coloca en la parte izquierda */
    width: 150px; /* Tamaño reducido */
    height: 150px;
    z-index: 100; /* Se asegura de que esté por encima del contenido */
    transition: all 0.3s ease-in-out;
    background: transparent; /* Elimina el fondo blanco */
}

.img-logo img {
    width: 100%; /* Se ajusta al tamaño del contenedor */
    height: auto;
}

/** NUESTRA HISTORIA **/
.timeline-section {
    text-align: center;
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(15, 56, 55, 0.7), rgba(15, 56, 55, 0.7)), 
                url('img/imagenEdificio.jpg');
    background-size: cover;
    background-position: center;
}

.timeline-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.timeline {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}

.timeline p{
    color: #f9eee7;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 2px;
    background-color: #f9eee7;
    z-index: 0;
}


/* 📌 Ajustamos bien los cuadros de texto para que no interfieran */
.timeline-item {
    position: relative;
    width: 25%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*  Los cuadros de texto superiores deben quedar arriba */
.timeline-item.top {
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 350px; /* Asegura espacio entre el texto y la línea */
}

/* Los cuadros de texto inferiores deben quedar abajo */
.timeline-item.bottom {
    align-items: center;
    justify-content: flex-start;
    padding-top: 350px; /* Asegura espacio entre el texto y la línea */
}

.timeline-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    max-width: 250px;
    text-align: center;
    z-index: 1;
}

.timeline-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2E4F45; /* Color oscuro verdoso */
    color: #ffffff; /* Texto blanco */
    font-size: 1.2rem;
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: 8px; /* Bordes redondeados como en la imagen */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}



/** COBERTURAS */
.coverage-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color: #0F3837;
}

.coverage-container {
    background-color: #0a1c1c;
    border-radius: 12px;
    padding: 40px;
    max-width: 900px;
    text-align: center;
    color: #F9EEE7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.coverage-title {
    font-weight: 700;
    color: #f9eee7;
    margin-bottom: 20px;
}

.coverage-description {
    color: #F9EEE7;
    margin-bottom: 30px;
}

.coverage-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.coverage-item {
    text-align: center;
}

.coverage-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.coverage-subtitle {
    font-weight: 600;
    margin-top: -5px;
}

.coverage-text {
    opacity: 0.8;
}

.coverage-details {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.detail-item {
    max-width: 40%;
    text-align: center;
}

.detail-icon {
    width: 80px;
    margin-bottom: 10px;
}


.detail-title {
    font-weight: 800;
}

.detail-text {
    font-weight: 400;
    color: #F9EEE7;
}


/** EQUIPOO */
.team-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background: linear-gradient(rgba(15, 56, 55, 0.7), rgba(15, 56, 55, 0.7));
    background-size: cover;
    background-position: center;
}

.team-container {
    background-color: rgba(16, 60, 58, 0.9); /* Fondo semi-transparente */
    border-radius: 12px;
    padding: 40px;
    max-width: 1000px;
    text-align: center;
    color: #F9EEE7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.team-title {
    font-weight: 700;
    color: #f9eee7;
    margin-bottom: 20px;
}

.team-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.team-item {
    text-align: center;
    max-width: 30%;
}

.team-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.team-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: -5px;
}

.team-text {
    opacity: 0.8;
    color: #f9eee7;
}

.team-description {
    font-size: 1rem;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/** Tecnología Propia e Innovadora */
.tech-section {
    text-align: center;
    padding: 50px 0;
    background-color: #0F3837;
}

.tech-title {
    font-weight: 700;
    margin-bottom: 20px;
}

/* 📌 Estilos de las flechas numeradas */
.tech-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-step {
    background-color: rgba(57, 99, 94, 0.8);
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 5px;
    position: relative;
    min-width: 350px;
    text-align: center;
}

/* 📌 Agregamos las puntas de flecha */
.tech-step::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 20px solid rgba(57, 99, 94, 0.8);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

/* 📌 Ocultamos la flecha en el último elemento */
.tech-step:last-child::after {
    display: none;
}

/* 📌 Estilos del grid con los textos */
.tech-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 20px;
    width: 70% !important;
    margin: auto;
}

.tech-item {
    max-width: 300px;
    text-align: center;
}

.tech-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgb(255, 217, 190);
}

.tech-text {
    color: #F9EEE7;
    opacity: 0.9;
}

/* 📌 Estilo del texto final */
.tech-description {
    color: #F9EEE7;
    margin-top: 15px;
    opacity: 0.9;
}

/** MARKETING */
.marketing-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background: linear-gradient(rgba(15, 56, 55, 0.7), rgba(15, 56, 55, 0.7));
    background-size: cover;
    background-position: center;
}

.marketing-container {
    background-color: rgba(16, 60, 58, 0.9);
    border-radius: 12px;
    padding: 40px;
    max-width: 1000px;
    text-align: center;
    color: #F9EEE7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.marketing-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f9eee7;
    margin-bottom: 20px;
}

/* 📌 Estilos de los tres textos */
.marketing-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.marketing-item {
    max-width: 30%;
    text-align: center;
}

.marketing-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(255, 217, 190);
    margin-bottom: 10px;
}

.marketing-text {
    color: #F9EEE7;
    opacity: 0.9;
}

/* 📌 Diseño del gráfico semicircular */
.marketing-graphic {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-top: 20px;
}

.graphic-item {
    width: 130px;
    height: 130px;
    background-color: rgba(47, 75, 72, 1);
    border-radius: 50% 50% 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.graphic-item img {
    width: 40px;
    height: auto;
}

.center {
    transform: scale(1.1);
}


/** NUESTORS SOCIOS */
.partners-section {
    text-align: center;
    padding: 60px 0;
    background-color: #0F3837;
}

.partners-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f9eee7;
    margin-bottom: 30px;
}

/* 📌 Estilos del grid con los números */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
}

.partners-item {
    max-width: 300px;
    text-align: center;
}

.partners-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    display: block;
    margin-bottom: 10px;
}

.partners-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: rgb(255, 217, 190);
}
@keyframes countUp {
    from {
        content: "0";
    }
    to {
        content: attr(data-count);
    }
}

.partners-number {
    animation: countUp 2s ease-in-out forwards;
}
.partners-text {
    color: #F9EEE7;
    opacity: 0.9;
}

/* 📌 Estilo del texto final */
.partners-description {
    font-size: 1rem;
    color: #F9EEE7;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}


.circulos {
    display: flex;
    gap: 10px;          /* separación entre círculos */
    align-items: center;
}
.circulo {
    width: 30px;        /* tamaño */
    height: 30px;
    border-radius: 50%; /* hace que sea círculo */
    display: inline-block;
}

.verde    { background-color: #b3cf4a; } /* verde claro */
.gris     { background-color: #9d9da3; } /* gris */
.amarillo { background-color: #e6a934; } /* amarillo mostaza */



.contact-section {
    text-align: center;
    padding: 50px 0;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #9d9da3;
    margin-bottom: 20px;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: stretch; /* fuerza a todos los hijos a igual altura */
    gap: 20px;
    margin-bottom: 20px;
}

.contact-item {
    background-color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-align: left;
    min-width: 250px;
    flex: 1;              /* todos ocupan el mismo ancho */
    display: flex;        /* para controlar el contenido interno */
    flex-direction: column;
    justify-content: center; /* centra verticalmente el contenido */
}


.contact-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #56565d;
}

.contact-info {
    font-size: 1rem;
    color: #56565d;
}

.contact-description {
    font-size: 1rem;
    color: #9d9da3;
    margin-top: 15px;
    opacity: 0.9;
}
.icon-container {
    width: 50px;
    height: 50px;
    margin: 10px auto;
}


/* Estilos generales para pantallas pequeñas */
@media (max-width:800px) {
    body, html {
        font-size: 14px; /* Reduce el tamaño del texto */
    }

    /* Ajusta los encabezados */
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 25px;
    }
    footer{
        position: relative !important;
        transform: none;
        text-align: center;
        left: 0;
    }
    footer p{
        font-size: 12px;
    }
    /* Menú de navegación móvil */
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
  

    /* Ajusta las secciones */
    .section {
        padding: 20px;
    }

    /* 📌 **BOTONES** */
    .access-buttons {
        width: 90%;
        padding-bottom: 50px;
    }
    .access-buttons p{
       margin-top: 20px;
    }
    .access-buttons .buttons .btn {
        width: 90%;
        font-size: 15px;
    }

  
    /* 📌 **NUESTROS SOCIOS** */
    .partners-grid {
        flex-direction: column;
        align-items: center;
    }

    .partners-item {
        max-width: 100%;
        text-align: center;
    }

    /* 📌 **CONTACTO** */
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 90%;
        text-align: center;
    }

    /* 📌 **FOOTER** */
    .copyright {
        padding: 20px;
        text-align: center;
    }

    .copyright ul {
        flex-direction: column;
        padding: 0;
    }

    .copyright li {
        display: block;
        margin-bottom: 10px;
    }

    .copyright p {
        font-size: 14px;
    }

    .img-logo {
        width: 80px;
        height: 80px;
        bottom: 10px;
        left: 10px;
    }

   
}

/* 🔹 Menú hamburguesa SOLO en móviles */
.onlyMobileMenu {
    display: none;
}

@media (max-width: 800px) {
    .container{
        padding-top: 9vh;
    }
    .onlyMobileMenu{
        min-height: 100vh;
        padding-top: 20vh;
        font-size: 1.6rem;   
        padding-top: 8vh;
    }

    .onlyMobileMenu a{
        font-size: 1.6rem;   
    }
    td{
        font-size: 12px;
    }
    .navbar-toggler {
        display: block !important;
        background: none;
        border: none;
        font-size: 30px;
        color: #9d9da3;
        cursor: pointer;
        position: absolute;
        right: 20px;
    }

    .navbar-collapse {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: rgba(15, 56, 55, 0.95);
        text-align: center;
        padding: 10px 0;
    }

    .navbar-collapse.active {
        display: flex;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    #hamburger-btn {
        color: #4a4a4b;
    }
    .dropdown-item{
        font-size: 15px !important;
    }
  
}

@media (min-width: 576px) {
    .onlyMobileMenu {
        min-height: none !important;
        padding-top: 5vh;
        overflow: auto;
        height: 100%;
    }
}