/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fafafa;
    line-height: 1.6;
}

/* Estilos del encabezado */
header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5em;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5em 1em;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #007BFF;
    background-color: #f0f0f0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    height: 4px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.3s;
}

/* Estilos de la sección de contacto */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px); /* Toma en cuenta la altura del encabezado */
    padding: 3em 2em;
}

.contact iframe {
    width: 100%;
    height: 899px;
    border: none;
}

/* Estilos del pie de página */
footer {
    background-color: #007BFF;
    color: #fff;
    text-align: center;
    padding: 2em 0;
    margin-top: 3em;
}

footer p {
    margin: 0.5em 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #b3d7ff;
}

/* Estilos Responsivos */
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        gap: 1em;
        width: 100%;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}
