* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.container {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    /* background-color: bisque; */
}

.section-title {
    color: rgb(30, 30, 110) !important;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

header {
    width: 100%;
    height: 600px;
    background: #1FA2FF;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(145, 100%, 83%, 0.6), hsla(189, 96%, 53%, 0.6), hsla(205, 100%, 56%, 0.6)), url(../assets/img/network-4894813_1920.jpg);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(204, 8%, 76%, 0.7), hsl(210, 29%, 0.6%)), url(../assets/img/conect/conect-3.jpg);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-size: 100% 600px;
    background-attachment: fixed;
    position: relative;

}

.navbar {
    text-align: right;
    /* padding: 30px 50px 0 0; */
}

.navbar-brand {
    text-align: left;
    width: 40%;
}

.navbar-brand>img {
    width: 35%;

}

.nav-link {
    color: #ffffff;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}

.nav-link:hover {
    color: rgb(99, 252, 89);
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    border: none;
}

.banner {
    text-align: center;
    margin-top: 40px;
}

.banner>p {
    text-align: center;
}

.card {
    /* background-color: #d6e4ee; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 150px;
}

.card-title {
    text-align: center;
    color: #1FA2FF;
}

.card-text {
    text-align: center;
    font-weight: 200px;
}

/* .contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-evenly;
    margin-top: 50px;
    padding: 20px;
} */

.acerca-nosotros {
    height: 550px;
}

.contenedor-sobre-nosotros {
   width: 100%;
   margin: 0;
   padding: 0;
   height: 320px;
   display: flex;
   justify-content: center;
   text-align: center;
}
.global>img {
    width: 60%;
    height: 320px;
}


.carousel-caption{
    /* background: linear-gradient(to right, hsla(204, 8%, 76%, 0.7), hsl(210, 29%, 0.6%)); */
    margin: 0;
    padding: 0;
    position: absolute;
    top: 40%;
}
.carousel-caption > h5{
    color: #1DB954 !important;
}
/* .carousel-item{
    background: linear-gradient(to right, hsla(204, 8%, 76%, 0.7), hsl(210, 29%, 0.6%));
} */
/* .slider-box ul{
    display: flex;
    padding: 0;
    width: 100%;
    animation:  slide 20s infinite alternate ease-in-out;
}

.slide-box li{
    width: 100%;
    list-style: none;
    position: relative;
} */

.carousel-inner{
    display: flex;
    padding: 10px 0 10px 20%;
    overflow: hidden;
    transition:all 2s ease-in-out;
}
@media(max-width: 768px){
    .carousel-item{
        font-size: 10px;
    }

}

.valores-port {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 325px;
    gap: 3px;
    padding: 2px;
    background-color: aliceblue;
    box-shadow: 0 0 6px 0 rgb(0, 0, 0, .9, );
}

.img-port {
    width: auto;
    height: auto;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgb(0, 0, 0, .5, );

}

.img-port>img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-size: cover;

}

.hover-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(231, 66%, 30%, 0.8);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1px;

}

.hover-img p {
    color: aliceblue;
}

.hover-img h5 {
    color: rgb(99, 252, 89);
}

.img-port:hover .hover-img {
    transform: scale(1);
}

.portafolio {
    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
}

.areas-cont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 10px;
}

.port-areas {
    box-shadow: 0 0 6px 0 rgb(0, 0, 0, .5, );
    border-radius: 5px;
}

.port-areas>img {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.port-areas>p {
    width: 100%;
    text-align: justify;
    padding: 25px;
    height: 200px;
    border-start-end-radius: 10px;
}

.img-acerca {
    width: 100%;
    height: 300px;
}

.vision>h4,
p {
    padding: 10px;
    margin-top: 20px;
    text-align: justify;
}

.img-areas {
    background: transparent 9;
    border-radius: 5px;
    height: 300px;
}

.contenedor-car {
    height: 250px;
    background-color: #34495e;
    margin: 0 20px 0 20px;
    border-radius: 4px;
}

.card-img-top {
    height: 200px;

}

.area-text {
    color: #cde2f9;
    margin: 3px;
}


.di {
    background-color: #34495e;
    height: 200px;
}

.wave2 {
    position: absolute;
    width: 100%;
}

.about-section {
    width: 100%;
    height: 600px;
    background: #1FA2FF;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(145, 100%, 83%, 0.6), hsla(189, 96%, 53%, 0.6), hsla(205, 100%, 56%, 0.6)), url(../assets/img/network-4894813_1920.jpg);
    /* Chrome 10-25, Safari 5.1-6 */
    background: url(../assets/img/conect/conect-1.jpg);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-size: 100% 800px;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.container-about {
    padding-top: 200px;
}

.contenedor-elementospie {
    width: 90%;
    margin-bottom: 0 !important;
    padding-bottom: 0;

}

.seccion1-piepagina {
    margin-bottom: 0;
    padding-bottom: 0;
}

.seccion1-piepagina>p {
    margin: 0;
    padding: 0;
    background-color: blue;
    color: aliceblue;
}

.cont-correos>p {
    padding: 0 0 0 30%;
    margin: 0;
}

.contenedor-redes-sociales>a {
    text-decoration: none;
}

.fab {
    font-size: 2em;
    list-style: none;
    margin: 10px 0 10px 5px;
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.5);
}

.fa-instagram:hover {
    color: #D43089;
}

.fa-youtube:hover {
    color: #FF0000;
}

.fa-facebook-f:hover {
    color: #1877f2
}

.fa-twitter:hover {
    color: #1DA1F2
}

.fa-tiktok:hover {
    color: #25F4EE
}

.fa-spotify:hover {
    color: #1DB954
}

.form-floating {
    margin: 10px 30px 10px 30px;
}

.container-form {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom-right-radius: 60px;
    border-bottom-left-radius: 60px;
    height: 430px;
    /* background: linear-gradient(to right, #2193b0, #6dd5ed);  */
    /* background: linear-gradient(to right, #0f2027, #203a43, #2c5364);  */
    /* background: linear-gradient(to right, #3c3b3f, #605c3c); */
    background-color: #0093E9;
    background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);

}

