/* Asegura que todo el contenido del cuerpo ocupe todo el viewport */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;

}

/* Contenedor del video de fondo */
.video-background {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Estilos del navbar */
.navbar {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 20px;
    overflow: hidden;
}

.logo {
    padding-left: 5%;
}

.logo img {
    max-height: 120px;
}

.d-flex {
    padding-right: 5%;
}

.btn {
    width: 276px;
}

/* Estilos para la sección de servicios */
.services-navbar {
    position: relative;
    padding: 80px 50px;
    text-align: left;
    color: white;
    overflow: hidden;
}

.subtitle-container {
    position: relative;
    z-index: 2;
}

.title-container {
    position: absolute;
    top: 0;
    right: 50px;
    z-index: 1;
    opacity: 0.1;
    font-size: 220px;
    line-height: 0.9;
    letter-spacing: -5px;
}

.subtitle {
    font-size: 48px;
    font-weight: bold;
    color: #aaaaaa;
    line-height: 1.2;
}

.title {
    font-size: 220px;
    font-weight: 900;
    letter-spacing: -10px;
    color: white;
}

.bg {
    background-color: black;
    overflow: hidden;
    position: relative;
}

.container-testimonios{
    background-color: black;
    overflow: hidden;
    position: relative;
    padding-top: 1%;
}


.content-below {
    display: flex;
    animation: move 20s linear infinite;
    width: calc(100% * 2);
    padding: 1%;
}

.content-below div {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

.content-below div img {
    width: 80%;
}

@keyframes move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ESTILOS DE LA SECCIÓN DE SERVICIOS  */

.services-section {
    padding-top: 0px;
    color: white;
    position: relative;
    bottom: 320px;
}

/* Estilos generales para pantallas grandes */
.services-subtitle {
    font-size: 90px;
    font-weight: 700;
    color: #a0a0a0;
    position: absolute;
    z-index: 100;
    top: 510px;
    left: 4%;
}

.services-title {
    font-size: 200px;
    font-weight: 900;
    letter-spacing: -2px;
    position: absolute;
    z-index: 100;
    opacity: 0.1;
    top: 140px;
    left: 30%;
    -webkit-text-stroke: 3px rgb(255, 255, 255);
    color: transparent;
}

/* Ajustes para móviles y pantallas pequeñas */
@media (max-width: 768px) {
    .services-section {
        padding-top: 20%; /* Añade espacio en la superior */
        color: white;
        text-align: center; /* Alinea el texto al centro */
    }

    .services-title {
        font-size: 40px; /* Reduce el tamaño del título */
        -webkit-text-stroke: 1px rgb(255, 255, 255); /* Ajusta el grosor del trazo */
        opacity: 1;
        color: white; /* Asegura que el texto sea visible */
        margin-left: -10%;
        margin-top: 0%;
    }

    .services-subtitle {
        font-size: 24px; /* Reduce el tamaño del subtítulo */
        color: #a0a0a0;
        margin-top: 20%;
}
}

.carousel {
    padding-bottom: 100px;
}

/* Estilos para las tarjetas */
.card {
    background-color: black;
    border: 2px solid white;
    height: auto; /* Asegura que todas las tarjetas tengan el mismo tamaño */
    display: flex;
    flex-direction: column; /* Alinea los elementos en columna */
    justify-content: space-between; /* Espacio equitativo entre los elementos */
    padding: 20px;
    min-height: 450px; /* Asegura un tamaño mínimo uniforme */
    min-width: 400px;
}

.card-img-top {
    object-fit: contain;
    width: 100px; /* Ajuste del ancho del icono */
    height: 100px; /* Ajuste de la altura del icono */
    padding-top: 20px;
    margin: 0 auto; /* Centra el icono */
}

.card-body {
    display: flex;
    flex-direction: column; /* Alinea el contenido en columna */
    justify-content: space-between;
    text-align: left;
    flex-grow: 1;
}

/* Botón personalizado */
.btn-outline-custom {
    color: white;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    width: 70%;
    margin: 10px auto;
}

.btn-outline-custom:hover {
    background-color: white;
    color: black;
}

.card-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 10px;
}

.card-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Centrado del icono */
.icon-adjust {
    max-height: 100px;
    width: auto;
    display: block;
    margin: 0 auto; /* Centra los íconos */
}

/* Ajustes de padding para el subtítulo y título */
.services-subtitle {
    font-size: 90px;
    font-weight: 700;
    color: #a0a0a0;
    position: relative;
    z-index: 100;
    margin-bottom: 20px;
}

.services-title {
    font-size: 200px;
    font-weight: 900;
    letter-spacing: -2px;
    position: relative;
    z-index: 100;
    opacity: 0.1;
    margin-bottom: 50px;
    -webkit-text-stroke: 3px rgb(255, 255, 255);
    color: transparent;
}

/* Botones de navegación del carrusel */
.carousel-control-prev, 
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    /* Oculta los controles del carrusel en móviles */
    .carousel-control-prev, 
    .carousel-control-next {
        display: none;
    }

    .btn-outline-custom {
        font-size: 0.5rem; /* Ajusta el tamaño de la fuente del botón en móviles */
        padding: 8px 16px; /* Reduce el padding del botón en móviles */
        width: 90%; /* Aumenta el ancho del botón al 90% en móviles */
    }

    /* Hace que las tarjetas ocupen todo el ancho de la pantalla */
    .col-md-3 {
        min-width: 100%;
        margin-bottom: 20px;
    }

    /* Ajusta el tamaño mínimo de las tarjetas en móviles */
    .card {
        min-height: 300px;
    }

    /* Ajustes del subtítulo y título para pantallas pequeñas */
    .services-subtitle {
        font-size: 40px;
        top: 250px;
        left: 5%;
    }

    .services-title {
        font-size: 80px;
        top: 100px;
        left: 5%;
        -webkit-text-stroke: 2px rgb(255, 255, 255);
    }

    /* Ajustes adicionales para tarjetas en móviles */
    .card-img-top {
        width: 80px;
        height: 80px;
        margin: 0 auto; /* Centra el icono para móviles */
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-text {
        font-size: 1rem;
    }
}




/* FIN DE SECCIÓN DE SERVICIOS  */


/* ESTILOS DE OPINIONES  */

.testimonios-section {
    padding-top: 0px;  /* Ajuste del padding para reducir el espacio */
    color: white;
    position: relative;
    bottom: 390px;
    
}

.testimonios-title {
    font-size: 200px;
    font-weight: 900;
    letter-spacing: -2px;
    position: absolute;
    z-index: 100;
    opacity: 0.1;
    top: 240px;
    left: 20%;
    -webkit-text-stroke: 3px rgb(255, 255, 255);
    color: transparent; 
}

.testimonios-subtitle {
    font-size: 90px;
    font-weight: 700;
    color: #a0a0a0;
    position: absolute;
    z-index: 100;
    top: 400px;
    left: 5%;
}

.custom-carousel {
    padding-top: 250px;
    padding-bottom: 100px;
}

.testimonial-card {
    background-color: black;
    border: 2px solid white;
    padding: 20px;
    min-height: 350px; /* Ajuste la altura según sea necesario */
    border-radius: 10px; /* Bordes redondeados */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
}

.testimonial-service {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 0;
}

.testimonial-service-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-top: 15px;
}



/* Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
    /* Ajuste del padding de la sección de testimonios */
    .testimonios-section {
        padding-top: 20px;
    }

     /* Título responsivo */
    .testimonios-title {
        font-size: 60px; /* Tamaño más pequeño para pantallas móviles */
        -webkit-text-stroke: 1px rgb(255, 255, 255) !important; /* Mantiene el grosor en pantallas pequeñas */
        margin-bottom: 10px; /* Ajuste del margen inferior */
    }

    .testimonios-subtitle {
        font-size: 30px; /* Tamaño más pequeño para pantallas móviles */
        margin-top: 10px;
        margin-bottom: 15px; /* Espacio adicional para separación del contenido */
    }

    /* Ajustes de la tarjeta de testimonios para móviles */
    .testimonial-card {
        min-height: 250px;
        padding: 15px;
    }

    .testimonial-name {
        font-size: 1rem;
    }

    .testimonial-service-title {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.8rem;
    }
}
.project-section{
    background-color: black;
    padding: 6%;
    
}

.proyectos-header {
    display: flex;
    position: relative;
    text-align: center;
    margin-top: 5%;
    color: white;
    background-color: black; /* Fondo negro para simular el diseño */
    margin-left: 5%;
}

.background-text {
    font-size: 10vw; /* Ajusta el tamaño según necesites */
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Para que esté detrás del texto principal */
    white-space: nowrap; /* Evita que el texto se corte en varias líneas */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.342); /* Define el color y grosor del borde */
    color: transparent; /* Hace el relleno de la letra transparente */
    letter-spacing: 1rem;
    margin-left: 5%;
}

.foreground-text {
    font-size: 3.5vw;
    position: absolute;
    justify-content: left;
    align-items: center;
    color: rgba(255, 255, 255, 0.445);
    top: 60%;
    letter-spacing: 0.3rem;
    font-weight: 700;
}


strong {
    color: white; /* Color diferente para "Recientes" */
}

.project-body{
    background-color: rgb(0, 0, 0);
    width: 100%;
    display: flex;
    padding-bottom: 5%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-container{
    border: solid 1px rgb(250, 250, 250);
    border-radius: 10px;
    margin-top: 2%;
    display: grid;
    width: 90%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.project-text{
    grid-area: 1 / 1 / 2 / 2;
    padding: 5%;
}
.project-text h1{
    color: rgba(255, 255, 255, 0.726);
}

.project-text h5{
    color: rgba(255, 255, 255, 0.726);
    margin-top: 7%;
}
.project-img{
    grid-area: 1 / 2 / 2 / 3;
    padding: 5%;
}

.project-img img{
    width: 100%;
}

.us-body{
    background-color: black;
    display: flex;
    padding: 2%;
    justify-content: center;
    height: 70%;
   
}

.divider{
    height: 50px;
    background-color: black;
    display: flex;
    justify-content: center;
}

.line{
    border-bottom: 1px solid white;
    width: 80%;
}

.card-container{
    width: 20%;
    height: 50;
    margin: 0.5%;
    
}
.card-container h3{
    color: white;
    margin-top: 2%;
}
.card-container h5{
    color: white;
    font-weight: lighter;
    margin-top: 1%;
}
.bg-card{
    background: rgb(7,7,7);
    background: linear-gradient(180deg, rgba(7,7,7,1) 0%, rgba(150,150,150,1) 80%, rgba(14,14,14,1) 100%);
}

.bg-card img{
    width: 100%;
}

footer{
   
    background-color: black;
    padding: 2%;
    height:fit-content
}
    
.div1 { 
    grid-area: 1 / 1 / 2 / 2; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-footer{
    justify-content: center;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.div1 img{
    max-height: 200px;
}
.div2 { 
    grid-area: 1 / 2 / 2 / 3; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.div2 div{
    width: 50%;
}
.div3 { 
    grid-area: 1 / 3 / 2 / 4; 
    display: flex;
    flex-direction: column;
    align-items: center;
}


