body {
    font-family: Arial, sans-serif;
    cursor: url('imagenes/isotipo.png'), auto;
}

.nav-cursor {
    width: 20px;
    height: 20px;
}

.header {
    background-color: #000000;
    padding: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav-brand img {
    width: 200px;
    /* Ajusta el ancho según tus necesidades */
    height: auto;
    /* Mantiene la proporción de la imagen */
    max-height: 100px;
    /* Ajusta la altura máxima según tus necesidades */
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin-right: 20px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 200px;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.search-form {
    display: flex;
    margin-right: 15px;
}

.search-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.search-button {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.user-icon {
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.user-popup {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 250px;
}

.user-icon:hover .user-popup {
    display: block;
}

.user-popup p {
    margin: 0 0 10px;
}

.user-popup button {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.user-popup button.iniciar {
    background-color: #000;
    color: white;
}

.user-popup button.registrate {
    background-color: white;
    color: #000;
    border: 1px solid #000;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    display: flex;
    width: 100%;
    animation: slide 10s infinite;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}


@keyframes slide {
    0% {
        transform: translateX(0%);
    }

    20% {
        transform: translateX(0%);
    }

    25% {
        transform: translateX(-100%);
    }

    45% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-200%);
    }

    70% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-300%);
    }

    95% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* Estilos para la sección de Proyectos en Proceso */
.featured-projects {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.featured-projects h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #333;
}

.projects-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 300px;
    flex: 1;
}

.project-card img {
    width: 100%;
    height: auto;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.25em;
    margin-bottom: 10px;
    color: #333;
}

.project-content p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.project-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

/* Estilos para la sección de Empleos */
.job-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.job-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    flex-direction: row;
    gap: 20px;
}

.job-content {
    padding: 20px;
    flex: 1;
}

.job-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.job-content p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.job-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    border: 1px solid #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

.job-link:hover {
    background-color: #007bff;
    color: white;
}

.job-card img {
    width: 300px;
    height: auto;
    border-radius: 0 8px 8px 0;
}

/* Estilos para la sección de Historia con Propósito */
.purpose-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.purpose-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    flex-direction: row-reverse;
    gap: 20px;
}

.purpose-content {
    padding: 20px;
    flex: 1;
}

.purpose-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.purpose-content p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.purpose-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    border: 1px solid #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

.purpose-link:hover {
    background-color: #007bff;
    color: white;
}

.purpose-card img {
    width: 300px;
    height: auto;
    border-radius: 8px 0 0 8px;
}

/* Sección de Productos */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f0f0;
}

h1 {
    text-align: center;
    color: #333;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.grid-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(151, 70, 70, 0.1);
}

.grid-item img {
    max-width: 100%;
    height: auto;
}

/* Footer */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px 20px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 30px;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    margin-right: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-social a {
    margin-left: 15px;
}

.footer-social img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.scroll-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.scroll-top img {
    width: 20px;
    height: 20px;
}

/* Media queries */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    /* Estilos generales */
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 10px;
    }

    /* Header y navegación */
    .header {
        padding: 0;        /* Eliminar padding */
        margin: 0;        /* Eliminar margen */
    }

    .nav-brand {
        margin-left: auto; /* Esto empuja el logo hacia la derecha */
    }

    .nav-brandv {
        margin-left: auto; /* Esto empuja el logo hacia la derecha */
    }

    .nav {
        flex-direction: flex;
        justify-content: space-between;
        align-items: left;
    }

    .nav-brand img {
        width: 150px;
        max-height: 70px;
    }

    .nav-brandv img {
        width: 30px;
        max-height: 30px;
    }

    .nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
    }

    .nav-item {
        position: relative;
        margin-right: 20px;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
       box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        padding: 10px;
        z-index: 1;
    }

    .dropdown-item {
        display: block;
        color: black;
        padding: 8px 16px;
        text-decoration: none;
    }
     
    .nav-item:hover .dropdown-menu {
        display: block; /* Mostrar el menú desplegable al pasar el mouse */
    }
    
    .nav-link.dropdown-toggle {
        cursor: pointer;
    }

    /* Carrusel */
    .carousel {
        margin-top: 0;
    }

    /* Proyectos en Proceso */
    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        margin-bottom: 20px;
        align-items: center;
    }

    /* Sección de Empleo y Propósito */
    .job-card,
    .purpose-card {
        width: 80%;
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .job-card img,
    .purpose-card img {
        width: 100%;
        height: auto;
        border-radius: 8px 8px 0 0;
    }

    /* Sección de Productos */
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-sections {
        flex-direction: column;
    }

    .footer-section {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
        align-items: center;
    }

}