.btn-enviar:hover{
    background-color: #f8ab6b;
    color: #1DA1F2;
}
.btn-grad {
    background-image: linear-gradient(to right, #603813 0%, #b29f94 51%, #603813 100%);
}

.btn-grad {
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

.btn-grad:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.seccion3-piepagina>p {
    text-align: center;
}

/* Botón de desplazamiento hacia arriba */
#scrollUpBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 20%;
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

#scrollUpBtn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
    /* Efecto de agrandar al pasar el ratón */
}

#scrollUpBtn i {
    font-size: 22px;
    /* Tamaño del ícono */
    transition: transform 0.2s;
}

/* Diseño adaptivo para dispositivos móviles */
@media (max-width: 768px) {
    #scrollUpBtn {
        padding: 12px;
        font-size: 18px;
    }

    #scrollUpBtn i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    #scrollUpBtn {
        padding: 10px;
        font-size: 16px;
    }

    #scrollUpBtn i {
        font-size: 18px;
    }
}

/* redes sociales */

/* Estilo general para la barra lateral */
.barra-social {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.barra-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.barra-social li {
    margin: 10px 0;
}

.barra-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #0d6efd;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.barra-social a:hover {
    background-color: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Estilo de iconos */
.barra-social a i {
    vertical-align: middle;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 992px) {
    .barra-social {
        display: none;
    }
}

/* .values-section {
    background-color: #1FA2FF;
} */
@media (max-width: 768px){
    .navbar-brand{
        width: 70%;
    }
    .navbar-toggler-icon{
        color: #cde2f9;
    }
    .valores-port {
        display: grid;
        grid-template-columns: 1fr 1fr ;
        grid-auto-rows: 325px;
        gap: 3px;
        padding: 2px;
        background-color: aliceblue;
        box-shadow: 0 0 6px 0 rgb(0, 0, 0, .9, );
    }
    .img-port{
        text-align: center;
        margin-bottom: 3px;
    }
    .hover-img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        transform: scale(1);
        background: hsla(231, 66%, 30%, 0.8);
        transition: transform .5s;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 1px;
    
    }
    .card-text{
        font-size: 14px;
    }
    .sobrenosotros-img{
      display: none;

    }
    .img-acerca{
        display: none;
    }
    .areas-cont {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 10px;
    }
    .about-text{
        font-size: 14px !important;
    }
    .seccion1-piepagina{
       display: block;
       justify-content: center;
       align-content: center;
    }
    .contenedor-elementospie{
        width: 100%;
    }
    .cont-correos>p {
        text-align: center;
        padding: 0 0 0 0%;
        margin: 0;
    }
    .carousel-caption{
        /* background: linear-gradient(to right, hsla(204, 8%, 76%, 0.7), hsl(210, 29%, 0.6%)); */
        margin: 0;
        padding: 0;
        position: absolute;
        top: 30%;
    }
    .carousel-caption p{
        text-align: center;
    }

}
@media (max-width: 500px){
    .cont-correos p{
        text-align: center;
        padding: 0 0 0 0;
        margin: 0;
    }
    .carousel-item{
        font-size: 6px;
    }
    .carousel-caption{
        /* background: linear-gradient(to right, hsla(204, 8%, 76%, 0.7), hsl(210, 29%, 0.6%)); */
        margin: 0;
        padding: 0;
        position: absolute;
        top: 20px;
    }
    .carousel-caption p{
        text-align: center;
    }

}
/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
  }
  
  body {
    animation: fadeIn 1s ease-in-out;
  }