body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
}

header {
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    justify-content: flex-end;
}
.logo{
    color: black;
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

/* Botón de Iniciar Sesión */
.btn-login {
    background: linear-gradient(135deg, var(--dorado), var(--bronce));
    color: black !important;
    padding: 8px 18px;
    border-radius: 25px;
    transition: 1s;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--dorado), var(--bronce));
    color: white !important;
}

.hero {
    background: none;
    padding: 80px 20px;
    text-align: center;
    width: 35%;
    height: 83vh;

}
.gran-hero{
    flex-wrap: wrap;

}

.hero2{
    position: relative;
    overflow: hidden;
}
.back-video{
    height: 100vh;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 0;
}

.content-overlay {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.content-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.content-overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-login2 {
    text-decoration: none;
    color: white;
    background: #212121;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    border-radius: 25px;

}

.btn-login2:hover {
    transition: 1s;
    background: white;
    color: black;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 350px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Formulario de Login */
.modal-title {
    color: #1a2a3a;
    margin-bottom: 5px;
}

.login-form input {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.a-registro-ingreso{
    text-decoration: none;
    color: black;
}

.registerFields{
    display: none;
}

.btn-submit {
    background: #1a2a3a;
    color: white;
    border: none;
    width: 97%;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #2c3e50;
}

.forgot-pass {
    font-size: 12px;
    margin-top: 15px;
}

.forgot-pass a {
    color: #d4af37;
    text-decoration: none;
}

.proyectos-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    background: rgb(39 46 63);
    flex-wrap: wrap;
}

.proyecto-card {
    background: white;
    width: 350px;
    border-radius: 20px; 
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.proyecto-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.proyecto-info {
    padding: 25px;
}

.proyecto-info h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.proyecto-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-proyecto {
    display: inline-block;
    background-color: #0d1b2a;
    color: white;
    text-decoration: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-proyecto:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); 
    background-color: #1a2a3a;
}

.section-title {
    font-size: 2rem;
    margin: 2rem 0 1.5rem 0;
    border-left: 10px solid #272e3f;
    padding-left: 1rem;
    color: #000000;
        }
.info{
    background: white;
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0.5rem 3.5rem 2.5rem 3.5rem;
    border-radius: 3rem;

}

.h33{
    padding: 0px 0px 20px 0px;
}
        
footer {
background: linear-gradient(135deg, var(--dorado), var(--bronce));    color: #ffff;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer a {
    color: #F8D4D4;
    text-decoration: none;
}

footer a:hover {
    color: #FFE4E4;
}

.infotransparencia{
    margin: 0rem auto;
    display: flex;
    justify-content: center;
}
.btn-info {
    color: black;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid black;
    background: white;
    max-width: 1280px;
    margin: 2rem auto;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    border-radius: 3rem;

}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(4px); 
}

.popup-box {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 400px;
    margin: 15% auto;
    padding: 40px 50px 40px 50px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    text-align: center;
    animation: slideDown 0.4s ease;
}


@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: 0.3s;
}

.close-popup:hover {
    color: #d4af37; 
}

.popup-content h3 {
    color: #1a2a3a;
    margin-top: 0;
}

.popup-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

























:root{
    --azul-deep: #0F172A;
    --azul-medium: #1E293B;
    --dorado: #C29D78;
    --bronce: #A98467;
    --plata: #E2E8F0;
    --blanco: #FFFFFF;
    --sombra-premium: 0 20px 40px rgba(0, 0, 0, 0.1);
}