/* Fonts */
@font-face {
    font-family: "Adam";
    src: url("../fonts/ADAM-MEDIUM.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/MONTSERRAT-MEDIUM.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --body-font: "Adam", sans-serif;
    --heading-font: "Montserrat", Georgia, serif;
    --secondary-font: "Montserrat", serif;
}

body {
    font-family: var(--body-font);
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--heading-font);
}

a,
.a,
p,
.p {
    font-family: var(--body-font);
}

/* navbar */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav .nav-link {
    padding: 10px 15px;
    font-family: var(--body-font);
    font-size: 20px;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #2a5caa;
}

.navbar-nav .nav-link:focus {
    font-weight: bolder;
}

.navbar-brand {
    margin-left: 100px;
}

#navbarNavDropdown {
    margin-right: 100px;
}

.navbar-nav .active {
    color: #4473c1;
}

@media (max-width: 600px) {
    #navbarNavDropdown {
        margin-right: 0;
    }

    .navbar-brand {
        margin-left: 0px;
    }

    .navbar-nav {
        margin-top: 1.5rem !important;
    }
}

/* slider */
.slider {
    position: relative;
    background-color: #f5f5f5;
    padding-bottom: 20px;
}

.titleCarousel {
    font-size: 46px;
    font-weight: bolder;
}

.carousel-item {
    min-height: 100vh;
}

.carousel-item .backgroundSlide {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

@media (max-width: 600px) {
    .titleCarousel {
        font-size: 30px;
    }

    .textCarousel {
        font-size: 1rem;
    }

    .carousel-item .imgMuestra {
        width: 222px;
        height: 200px;
    }

    #pantallaInteractivaImg {
        width: 240px;
        height: 160px;
    }
}

/* Lineas */
.services {
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
}

.services h2 {
    color: #4473c1;
    font-size: 50px;
    margin-bottom: 20px;
}

.services .row {
    margin-top: 30px;
    row-gap: 40px;
    /* Espacio entre filas */
}

.services .card {
    background-color: #d7d7d7;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Distribuye el contenido */
    height: 100%;
}

.services .card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.25);
    background-color: #f0eeee;
}

.services .card h5 {
    color: #4473c1;
    font-weight: bold;
}

.services img {
    width: 270px;
    height: 190px;
    display: block;
    /* Hace que la imagen se comporte como un bloque */
    margin: 0 auto;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 800px) {
    .services img{
        width: 200px;
        height: 160px;
    }
    .services h2 {
        color: #4473c1;
        font-size: 40px;
        margin-bottom: 20px;
    }
  }

/* Contacto */
.contact {
    background-image: url('../images/imgFooter2.png');
    /* Reemplaza con la URL de tu imagen */
    background-size: cover;
    /* Para cubrir toda la sección */
    background-position: center;
    /* Centrar la imagen */
    background-repeat: no-repeat;
    /* Evitar que la imagen se repita */
    color: white;
    /* Ajustar el color del texto para que sea legible */
    padding: 50px;
    /* Espaciado interno para que el contenido no quede pegado */
    text-align: center;
    /* Centrar texto */
}

.contact h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact a {
    display: inline-block;
    text-decoration: none;
    background-color: #ffffff;
    color: #2a5caa;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.contact a:hover {
    background-color: #eaeaea;
}

.columna-izquierda {
    align-items: center !important;
    text-align: center !important;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #4473c1;
}

footer p {
    margin: 0;
    color: #131245;
}

footer a {
    color: #131245;
}

.pageName {
    font-weight: 900;
}

/* Estilos para pantallas pequeñas (móviles en orientación horizontal) */
@media only screen and (max-width: 990px) and (orientation: landscape) {
    .services img{
        width: 180px;
        height: 140px;
    }

    /* Estilos base para la sección de contacto */
  .contact p {
    margin-bottom: 20px;
  }
  
  /* Centrar los elementos en la columna derecha */
  .columna-derecha {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    text-align: center;
  }
  
  /* Espacio entre los elementos */
  .columna-derecha .d-flex {
    margin-bottom: 10px;
  }

  .columna-izquierda {
    align-items: start !important; /* Alinea al inicio */
    text-align: left !important;  /* Alinea el texto a la izquierda */
}
}