
    body {
        font-family: 'Montserrat', sans-serif;
        background: #000000;
        color: white;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .container {
        width: 80%;
        max-width: 1200px;
        background: #1a1a1a; 
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
        margin: 20px auto; 
    }
header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(50, 50, 50, 0.5)),
                url('../assets/fondo-header.jpeg') center/cover no-repeat;
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
}
h1 {
    color: #FFD700;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}
header h2 {
    color: #FFD700;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

h2 {
    color: #FFD700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}
nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-bottom: 30px;
    border-radius: 5px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: gold;
}
section {
    padding: 40px;
    text-align: center;
    margin-top: 20px;
    margin-left: 50px;
    margin-right: 50px;
    padding: 10px;
    border-radius: 5px;
}
.proyecto {
    background-color: #222;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 400px;
}
.proyecto h3 {
    color: #FFD700;
}
.btn-container {
    margin-top: 20px;
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap; 
}

button {
    background: whitesmoke;
    color: black;    border: none;
    font-family: 'Montserrat', sans-serif;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    width: 200px;
    height: 60px; 
    transition: background 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center; 
}
.btn-container button.activo {
    background-color: #ccc;
    color: black;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}


button:hover {
    background: #d3d3d2; 
}

.info {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}
.info h3 {
    color: gold;
    margin-bottom: 10px;
}

.info h4 {
    color: white;
    margin-top: 15px;
}

.info p {
    line-height: 1.6;
    color: white;
}
.proyectos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    color: white;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.05);

    /* NUEVO */
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    
    height: 320px;
    box-sizing: border-box;
}

.card h3 {
    color: gold;
    margin-bottom: 10px;
}

.card p {
    flex-grow: 1; 
}

.card button {
    margin-top: 15px;
    width: 100%;
}

.detalle-proyecto {
    display: none;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ccc;
    text-align: left;
}
.detalle-overlay {
    display: none;
    position: relative;
    background-color: #222;
    border: 1px solid #444;
    padding: 30px;
    margin-top: 20px;
    color: white;
    border-radius: 10px;
    animation: fadeIn 0.3s ease;
}

.detalle-overlay h3 {
    color: gold;
    margin-top: 0;
}

.detalle-overlay .cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.pdf-viewer {
    margin-top: 20px;
    border: 1px solid #555;
    border-radius: 5px;
    overflow: hidden;
}

.lista-tecnica {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.lista-tecnica li {
    background-color: #2b2b2b;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 5px;
    color: #f0f0f0;
    border-left: 4px solid gold;
    transition: background 0.3s ease;
}

.lista-tecnica li:hover {
    background-color: #3a3a3a;
}
lista-formacion {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.lista-formacion li {
    background-color: #2b2b2b;
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 5px;
    color: #f0f0f0;
    border-left: 4px solid gold;
    line-height: 1.6;
    transition: background 0.3s ease;
}

.lista-formacion li:hover {
    background-color: #3a3a3a;
}

.lista-formacion a {
    color: gold;
    text-decoration: none;
    font-weight: bold;
}

.lista-formacion a:hover {
    text-decoration: underline;
}
.btn-container i {
    margin-right: 8px;
}
.ubicacion {
    color: gold;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
    letter-spacing: 1px;
}
.detalle-overlay h4 {
    margin-top: 1.5rem;
    color: gold;
}

.detalle-overlay ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    list-style-type: square;
}

.detalle-overlay li {
    margin-bottom: 0.5rem;
    color: #ddd;
}

.demo-link {
    display: inline-block;
    margin-top: 0.5rem;
    background: gold;
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.demo-link:hover {
    background: darkgoldenrod;
}
.detalle-overlay ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.detalle-overlay li {
    margin-bottom: 0.5rem;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#contacto {
    text-align: center;
    padding: 40px 20px;
    color: white;
}

#contacto h2 {
    font-size: 2em;
    color: gold;
}

.contacto-enlaces {
    margin-top: 20px;
}

.contacto-enlaces a {
    font-size: 2.5em;
    margin: 0 15px;
    text-decoration: none;
    transition: transform 0.2s;
}

.contacto-enlaces a:hover {
    transform: scale(1.2);
}
.social-icon {
    color: white; 
    font-size: 2rem; 
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: gold;
}
a {
  text-decoration: none;
  color: inherit;
}
.mini-socials {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.mini-socials a i {
    font-size: 1.3rem;
    color: white;
    transition: color 0.3s ease;
}

.mini-socials a i:hover {
    color: gold;
}